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

Can not install bioembedings on ubuntu? Please help #231

Open
faruk17035 opened this issue Mar 21, 2023 · 1 comment
Open

Can not install bioembedings on ubuntu? Please help #231

faruk17035 opened this issue Mar 21, 2023 · 1 comment

Comments

@faruk17035
Copy link

  1644 | static void bli_obj_init_subpart_from( obj_t* a, obj_t* b )                                                                                                           |             ^~~~~~~~~~~~~~~~~~~~~~~~~                                                                                                                           error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1                                                                                                  [end of output]                                                                                                                                                                                                                                                                                                                             note: This error originates from a subprocess, and is likely not a problem with pip.                                                                                    ERROR: Failed building wheel for blis                                                                                                                                   Running setup.py clean for blis                                                                                                                                       Failed to build preshed thinc blis                                                                                                                                      Installing collected packages: wasabi, plac, cymem, wheel, tqdm, srsly, setuptools, preshed, numpy, murmurhash, Cython, blis, thinc                                       Running setup.py install for preshed: started                                                                                                                           Running setup.py install for preshed: finished with status 'error'                                                                                                      error: subprocess-exited-with-error                                                                                                                                                                                                                                                                                                             × Running setup.py install for preshed did not run successfully.                                                                                                        │ exit code: 1                                                                                                                                                          ╰─> [16 lines of output]                                                                                                                                                    /usr/lib/python3/dist-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.                                                                                                                                                             warnings.warn(                                                                                                                                                        /usr/lib/python3/dist-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning: 1.1build1 is an invalid version and will not be supported in a future release                                                                                                                                                                       warnings.warn(                                                                                                                                                        running install                                                                                                                                                         /usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.                                                                                                                                                                 warnings.warn(                                                                                                                                                        running build                                                                                                                                                           running build_py                                                                                                                                                        running build_ext                                                                                                                                                       building 'preshed.maps' extension                                                                                                                                       x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.10 -I/usr/include/python3.10 -c preshed/maps.cpp -o build/temp.linux-x86_64-3.10/preshed/maps.o -O3 -Wno-strict-prototypes -Wno-unused-function                                                                              cc1plus: warning: command-line option ‘-Wno-strict-prototypes’ is valid for C/ObjC but not for C++                                                                      cc1plus: fatal error: preshed/maps.cpp: No such file or directory                                                                                                       compilation terminated.                                                                                                                                                 error: command '/usr/bin/x86_64-linux-gnu-gcc' 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.                                                                                                                    ╰─> preshed                                                                                                                                                                                                                                                                                                                                     note: This is an issue with the package mentioned above, not pip.                                                                                                       hint: See above for output from the failure.                                                                                                                            [end of output]                                                                                                                                                                                                                                                                                                                             note: This error originates from a subprocess, and is likely not a problem with pip.                                                                                  error: subprocess-exited-with-error                                                                                                                                                                                                                                                                                                             × pip subprocess to install build dependencies did not run successfully.                                                                                                │ exit code: 1                                                                                                                                                          ╰─> See above for output.                                                                                                                                                                                                                                                                                                                       note: This error originates from a subprocess, and is likely not a problem with pip.
@FabioPfae
Copy link

FabioPfae commented Nov 29, 2023

What worked for me, is using an older python version 3.8 in a conda environment. It is important to use "conda deactivate" to deactivate the "base" environment before you create a new environment, this solved the following error for me:

/usr/lib/python3/dist-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.

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

2 participants