-
Notifications
You must be signed in to change notification settings - Fork 19
Smoke test for pyami and py4ami
-
I am running smoke test for pyami on Windows 10.
-
I git cloned pyami, set environment variable and then ran following commands and got following results.
-
python examples.py gl
no error**
-
python examples.py pd
error"stat: path should be string, bytes, os.PathLike or integer, not NoneType"
-
Solved above error by editing generic.py line 19 os.stat(path) with os.stat(str(path))
**
-
Ran again
python examples.py pd
-
Now error is (Please, find txt logfile here) logfile
-
I think we need to refer http://net-informations.com/python/err/nonetype.htm and edit symbol.py
**
-
Second error: when I run
pyami --help
it opens PyMol (open source molecular visualization system)
-
git cloned pyami. set path by running command
open -e .bash_profile
. then copying the following. export P2_HOME=/Users/sagar/pyamiexport PATH=$PATH:$P2_HOME/py4ami
-
created folder valdict in pyami. add interpreter conda env, python 3.8, select conda path. Run the commands
conda create --name project_env python=3.8.0
conda activate project_env
save. close.Reopen folder. run
pip install pytest
. run test_pyamidict.py then gave lxml error.pip install lxml
. run again test_pyamidict.py . then gave py4ami module not found error. then runpip install py4ami
. Then gave error ImportError: cannot import name 'AMIDict' from 'py4ami.dict_lib'.