I get this error when I run 'pip3 install pyhash'
return (__m64)__builtin_ia32_paddd((__v2si)__m1, (__v2si)__m2);
^ ~~~~~~~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
error: command '/usr/bin/clang' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> pyhash
What can I do to fix this. I have spent many hours trying to figure this out and it always leads me to this same error.
Related
I have spent 6 hours trying to get fastcdsa to install successfully with no luck. I'm not a linux person but it'ts better for programming so I'm trying to switch from Windows. I have tried several version support by Python 3.7 which is the version I'm using, I have tried every fix I could find with no luck.
Any help would be greatly appreciated. Thank you
$sudo pip3 install --use-pep517 fastecdsa==2.2.2
Collecting fastecdsa==2.2.2
Using cached fastecdsa-2.2.2.tar.gz (48 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: -11
╰─> [11 lines of output]
running dist_info
creating /tmp/pip-modern-metadata-83zjk2ye/fastecdsa.egg-info
writing /tmp/pip-modern-metadata-83zjk2ye/fastecdsa.egg-info/PKG-INFO
writing dependency_links to /tmp/pip-modern-metadata-83zjk2ye/fastecdsa.egg-info/dependency_links.txt
writing top-level names to /tmp/pip-modern-metadata-83zjk2ye/fastecdsa.egg-info/top_level.txt
writing manifest file '/tmp/pip-modern-metadata-83zjk2ye/fastecdsa.egg-info/SOURCES.txt'
reading manifest file '/tmp/pip-modern-metadata-83zjk2ye/fastecdsa.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file '/tmp/pip-modern-metadata-83zjk2ye/fastecdsa.egg-info/SOURCES.txt'
creating '/tmp/pip-modern-metadata-83zjk2ye/fastecdsa-2.2.2.dist-info'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Also, verify that have installed the following dependencies: fastecdsa installation.
I've tried this on Intel and ARM and both times it fails. I'm using a program, that needs to use 2.10.0. The 3.1.0 version works fine. I've played around with different dependencies and dead stuck.
Cam anyone help me figure out how to get this on either Mac?
Here is the error at the end:
#warning "Using deprecated NumPy API, disable it with " \
^
In file included from /private/var/folders/0m/8fmd9y8509v4xdcglsxv5rg40000gn/T/pip-install-0sjv5knz/h5py_75305355e2ca4b928d9fd980a5e2af77/h5py/defs.c:790:
./h5py/api_compat.h:27:10: fatal error: 'hdf5.h' file not found
#include "hdf5.h"
^~~~~~~~
1 warning and 1 error generated.
error: command '/usr/bin/clang' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
WARNING: No metadata found in /Users/p/.virtualenvs/pzdemo-fawkes/lib/python3.8/site-packages
Rolling back uninstall of h5py
Moving to /Users/p/.virtualenvs/pzdemo-fawkes/lib/python3.8/site-packages/h5py-3.8.0.dist-info/
from /Users/p/.virtualenvs/pzdemo-fawkes/lib/python3.8/site-packages/~5py-3.8.0.dist-info
Moving to /Users/p/.virtualenvs/pzdemo-fawkes/lib/python3.8/site-packages/h5py/
from /Users/p/.virtualenvs/pzdemo-fawkes/lib/python3.8/site-packages/~5py
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> h5py```
>pip install AutoItLibrary
Collecting AutoItLibrary
Using cached AutoItLibrary-1.1.post1.zip (482 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [7 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\samrins\AppData\Local\Temp\pip-install-zeihf1a8\autoitlibrary_e6935c1fdc7a414a8f3694d5f9101d89\setup.py", line 57
print "Don't think we need to unregister the old one..."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
WARNING: There was an error checking the latest version of pip.
You're not installing the correct library. AutoItLibrary is an old one, not updated since 2010 following this page https://code.google.com/archive/p/robotframework-autoitlibrary/
The one you should used is the library robotframework-autoitlibrary as referenced on https://robotframework.org/#resources
This is the error I receive while installing packages from a file using pip install -r req.txt
Then it tried building wheels for collected packages: blis; cytoolz; murmurhash; preshed; regex, and I got a long error list.
typedef __uint32_t __darwin_useconds_t; /* [???] microseconds */
^
note: '__uint128_t' declared here
In file included from Python3/_regex.c:46:
In file included from /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8/Python.h:25:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:64:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_stdio.h:71:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_types.h:43:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
typedef __uint32_t __darwin_wctype_t;
^
note: '__uint128_t' declared here
In file included from Python3/_regex.c:46:
In file included from /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8/Python.h:25:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:64:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_stdio.h:75:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types/_va_list.h:31:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/machine/types.h:37:2: error: architecture not supported
#error architecture not supported
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
error: command 'xcrun' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for regex```
Is something wrong with MacOS side because it is giving me bizarre errors.
Any leads appreciated.
I was attempting to compile pytorch using NO_CUDA=1 python setup.py install on Mac OS X, but I got these errors:
In file included from /Users/ezyang/Dev/pytorch-tmp/torch/lib/tmp_install/include/THPP/Tensor.hpp:3:
/Users/ezyang/Dev/pytorch-tmp/torch/lib/tmp_install/include/THPP/Storage.hpp:6:10: fatal error:
'cstdint' file not found
#include <cstdint>
^
1 error generated.
In file included from torch/csrc/autograd/functions/init.cpp:2:
In file included from torch/csrc/autograd/functions/batch_normalization.h:4:
In file included from /Users/ezyang/Dev/pytorch-tmp/torch/lib/tmp_install/include/THPP/THPP.h:4:
/Users/ezyang/Dev/pytorch-tmp/torch/lib/tmp_install/include/THPP/Storage.hpp:6:10: fatal error:
'cstdint' file not found
#include <cstdint>
^
1 error generated.
1 error generated.
1 error generated.
1 error generated.
In file included from torch/csrc/autograd/python_hook.cpp:5:
In file included from /Users/ezyang/Dev/pytorch-tmp/torch/csrc/THP.h:32:
/Users/ezyang/Dev/pytorch-tmp/torch/csrc/utils.h:6:10: fatal error:
'type_traits' file not found
#include <type_traits>
^
13 errors generated.
1 error generated.
1 error generated.
error: command 'gcc' failed with exit status 1
You need to setup environment variables to have Python use the correct C compiler on OS X. You should do this instead:
NO_CUDA=1 MACOSX_DEPLOYMENT_TARGET=10.9 CC=clang CXX=clang++ python setup.py install