Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reporting issue as installer requests #1601

Open
swettrj opened this issue Mar 6, 2022 · 2 comments
Open

Reporting issue as installer requests #1601

swettrj opened this issue Mar 6, 2022 · 2 comments

Comments

@swettrj
Copy link

swettrj commented Mar 6, 2022

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
Copy link
Contributor

hainm commented Mar 7, 2022

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

@hainm
Copy link
Contributor

hainm commented Mar 7, 2022

and it seems like you're trying to install from source code. Can you please try to delete a line in setup.py?

pytraj/setup.py

Line 164 in 21e4f0f

warnings.warn("darwin_major_to_osx_map needs to be updated! Report this issue if build fails.")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants