You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran python3 and import pybertini, but I got the following error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/homebrew/lib/python3.11/site-packages/pybertini/__init__.py", line 53, in <module>
import pybertini.function_tree as function_tree
File "/opt/homebrew/lib/python3.11/site-packages/pybertini/function_tree/__init__.py", line 31, in <module>
import _pybertini
ModuleNotFoundError: No module named '_pybertini'
I think this is because the _pybertini.so was installed in /usr/local/lib/python3.11/site-packages, outside the PYTHONPATH, so I added export PYTHONPATH=/usr/local/lib/python3.11/site-packages:$PYTHONPATH.
Again, I ran python3 and import pybertini. This time another error appeared:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/homebrew/lib/python3.11/site-packages/pybertini/__init__.py", line 53, in <module>
import pybertini.function_tree as function_tree
File "/opt/homebrew/lib/python3.11/site-packages/pybertini/function_tree/__init__.py", line 31, in <module>
import _pybertini
RuntimeError: unidentifiable C++ exception
I attached config.log under b2/python. Please help, thank you!
The text was updated successfully, but these errors were encountered:
Your setup seems spot-on, through adding the location of the .so library to PYTHONPATH.
I expect that failing test in b2_class_test due to a bug in Boost 1.82 (I think it's fixed in 1.83?).
I'm curious about what exception got generated. I'll try to take a look. It might be as simple as bringing my most recent changes from my fork to the "official" repo (this one).
Hi, I am using Mac Montery OS with M1 Max Chip, and homebrew to install all the dependencies.
/usr/local/
using the following command, with only 9 PASS and 1 FAIL (b2_class_test).command, then make-installed.
pip3 install --upgrade .
I ran
python3
andimport pybertini
, but I got the following error:I think this is because the
_pybertini.so
was installed in/usr/local/lib/python3.11/site-packages
, outside the PYTHONPATH, so I addedexport PYTHONPATH=/usr/local/lib/python3.11/site-packages:$PYTHONPATH
.python3
andimport pybertini
. This time another error appeared:I attached config.log under
b2/python
. Please help, thank you!The text was updated successfully, but these errors were encountered: