Amber-MD / pytraj

Python interface of cpptraj
https://amber-md.github.io/pytraj
170 stars 38 forks source link

Reporting issue as installer requests #1601

Open swettrj opened 2 years ago

swettrj commented 2 years ago

A fresh install of Anaconda was used to install pytraj. Hit an error asking to install cython. Following install of cython, this error occurred warnings.warn("darwin_major_to_osx_map needs to be updated! Report this issue if build fails.") NameError: name 'warnings' is not defined

hainm commented 2 years ago

hi @swettrj: which python version you're using and what are exact command(s) do you use?

hainm commented 2 years ago

and it seems like you're trying to install from source code. Can you please try to delete a line in setup.py? https://github.com/Amber-MD/pytraj/blob/21e4f0fbcead41d9c632dc5f1fc1db08822459c4/setup.py#L164