orionarcher / pymatgen-io-openmm

A Pymatgen IO module for setting up OpenMM simulations.
11 stars 5 forks source link

Pip install #13

Closed xperrylinn closed 1 year ago

xperrylinn commented 1 year ago

Howdy!

I'm having some trouble with the setup.

Installation via pip install git+ssh://git@github.com/orionarcher/pymatgen-io-openmm.git or pip install . (from repo root) seems to not be installing the appropriate dependencies, because I'm getting ModuleNotFoundError errors. For example,

I noticed the install_requires attribute in the setup.py is commented out. I tried uncommenting this and installing using the methods above, but still no luck.

xperrylinn commented 1 year ago

It seems like the issue is openff-toolkit dependency is only available over conda-forge, so a pip install wont work. After running conda install -c conda-forge openff-toolkit, I was able to get past these snags.

xperrylinn commented 1 year ago

@orionarcher, what's the correct installation approach?

orionarcher commented 1 year ago

Ahh yeah, sorry about that. Unfortunately the openff packages are not available on pypi so they need to be installed via conda-forge.

I opened an issue, #14, as a reminder to write up install instructions.

xperrylinn commented 1 year ago

Awesome. Thank you!