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

pip install error #11

Open
azhao25 opened this issue Aug 19, 2022 · 0 comments
Open

pip install error #11

azhao25 opened this issue Aug 19, 2022 · 0 comments

Comments

@azhao25
Copy link

azhao25 commented Aug 19, 2022

I tried pip installing in a conda environment using /opt/miniconda3/envs/TFDB/bin/pip install clustalo and received the following output:

Collecting clustalo
  Using cached clustalo-0.1.2.tar.gz (3.6 kB)
  Preparing metadata (setup.py) ... done
Building wheels for collected packages: clustalo
  Building wheel for clustalo (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [9 lines of output]
      running bdist_wheel
      running build
      running build_ext
      building 'clustalo' extension
      creating build
      creating build/temp.macosx-11.1-arm64-3.10
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/miniconda3/envs/TFDB/include -arch arm64 -fPIC -O2 -isystem /opt/miniconda3/envs/TFDB/include -arch arm64 -I/usr/include/clustalo -I/usr/local/include/clustalo -I/opt/miniconda3/envs/TFDB/include/python3.10 -c clustalo.c -o build/temp.macosx-11.1-arm64-3.10/clustalo.o -fopenmp
      clang: error: unsupported option '-fopenmp'
      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: Failed building wheel for clustalo
  Running setup.py clean for clustalo
Failed to build clustalo
Installing collected packages: clustalo
  Running setup.py install for clustalo ... error
  error: subprocess-exited-with-error

  × Running setup.py install for clustalo did not run successfully.
  │ exit code: 1
  ╰─> [11 lines of output]
      running install
      /opt/miniconda3/envs/TFDB/lib/python3.10/site-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_ext
      building 'clustalo' extension
      creating build
      creating build/temp.macosx-11.1-arm64-3.10
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/miniconda3/envs/TFDB/include -arch arm64 -fPIC -O2 -isystem /opt/miniconda3/envs/TFDB/include -arch arm64 -I/usr/include/clustalo -I/usr/local/include/clustalo -I/opt/miniconda3/envs/TFDB/include/python3.10 -c clustalo.c -o build/temp.macosx-11.1-arm64-3.10/clustalo.o -fopenmp
      clang: error: unsupported option '-fopenmp'
      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.
╰─> clustalo

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.```
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

1 participant