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

brew install viennarna error #1637

Open
petervangalen opened this issue Aug 23, 2023 · 1 comment
Open

brew install viennarna error #1637

petervangalen opened this issue Aug 23, 2023 · 1 comment

Comments

@petervangalen
Copy link

petervangalen commented Aug 23, 2023

I tried to install viennarna using Homebrew 4.1.6 on a Mac M1 Max with Ventura 13.5.1 (22G90).

When executing brew install viennarna, I got the following error at the make stage:

Last 15 lines from /Users/vangalen/Library/Logs/Homebrew/viennarna/02.make:
  File "<string>", line 1, in <module>
  File "/private/tmp/viennarna-20230823-53253-13ovwhz/ViennaRNA-2.4.17/interfaces/Python3/RNA/__init__.py", line 11, in <module>
    from . import _RNA
ImportError: cannot import name '_RNA' from partially initialized module 'RNA' (most likely due to a circular import) (/private/tmp/viennarna-20230823-53253-13ovwhz/ViennaRNA-2.4.17/interfaces/Python3/RNA/__init__.py)
make[3]: *** [RNA/__pycache__/__init__.cpython-311.pyc] Error 1
make[3]: *** Waiting for unfinished jobs....
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/private/tmp/viennarna-20230823-53253-13ovwhz/ViennaRNA-2.4.17/interfaces/Python3/RNA/__init__.py", line 11, in <module>
    from . import _RNA
ImportError: cannot import name '_RNA' from partially initialized module 'RNA' (most likely due to a circular import) (/private/tmp/viennarna-20230823-53253-13ovwhz/ViennaRNA-2.4.17/interfaces/Python3/RNA/__init__.py)
make[3]: *** [RNA/__pycache__/__init__.cpython-311.opt-1.pyc] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

The logs are here:
https://gist.github.com/petervangalen/3fade21a599c70f418d67d3b8cc2b8c1

update
I retried brew install viennarna after running export PATH="/opt/homebrew/bin:$PATH" but got the same error

@retospect
Copy link

retospect commented Sep 13, 2023

Same here (OSX/M1, source and homebrew), but it works for 2.5.1.
Download the old source package from the bottom of https://www.tbi.univie.ac.at/RNA/#source_code_packages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants