Skip to content
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

Unable to install japronto on Mac M1 #185

Open
eshafik opened this issue Feb 22, 2022 · 3 comments
Open

Unable to install japronto on Mac M1 #185

eshafik opened this issue Feb 22, 2022 · 3 comments

Comments

@eshafik
Copy link

eshafik commented Feb 22, 2022

I have tried this way - python3 setup.py install

Error Message:
/Library/Developer/CommandLineTools/usr/lib/clang/13.0.0/include/cpuid.h:14:2: error: this header is for x86 only #error this header is for x86 only ^ /Library/Developer/CommandLineTools/usr/lib/clang/13.0.0/include/cpuid.h:286:5: error: invalid output constraint '=a' in asm __cpuid(__leaf, __eax, __ebx, __ecx, __edx); ^ /Library/Developer/CommandLineTools/usr/lib/clang/13.0.0/include/cpuid.h:251:11: note: expanded from macro '__cpuid' : "=a"(__eax), "=r" (__ebx), "=c"(__ecx), "=d"(__edx) \ ^ /Library/Developer/CommandLineTools/usr/lib/clang/13.0.0/include/cpuid.h:301:5: error: invalid output constraint '=a' in asm __cpuid(__leaf, *__eax, *__ebx, *__ecx, *__edx); ^ /Library/Developer/CommandLineTools/usr/lib/clang/13.0.0/include/cpuid.h:251:11: note: expanded from macro '__cpuid' : "=a"(__eax), "=r" (__ebx), "=c"(__ecx), "=d"(__edx) \ ^ /Library/Developer/CommandLineTools/usr/lib/clang/13.0.0/include/cpuid.h:315:5: error: invalid output constraint '=a' in asm __cpuid_count(__leaf, __subleaf, *__eax, *__ebx, *__ecx, *__edx); ^ /Library/Developer/CommandLineTools/usr/lib/clang/13.0.0/include/cpuid.h:258:11: note: expanded from macro '__cpuid_count' : "=a"(__eax), "=r" (__ebx), "=c"(__ecx), "=d"(__edx) \ ^ 4 errors generated. error: command 'clang' failed with exit status 1

How can i fix this??

@cirospaciari
Copy link

cirospaciari commented Nov 5, 2022

I think that's no support for MacOS M1, the lack of development in years here is the reason I'm developing https://github.com/cirospaciari/socketify.py

Should work in M1 (I don't tested my self yet) but if you have some problem open one discussion or issue and I will fixed it for you

@eirnym
Copy link

eirnym commented Nov 5, 2022

Nice, I'll try it

@cirospaciari
Copy link

Nice, I'll try it

You can get some performance numbers and development progress here:
cirospaciari/socketify.py#10

Http and Https are fully supported, WebSockets started today and will be out soon. And Http3/Quic experimental support will come too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants