You are here

undefined symbol: _Py_ZeroStruct

2 posts / 0 new
Last post
undefined symbol: _Py_ZeroStruct
#1

Hello I installed the pyrosetta 4 for windows but it display the error "undefined symbol: _Py_ZeroStruct" what should I do to fix it?

Executing test/Workshop9test.py...
export PYTHONPATH=`pwd` && unset __PYVENV_LAUNCHER__ && ulimit -t 512 && /usr/bin/python3 test/Workshop9test.py
Traceback (most recent call last):
  File "test/Workshop9test.py", line 6, in <module>
    import pyrosetta
  File "/mnt/d/users/pyrosetta/pyrosetta/__init__.py", line 15, in <module>
    import pyrosetta.rosetta as rosetta
ImportError: /mnt/d/users/pyrosetta/pyrosetta/rosetta.so: undefined symbol: _Py_ZeroStruct

 

 

AttachmentSize
pyrosetta self-test.jpg105.21 KB
Category: 
Post Situation: 
Thu, 2020-08-20 13:56
Nath11

I can't say for certain, but my guess is that you have a Python version mismatch. Compiled libraries like PyRosetta have to be compiled for a specific version of Python. If you compile it for 3.7, it won't work on 3.6.  I'm guessing that, for whatever reason, you're running a PyRosetta compiled with one version of Python with a verison of Python that doesn't match.

Tue, 2021-02-09 09:02
rmoretti