Closed jacknicoludis closed 5 years ago
I tried to reproduce but couldn't in python2 or 3.
conda create -n py27 python=2.7
conda activate py27
pip install imolecule
python -c "import imolecule" # works
For help, I only have guesses. Maybe you named another file imolecule.py
and the namespacing is messing up? Maybe changing that line to from imolecule import json_formatter as json
helps?
Sorry I can't be of more help.
Thanks for trying. I ended up uninstalling conda and redownloading and setting my environment to 2.7 and it worked.
I installed python2.7 from conda. I used conda to install openbabel (conda install openbabel) and pip2 to install imolecule (pip2 install imolecule). When I go to /anaconda2/lib/python2.7/site-packages/imolecule/ the json_formatter.py file is there. Any other suggestions?