-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[macOS Apple Silicon] Installation fails due to compiler errors #1945
Comments
Mmm I don't understand. I can't see anything wrong with the code: Lines 508 to 514 in 6bdde37
Since I cannot reproduce it, if you're proficient with C, could you try downloading latest master version from GIT, try to build from sources and see if you can fix it?
|
It seems that the issue is specific to the build of Python installed by my company. Using |
See Specifically, this contains: #define IFM_1000_T 16 /* 1000baseT - 4 pair cat 5 */
#ifdef PRIVATE
#define IFM_1000_TX IFM_1000_T /* For compatibility */
#endif /* PRIVATE */ The challenge here is if Python is compiled against the case where Note there's nothing Apple Silicon specific here, it's simple a case of post-processed source ending up with: case(11):
case(14):
case(15):
case(16):
case(16):
return 1000; Checking whether |
Re-opening. Whoever can reproduce it, please provide a patch. |
Change the build.yml to add aarch64/arm64 builds Closes giampaolo#1782, closes giampaolo#1945, closes giampaolo#1954, closes giampaolo#1966, closes giampaolo#1972, closes giampaolo#2090 Signed-off-by: George Marshall <[email protected]>
Summary
Description
When attempting to install psutil on an Apple Silicon Mac mini running Big Sur, I encounter the following compiler error when building
psutil/_psutil_posix.c
The text was updated successfully, but these errors were encountered: