Skip to content

pip install error #11

Open
Open
@azhao25

Description

@azhao25

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.```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions