PyKerberos on MacOS - failure to install
See original GitHub issueThere is an issue with pip installing PyKerberos on MacOS. The ARCH has to be set during the install or it fails. MacOS is no longer just “x86_64” and this is showing up in some libraries as the M1 processor is coming into play. I hacked around it for my installation with the following command after brew installing the base OS libraries.
% ARCHFLAGS="-arch x86_64" pip3 install aws-adfs --user
Just in case someone hits this I figured I throw it out there. It would be nice to have an option to not have krb used on Mac.
If someone has a better solution, please pile on.
Issue Analytics
- State:
- Created 2 years ago
- Comments:17
Top Results From Across the Web
Unable to install Pykerberos on Macos due to clang command ...
This worked for me in macos 10.14 to get pykerberos to install in base python38. ARCHFLAGS="-arch x86_64" pip3 install pykerberos.
Read more >Unable to install Pykerberos on Macos due to clang command ...
Coding example for the question Unable to install Pykerberos on Macos due to clang command failure-C.
Read more >Install py37-pykerberos on macOS with MacPorts
To install py37-pykerberos, paste this in macOS terminal after installing MacPorts. sudo port install py37-pykerberos. Copy. More instructions
Read more >pykerberos - PyPI
pykerberos 1.2.4. pip install pykerberos. Copy PIP instructions. Latest version. Released: Mar 8, 2022. High-level interface to Kerberos ...
Read more >Installing GWpy — GWpy 0.1 documentation
The recommended way to install GWpy on Mac OS X is to install the dependencies via ... sudo port install py27-ipython nds2-client kerberos5...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Both my colleague and I are on Intel-based MacBook Pro 2019 machines. I assumed the arch issue was related to the non-Intel processor coming but we don’t have them. That was why I mentioned the M1.
The Python 3.8.2 from brew fixed the requests-gssapi install using the /usr/local/bin/pip3 install method. Did not resolve the pykerberos 1.2.1 but did allow the kerberos 1.3.1 package to install.
So there is something going on with python versions along with pip.