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

No module named 'pymol.cmd' #219

Closed
biotech70 opened this issue Jan 23, 2022 · 7 comments
Closed

No module named 'pymol.cmd' #219

biotech70 opened this issue Jan 23, 2022 · 7 comments

Comments

@biotech70
Copy link

Hi during the execution of Pymol I get the following error:

_Traceback (most recent call last):
File "/home/proteininstitute/miniconda3/lib/python3.8/site-packages/pymol/init.py", line 72, in
import pymol
File "/home/proteininstitute/miniconda3/lib/python3.8/site-packages/pymol/init.py", line 558, in
import pymol._cmd
ModuleNotFoundError: No module named 'pymol.cmd'

@biotech70 biotech70 changed the title error: command 'x86_64-linux-gnu-g++' failed with exit status 1 No module named 'pymol.cmd' Jan 23, 2022
@JarrettSJohnson
Copy link
Member

Was this self built? The pymol open-source conda forge package?

@biotech70
Copy link
Author

No, I used your source code. I download it from Github and install it in ubuntu 20.04, but my bashrc file was deleted and after that, I get this error for Pymol execution.

@biotech70
Copy link
Author

Of course, I tried again to install the Pymol using your source code, which shows this error, but the following error was displayed.
pymol error

@smiles724
Copy link

I met a similar issue, which reports it cannot find pymol_cmd.

Is there anyone who can provide any solution to tackle it? I would really appreciate it!
image

@speleo3
Copy link
Contributor

speleo3 commented Feb 10, 2022

@smiles724 try something like sudo apt install libgl1

Other packages which provide libGL.so.1: https://packages.ubuntu.com/search?suite=focal&arch=amd64&mode=exactfilename&searchon=contents&keywords=libGL.so.1

@smiles724
Copy link

Great thanks, it works!!!

@JarrettSJohnson
Copy link
Member

Going to close. The issue from smiles724 is different than the original post and has been resolved. The image from biotech70 suggests that the python included in the environment does not match the platform config of what it's being ran on.

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

No branches or pull requests

4 participants