Closed neumannrf closed 1 year ago
I had been using gemmi-0.5.8 until recently, but when I inadvertently upgraded to gemmi-0.6.0, I lost the ability to import the Python library.
gemmi-0.5.8
gemmi-0.6.0
conda create -y -n gemmi gemmi=0.6.0
conda activate gemmi
python
Try to import the library and get this error
>>> import gemmi Traceback (most recent call last): File "<stdin>", line 1, in <module> ModuleNotFoundError: No module named 'gemmi'
Downgrading to v0.5.8 fixes it, but several packages (e.g. pyGAPS) that depend on gemmi will install the latest version.
v0.5.8
gemmi
Originally reported to project-gemmi/gemmi#259.
# packages in environment at /opt/homebrew/Caskroom/miniconda/base/envs/gemmi: # # Name Version Build Channel bzip2 1.0.8 h3422bc3_4 conda-forge ca-certificates 2022.12.7 h4653dfc_0 conda-forge gemmi 0.6.0 py311h7b25133_0 conda-forge libcxx 15.0.7 h75e25f2_0 conda-forge libffi 3.4.2 h3422bc3_5 conda-forge libsqlite 3.40.0 h76d750c_0 conda-forge libzlib 1.2.13 h03a7124_4 conda-forge ncurses 6.3 h07bb92c_1 conda-forge openssl 3.1.0 h03a7124_0 conda-forge pip 23.0.1 pyhd8ed1ab_0 conda-forge python 3.11.0 h3ba56d0_1_cpython conda-forge python_abi 3.11 3_cp311 conda-forge readline 8.1.2 h46ed386_0 conda-forge setuptools 67.6.0 pyhd8ed1ab_0 conda-forge tk 8.6.12 he1e0b03_0 conda-forge tzdata 2022g h191b570_0 conda-forge wheel 0.40.0 pyhd8ed1ab_0 conda-forge xz 5.2.6 h57fd34a_0 conda-forge
active environment : gemmi active env location : /opt/homebrew/Caskroom/miniconda/base/envs/gemmi shell level : 1 user config file : /Users/rneumann/.condarc populated config files : /Users/rneumann/.condarc conda version : 23.1.0 conda-build version : not installed python version : 3.10.9.final.0 virtual packages : __archspec=1=arm64 __osx=13.2.1=0 __unix=0=0 base environment : /opt/homebrew/Caskroom/miniconda/base (writable) conda av data dir : /opt/homebrew/Caskroom/miniconda/base/etc/conda conda av metadata url : None channel URLs : https://conda.anaconda.org/conda-forge/osx-arm64 https://conda.anaconda.org/conda-forge/noarch https://repo.anaconda.com/pkgs/main/osx-arm64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/r/osx-arm64 https://repo.anaconda.com/pkgs/r/noarch package cache : /opt/homebrew/Caskroom/miniconda/base/pkgs /Users/rneumann/.conda/pkgs envs directories : /opt/homebrew/Caskroom/miniconda/base/envs /Users/rneumann/.conda/envs platform : osx-arm64 user-agent : conda/23.1.0 requests/2.28.2 CPython/3.10.9 Darwin/22.3.0 OSX/13.2.1 UID:GID : 501:20 netrc file : None offline mode : False
Solution to issue cannot be found in the documentation.
Issue
I had been using
gemmi-0.5.8
until recently, but when I inadvertently upgraded togemmi-0.6.0
, I lost the ability to import the Python library.Steps to reproduce
conda create -y -n gemmi gemmi=0.6.0
conda activate gemmi
python
Try to import the library and get this error
Note
Downgrading to
v0.5.8
fixes it, but several packages (e.g. pyGAPS) that depend ongemmi
will install the latest version.Originally reported to project-gemmi/gemmi#259.
Installed packages
Environment info