MPI-Dortmund / cryolo

cryolo documentation
8 stars 0 forks source link

Install Error with latest version #20

Open wsatbluesky opened 4 months ago

wsatbluesky commented 4 months ago

OS Version: Rocky Linux 8.9

Hi, when i use pip --default-timeout=1000 install 'cryolo[c11]' install latest cryolo,it gives error like below:

(cryolo) [root@localhost tmp]# pip --default-timeout=1000 install 'cryolo[c11]'
Collecting cryolo[c11]
  Downloading cryolo-1.9.9.tar.gz (208 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 208.8/208.8 kB 778.4 kB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Collecting mrcfile>=1.3.0 (from cryolo[c11])
  Downloading mrcfile-1.5.0-py2.py3-none-any.whl.metadata (6.9 kB)
Collecting Cython (from cryolo[c11])
  Downloading Cython-3.0.10-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.2 kB)
Collecting Keras==2.3.1 (from cryolo[c11])
  Downloading Keras-2.3.1-py2.py3-none-any.whl.metadata (2.2 kB)
Requirement already satisfied: numpy<1.19.0,>=1.16.0 in /opt/ohpc/pub/apps/miniconda3/envs/cryolo/lib/python3.8/site-packages (from cryolo[c11]) (1.18.5)
Collecting h5py<3.0.0,>=2.5.0 (from cryolo[c11])
  Downloading h5py-2.10.0-cp38-cp38-manylinux1_x86_64.whl.metadata (2.0 kB)
Collecting imageio<=2.15.0,>=2.3.0 (from cryolo[c11])
  Downloading imageio-2.15.0-py3-none-any.whl.metadata (4.1 kB)
Requirement already satisfied: Pillow>=6.0.0 in /opt/ohpc/pub/apps/miniconda3/envs/cryolo/lib/python3.8/site-packages (from cryolo[c11]) (9.4.0)
Collecting tifffile==2020.9.3 (from cryolo[c11])
  Downloading tifffile-2020.9.3-py3-none-any.whl.metadata (23 kB)
Collecting networkx (from cryolo[c11])
  Downloading networkx-3.1-py3-none-any.whl.metadata (5.3 kB)
