-
Notifications
You must be signed in to change notification settings - Fork 38
Home
Hai Nguyen edited this page Apr 21, 2015
·
28 revisions
Welcome to the pytraj wiki!
- if using the most updated pytraj version (recommended)
git clone https://github.com/pytraj/pytraj
cd pytraj
python ./setup.py install
- if using specific verion (go to releases to check the most updated and stable version)
wget https://github.com/pytraj/pytraj/archive/v0.1.2.dev2.tar.gz
- (unzip and
cd
to pytraj) python setup.py install
- Done
- Simple test: python -c 'import pytraj as pt; pt.run_tests()'
Note: Possible failure: can not find netcdf.h file. Make sure to install netcdeflib or specify its include path
- not yet supported. Use "git" or "conda"
conda install -c pytraj pytraj-dev
python -c 'import pytraj as pt; pt.run_tests()'
if you install via github, you will get full test runs
cd tests
python ./python ./run_all_and_find_fails.py
Possible errors:
- "ImportError: libcpptraj.so: cannot open shared object file: No such file or directory"
you need to add libcpptraj.so to LD_LIBRARY_PATH