Closed ashno376 closed 1 year ago
This issue has been solved: because I was operating on a shared high power computing cluster, I was using the default python, but did not have permissions to install modules, which I think was causing the error. When creating a python virtual environment, and uninstalling and reinstalling as above, the program ran as intended.
Hi
I am having an issue running PCangsd on a HPC linux environment. I am getting the error:
Traceback (most recent call last): File "/mnt/scratch/nodelete/c1769413/bin/conda/bin/pcangsd/pcangsd/pcangsd.py", line 476, in
main()
File "/mnt/scratch/nodelete/c1769413/bin/conda/bin/pcangsd/pcangsd/pcangsd.py", line 148, in main
from pcangsd import shared
ImportError: cannot import name 'shared' from 'pcangsd' (/mnt/scratch/nodelete/c1769413/bin/conda/bin/pcangsd/pcangs/pcangsd.py)
I have tried:
removing and reinstalling pcangsd according to the following steps:
adding the pcangsd folder to both my PATH and PYTHONPATH
I can see others have had this issue, but the previous steps seemed to have solved the issue for them, and haven't worked for me unfortunately. Any help would be greatly appreciated!