[AMBER] Warning tells me to report

From: Bryan Cox via AMBER <amber.ambermd.org>
Date: Tue, 14 Feb 2023 20:19:16 +0000


Just got AMBER22, and I’m following the installation instructions from the manual. While running “make install”, I get the following error at 91%:

[ 91%] Building pytraj native library
sys.argv ['setup.py', 'build', '--disable-openmp']
Original compiler envs
CXX = /usr/bin/clang++
CC = /usr/bin/clang
use_pip = False, cpptraj_home =
compile_c_extension = True
use_prebuilt_cythonized_files = False
pytraj is inside AMBERHOME
using environment: CC=/usr/bin/clang, CXX=/usr/bin/clang++
using CC=/usr/bin/clang, CXX=/usr/bin/clang++
Final compiler envs
CXX = /usr/bin/clang++
CC = /usr/bin/clang
Traceback (most recent call last):
  File "/Users/bcox/amber/amber22_src/AmberTools/src/pytraj/setup.py", line 171, in <module>
  File "/Users/bcox/amber/amber22_src/AmberTools/src/pytraj/setup.py", line 165, in prepare_env_for_osx
    warnings.warn("darwin_major_to_osx_map needs to be updated! Report this issue if build fails.")
NameError: name 'warnings' is not defined. Did you mean: 'Warning'?
make[2]: *** [AmberTools/src/pytraj/CMakeFiles/python-build/pytraj-build.stamp] Error 1
make[1]: *** [AmberTools/src/pytraj/CMakeFiles/pytraj.dir/all] Error 2
make: *** [all] Error 2

This email and any attachments may contain CONFIDENTIAL or PRIVILEGED information and is a private communication between the intended
addressee and Terremoto Biosciences, Inc. If you have received this email in error, distributing, copying, using or disclosing its
contents is prohibited. Please notify us of the delivery error by replying to this message and then delete it from your system.

Thank you.
AMBER mailing list
Received on Tue Feb 14 2023 - 12:30:03 PST
Custom Search