Collecting scipy>=1.3.0 (from cryolo[c11])
  Downloading scipy-1.10.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (58 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.9/58.9 kB 2.3 MB/s eta 0:00:00
Collecting terminaltables (from cryolo[c11])
  Downloading terminaltables-3.1.10-py2.py3-none-any.whl.metadata (3.5 kB)
Collecting lineenhancer==1.0.9.dev2 (from cryolo[c11])
  Downloading lineenhancer-1.0.9.dev2.tar.gz (5.5 kB)
  Preparing metadata (setup.py) ... done
Collecting cryoloBM>=1.5.1 (from cryolo[c11])
  Downloading cryoloBM-1.6.1.tar.gz (361 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 361.9/361.9 kB 2.1 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Collecting ansi2html (from cryolo[c11])
  Downloading ansi2html-1.9.1-py3-none-any.whl.metadata (3.7 kB)
Collecting GooeyDev>=1.0.8b5 (from cryolo[c11])
  Downloading GooeyDev-1.0.8b5.tar.gz (561 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 561.3/561.3 kB 378.7 kB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Requirement already satisfied: wxPython>=4.1.0 in /opt/ohpc/pub/apps/miniconda3/envs/cryolo/lib/python3.8/site-packages (from cryolo[c11]) (4.1.1)
Collecting scikit-learn==0.23.2 (from cryolo[c11])
  Downloading scikit_learn-0.23.2-cp38-cp38-manylinux1_x86_64.whl.metadata (7.3 kB)
Collecting pyStarDB==0.3.1 (from cryolo[c11])
  Downloading pyStarDB-0.3.1.tar.gz (11 kB)
  Preparing metadata (setup.py) ... done
Collecting trackpy (from cryolo[c11])
  Downloading trackpy-0.6.2.tar.gz (133 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 kB 129.5 kB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Collecting pandas==1.1.4 (from cryolo[c11])
  Downloading pandas-1.1.4-cp38-cp38-manylinux1_x86_64.whl.metadata (4.7 kB)
Collecting watchdog (from cryolo[c11])
  Downloading watchdog-4.0.0-py3-none-manylinux2014_x86_64.whl.metadata (37 kB)
Collecting tqdm (from cryolo[c11])
  Downloading tqdm-4.66.4-py3-none-any.whl.metadata (57 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.6/57.6 kB 221.8 kB/s eta 0:00:00
Collecting protobuf==3.20.0 (from cryolo[c11])
  Downloading protobuf-3.20.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl.metadata (698 bytes)
INFO: pip is looking at multiple versions of cryolo[c11] to determine which version is compatible with other requirements. This could take a while.
Collecting cryolo[c11]
  Downloading cryolo-1.9.8.tar.gz (208 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 208.8/208.8 kB 178.7 kB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
  Downloading cryolo-1.9.7.tar.gz (208 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 208.7/208.7 kB 117.9 kB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
  Downloading cryolo-1.9.6.tar.gz (208 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 208.4/208.4 kB 97.5 kB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
  Downloading cryolo-1.9.5.tar.gz (208 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 208.4/208.4 kB 88.1 kB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
  Downloading cryolo-1.9.4.tar.gz (208 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 208.4/208.4 kB 68.6 kB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
  Downloading cryolo-1.9.3.tar.gz (208 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 208.5/208.5 kB 80.3 kB/s eta 0:00:00
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [35 lines of output]
      ERROR: Could not find a version that satisfies the requirement Cython (from versions: none)
      ERROR: No matching distribution found for Cython
      /opt/ohpc/pub/apps/miniconda3/envs/cryolo/lib/python3.8/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is depre
cated. Requirements should be satisfied by a PEP 517 installer.        warnings.warn(
      Traceback (most recent call last):
        File "/opt/ohpc/pub/apps/miniconda3/envs/cryolo/lib/python3.8/site-packages/setuptools/installer.py", line 82, in fetch_build_egg
          subprocess.check_call(cmd)
        File "/opt/ohpc/pub/apps/miniconda3/envs/cryolo/lib/python3.8/subprocess.py", line 364, in check_call
          raise CalledProcessError(retcode, cmd)
      subprocess.CalledProcessError: Command '['/opt/ohpc/pub/apps/miniconda3/envs/cryolo/bin/python3.8', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--n
o-deps', '-w', '/tmp/tmpvyfewhz3', '--quiet', 'Cython']' returned non-zero exit status 1.      
      The above exception was the direct cause of the following exception:

      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-ozpu2aa9/cryolo_5b647a527b1a417bba05824fefe45892/setup.py", line 113, in <module>
          setup(
        File "/opt/ohpc/pub/apps/miniconda3/envs/cryolo/lib/python3.8/site-packages/setuptools/__init__.py", line 86, in setup
          _install_setup_requires(attrs)
        File "/opt/ohpc/pub/apps/miniconda3/envs/cryolo/lib/python3.8/site-packages/setuptools/__init__.py", line 80, in _install_setup_requires
          dist.fetch_build_eggs(dist.setup_requires)
        File "/opt/ohpc/pub/apps/miniconda3/envs/cryolo/lib/python3.8/site-packages/setuptools/dist.py", line 874, in fetch_build_eggs
          resolved_dists = pkg_resources.working_set.resolve(
        File "/opt/ohpc/pub/apps/miniconda3/envs/cryolo/lib/python3.8/site-packages/pkg_resources/__init__.py", line 789, in resolve
          dist = best[req.key] = env.best_match(
        File "/opt/ohpc/pub/apps/miniconda3/envs/cryolo/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1075, in best_match
          return self.obtain(req, installer)
        File "/opt/ohpc/pub/apps/miniconda3/envs/cryolo/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1087, in obtain
          return installer(requirement)
        File "/opt/ohpc/pub/apps/miniconda3/envs/cryolo/lib/python3.8/site-packages/setuptools/dist.py", line 944, in fetch_build_egg
          return fetch_build_egg(self, req)
        File "/opt/ohpc/pub/apps/miniconda3/envs/cryolo/lib/python3.8/site-packages/setuptools/installer.py", line 84, in fetch_build_egg
          raise DistutilsError(str(e)) from e
      distutils.errors.DistutilsError: Command '['/opt/ohpc/pub/apps/miniconda3/envs/cryolo/bin/python3.8', '-m', 'pip', '--disable-pip-version-check', 'wheel', '-
-no-deps', '-w', '/tmp/tmpvyfewhz3', '--quiet', 'Cython']' returned non-zero exit status 1.      [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.