pip install failure: error: command 'gcc' failed with exit status 1 #3394
weiguowilliam
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
system: macos 10.15.7
python 3.6
use anaconda
I need to use pybullet==1.7.4. I use
pip install pybullet==1.7.4
to install it but failed.The error message is so long so I only show here some of them. Please let me know if you need more information.
I also tested with install latest version (3.0.8) and it succeeded.
Thank you in advance.
(the beginning)
Collecting pybullet==1.7.4
Using cached pybullet-1.7.4.tar.gz (16.1 MB)
Building wheels for collected packages: pybullet
Building wheel for pybullet (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /Users/weiguopro/opt/miniconda3/envs/pomdp/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/pg/6lgjs9b51rv1tsb52vvdlpzc0000gn/T/pip-install-spukil4k/pybullet_cf820fee0cd148198d2fb5b16c9ea750/setup.py'"'"'; file='"'"'/private/var/folders/pg/6lgjs9b51rv1tsb52vvdlpzc0000gn/T/pip-install-spukil4k/pybullet_cf820fee0cd148198d2fb5b16c9ea750/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/pg/6lgjs9b51rv1tsb52vvdlpzc0000gn/T/pip-wheel-ccekl8t3
cwd: /private/var/folders/pg/6lgjs9b51rv1tsb52vvdlpzc0000gn/T/pip-install-spukil4k/pybullet_cf820fee0cd148198d2fb5b16c9ea750/
Complete output (687 lines):
macosx-10.9-x86_64
numpy is enabled.
numpy_include_dirs = /Users/weiguopro/opt/miniconda3/envs/pomdp/lib/python3.6/site-packages/numpy/core/include
darwin!
found resource files: 205
.....
In file included from examples/TinyRenderer/TinyRenderer.cpp:1:
In file included from examples/TinyRenderer/TinyRenderer.h:6:
src/Bullet3Common/b3Vector3.h:297:7: error: argument value 10880 is outside the valid range [0, 255] [-Wargument-outside-range]
y = b3_splat_ps(y, 0x80);
^~~~~~~~~~~~~~~~~~~~
src/Bullet3Common/b3Vector3.h:46:32: note: expanded from macro 'b3_splat_ps'
#define b3_splat_ps( _a, _i ) b3_pshufd_ps((_a), B3_SHUFFLE(_i,_i,_i,_i) )
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/Bullet3Common/b3Vector3.h:44:35: note: expanded from macro 'b3_pshufd_ps'
#define b3_pshufd_ps( _a, _mask ) _mm_shuffle_ps((_a), (_a), (_mask) )
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/usr/lib/clang/11.0.0/include/xmmintrin.h:2608:11: note: expanded from macro '_mm_shuffle_ps'
(__m128)__builtin_ia32_shufps((__v4sf)(__m128)(a), (__v4sf)(__m128)(b),
^
1 error generated.
error: command 'gcc' failed with exit status 1
...
ERROR: Failed building wheel for pybullet
Running setup.py clean for pybullet
Failed to build pybullet
Installing collected packages: pybullet
Running setup.py install for pybullet ... error
ERROR: Command errored out with exit status 1:
command: /Users/weiguopro/opt/miniconda3/envs/pomdp/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/pg/6lgjs9b51rv1tsb52vvdlpzc0000gn/T/pip-install-spukil4k/pybullet_cf820fee0cd148198d2fb5b16c9ea750/setup.py'"'"'; file='"'"'/private/var/folders/pg/6lgjs9b51rv1tsb52vvdlpzc0000gn/T/pip-install-spukil4k/pybullet_cf820fee0cd148198d2fb5b16c9ea750/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/pg/6lgjs9b51rv1tsb52vvdlpzc0000gn/T/pip-record-jwa13yw9/install-record.txt --single-version-externally-managed --compile --install-headers /Users/weiguopro/opt/miniconda3/envs/pomdp/include/python3.6m/pybullet
cwd: /private/var/folders/pg/6lgjs9b51rv1tsb52vvdlpzc0000gn/T/pip-install-spukil4k/pybullet_cf820fee0cd148198d2fb5b16c9ea750/
Complete output (687 lines):
macosx-10.9-x86_64
numpy is enabled.
numpy_include_dirs = /Users/weiguopro/opt/miniconda3/envs/pomdp/lib/python3.6/site-packages/numpy/core/include
darwin!
found resource files: 205
....
(the end)
In file included from examples/TinyRenderer/TinyRenderer.cpp:1:
In file included from examples/TinyRenderer/TinyRenderer.h:6:
src/Bullet3Common/b3Vector3.h:297:7: error: argument value 10880 is outside the valid range [0, 255] [-Wargument-outside-range]
y = b3_splat_ps(y, 0x80);
^~~~~~~~~~~~~~~~~~~~
src/Bullet3Common/b3Vector3.h:46:32: note: expanded from macro 'b3_splat_ps'
#define b3_splat_ps( _a, _i ) b3_pshufd_ps((_a), B3_SHUFFLE(_i,_i,_i,_i) )
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/Bullet3Common/b3Vector3.h:44:35: note: expanded from macro 'b3_pshufd_ps'
#define b3_pshufd_ps( _a, _mask ) _mm_shuffle_ps((_a), (_a), (_mask) )
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/usr/lib/clang/11.0.0/include/xmmintrin.h:2608:11: note: expanded from macro '_mm_shuffle_ps'
(__m128)__builtin_ia32_shufps((__v4sf)(__m128)(a), (__v4sf)(__m128)(b),
^
1 error generated.
error: command 'gcc' failed with exit status 1
ERROR: Command errored out with exit status 1: /Users/weiguopro/opt/miniconda3/envs/pomdp/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/pg/6lgjs9b51rv1tsb52vvdlpzc0000gn/T/pip-install-spukil4k/pybullet_cf820fee0cd148198d2fb5b16c9ea750/setup.py'"'"'; file='"'"'/private/var/folders/pg/6lgjs9b51rv1tsb52vvdlpzc0000gn/T/pip-install-spukil4k/pybullet_cf820fee0cd148198d2fb5b16c9ea750/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/pg/6lgjs9b51rv1tsb52vvdlpzc0000gn/T/pip-record-jwa13yw9/install-record.txt --single-version-externally-managed --compile --install-headers /Users/weiguopro/opt/miniconda3/envs/pomdp/include/python3.6m/pybullet Check the logs for full command output.
Beta Was this translation helpful? Give feedback.
All reactions