-
Notifications
You must be signed in to change notification settings - Fork 11
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
ModuleNotFoundError: No module named 'pcangsd.pcangsd'; 'pcangsd' is not a package #92
Comments
Can you write the command that prompted the error? :-) /Jonas |
Yes, the error appeared as soon as I run pcangsd, like:
I also noticed that the
And if I edit it and substitute
It's not that I expect to fix the problem by editing the executable, but I was trying to understand the problem. Thanks for your help. |
Hi, I am having a similar problem and cannot get pcangsd to run.
And keep getting errors such as the following:
I have confirmed that admixture.py is in that |
Hi Johanna, If you have installed pcangsd as described on the GitHub, it is only available as a command-line program Let me know if it helped! Best, |
Gosh, I just forgot a line of the install code! Thanks for letting me know; it's running fine now! |
After installing successfully, when I run pcangsd I get the following error:
Traceback (most recent call last): File "/home/joiglu/.conda/envs/bio/bin/pcangsd", line 5, in <module> from pcangsd.pcangsd import main ModuleNotFoundError: No module named 'pcangsd.pcangsd'; 'pcangsd' is not a package
I think this is related to the naming of the pcangsd.py file inside pcangsd folder, as described in the link below:
https://stackoverflow.com/questions/54333865/python-no-module-named-error-package-is-not-a-package
The text was updated successfully, but these errors were encountered: