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

Installation fails for python 3.10 #9

Open
MartGro opened this issue Apr 3, 2023 · 1 comment
Open

Installation fails for python 3.10 #9

MartGro opened this issue Apr 3, 2023 · 1 comment

Comments

@MartGro
Copy link

MartGro commented Apr 3, 2023

Hello,
I tried to install ernwin in a new python 3.10 conda environment.
However, the installation does not work when running
pip install -r requirenments.txt

After some time, i got it to work by manually installing Cython and numpy first before the rest.

Still, when trying to run the example, the program crashes:

Traceback (most recent call last):
  File "ernwin_env/bin/ernwin.py", line 17, in <module>
    import forgi.utilities.commandline_utils as fuc
  File "ernwin_env/lib/python3.10/site-packages/forgi/__init__.py", line 30, in <module>
    from forgi.utilities.commandline_utils import load_rna
  File "ernwin_env/lib/python3.10/site-packages/forgi/utilities/commandline_utils.py", line 21, in <module>
    import forgi.threedee.model.coarse_grain as ftmc
  File "ernwin_env/lib/python3.10/site-packages/forgi/threedee/model/coarse_grain.py", line 67, in <module>
    from .linecloud import CoordinateStorage, LineSegmentStorage
  File "ernwin_env/lib/python3.10/site-packages/forgi/threedee/model/linecloud.py", line 12, in <module>
    from collections import Mapping
ImportError: cannot import name 'Mapping' from 'collections' `(ernwin_env/lib/python3.10/collections/__init__.py)```
@Bernhard10
Copy link
Member

Hello,
Please try to install the latest version of forgi from the master branch (https://github.com/ViennaRNA/forgi). I still need to publish a release with the latest fixes.

Good point about numpy and cython, I should add this to the documentation.

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