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

from pdbfixer import PDBFixer ModuleNotFoundError: No module named 'pdbfixer' #20

Open
ChristophKnapp opened this issue Dec 12, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@ChristophKnapp
Copy link

Hi, this might not be the right place to ask this but for most people it obviously works.
For some reason in my setup it can't find the module pdbfixer, which is used by esmtools. ProteusAI is installed into my python environment and I'm trying to run the code from the design_demo.py.

If you think I should ask this at esmtools, just tell me to go away.

Still any idea what might be wrong in my setup?

Regards Christoph

@enryH
Copy link
Collaborator

enryH commented Dec 16, 2024

pdbfixer is not installed using pip as the package is only distributed through the conda-forge channel - probably due to certain dependencies. But you could try to see their reason not making it available through pip there.

pip installed dependencies:

ProteusAI/pyproject.toml

Lines 12 to 40 in b7065da

dependencies = [
"torch==2.4.1",
"torch_geometric",
"torch-scatter",
"uvicorn",
"asgiref",
"starlette",
#"pdbfixer",
"shiny",
"pandas",
"numpy",
"requests",
"scipy",
"fair-esm",
"matplotlib",
"biopython",
"biotite",
"scikit-learn",
"optuna",
"seaborn",
"openpyxl",
"py3Dmol",
"gpytorch",
"openmm",
"umap-learn",
"hdbscan",
"proteusAI",
#"pdbfixer @ git+https://github.com/openmm/[email protected]"
]

pdbfixer repo with instructions: https://github.com/openmm/pdbfixer

Well, in the end this is the reason why we have the conda environment setup.

@enryH enryH added the enhancement New feature or request label Dec 16, 2024
@enryH
Copy link
Collaborator

enryH commented Dec 16, 2024

OpenMM needs to be pip installable first: openmm/pdbfixer#254

They are available since this November (2024) for the latest version 8.2 and higher: https://pypi.org/project/OpenMM/

so soon this will be resolved

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

No branches or pull requests

2 participants