On Wed, Apr 14, 2021 at 9:33 PM 石谷沁 <guqin.shi.qilu-pharma.com> wrote:
> Dear Amber Community,
>
> I’m here again…so I successfully installed the serial AMBER packages.
>
>
> make test.serial works well except for 1 error on pytraj test.
>
>
Hi, do you see `pytraj` in $AMBERHOME/lib/python3.8/site-packages/
What's the output of `echo $PYTHONPATH`?
Hai
> The traceback showed that program correctly used the python3.8 in
> miniconda (which was installed automatically during AMBER build)
>
> Below is the full message. Does it related to other python packages of the
> Linux platform?
>
> Thank you for the help!!
> -Guqin
>
> ======================================================================================================================
> Testing serial pytraj
> /home/gqshi/amber20//miniconda/bin/python test.py
> Traceback (most recent call last):
> File "test.py", line 2, in <module>
> import pytraj as pt
> ModuleNotFoundError: No module named 'pytraj'
> test.pytraj: Program error
> ===============================test session starts
> =======================================
> platform linux -- Python 3.8.5, pytest-6.2.3, py-1.10.0, pluggy-0.13.1 --
> /home/gqshi/amber20//miniconda/bin/python
> cachedir: .pytest_cache
> rootdir: /home/gqshi/amber20/AmberTools
> collected 0 items / 1 error
>
> =========================================ERRORS
> ===================================================================
> _____________________ ERROR collecting
> src/pytraj/tests/test_energy/test_sander_energies.py __________________
> ImportError while importing test module
> '/home/gqshi/amber20/AmberTools/src/pytraj/tests/test_energy/test_sander_energies.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> ../../../miniconda/lib/python3.8/importlib/__init__.py:127: in
> import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> ../../src/pytraj/tests/test_energy/test_sander_energies.py:4: in <module>
> import pytraj as pt
> E ModuleNotFoundError: No module named 'pytraj'
> ================================== short test summary info
> ======================================================
> ERROR ../../src/pytraj/tests/test_energy/test_sander_energies.py
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> Interrupted: 1 error during collection
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> ======================================== 1 error in 0.07s
> =================================================
>
>
>
> ***********免责声明*************
>
>
> 本电子邮件中包含的信息仅供指定的或授权的个人或团体使用。本电子邮件及附件中提到的信息可能是保密信息或者法律特许保密的信息。如果你不是指定收件人,对于邮件内容的任何披露、复制、散布或者任何针对邮件内容进行的行为都是违法行为,需要严格禁止。如果您误收该电子邮件,请立即通知本公司并从您的系统中删除全部原始信息。该邮件可能会对您的系统或者数据造成损坏,对此我公司不承担任何责任。除非与公司业务有关,否则本邮件中的观点、结论、或者其它包含在邮件中的信息均为发件人个人行为,并不代表我公司。我公司有权保留对收发邮件的监控权利。
>
> ***********Business Email Disclaimer**************
>
> This e-mail and any attachments are meant for the intended recipient only
> and may contain information belonging to Qilu Pharma that is privileged,
> confidential, proprietary, and/or otherwise protected or prohibited from
> disclosure. If you are not the correct recipient or received this e-mail
> erroneously, please inform the sender immediately and delete this mail from
> your system. Qilu Pharma state no liability for any damage to your system
> and data caused by this email. Unless this email is related to the business
> with the company, otherwise any views or opinions presented in this email
> are solely from the sender. Qilu Pharma has the right to monitor the
> sending and receiving of the e-mail.
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
>
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Thu Apr 15 2021 - 12:00:03 PDT