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

ImportError: cannot import name standard #82

Closed
pinplex opened this issue Feb 13, 2017 · 6 comments
Closed

ImportError: cannot import name standard #82

pinplex opened this issue Feb 13, 2017 · 6 comments

Comments

@pinplex
Copy link

pinplex commented Feb 13, 2017

Dear Andrew Dawson,

unfortunately, I cannot use your module, since there is some problem with the relative import of standard.py and tools.py:

In [26]: from windspharm.standard import VectorWind
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-26-37081f3a34f9> in <module>()
----> 1 from windspharm.standard import VectorWind

/usr/local/lib/python2.7/site-packages/windspharm/__init__.py in <module>()
     21 from __future__ import absolute_import
     22 
---> 23 from . import standard
     24 from . import tools
     25 

ImportError: cannot import name standard

Do you know what I could do about it. In other modules, the relative import works, so it should not be a problem with regard to my python setup.

Thank you very much.
Alex

@ajdawson
Copy link
Owner

I can't immediately reproduce this. How did you install windspharm?

@pinplex
Copy link
Author

pinplex commented Feb 13, 2017

I installed windspharm using pip. I installed pyspharm 1.0.8. from source. Thanks.

@ajdawson
Copy link
Owner

OK, I still can't reproduce when installing from pip... What platform are you on, looks like linux?

@pinplex
Copy link
Author

pinplex commented Feb 13, 2017 via email

@pinplex
Copy link
Author

pinplex commented Feb 13, 2017

I reinstalled windspharm and rebooted the system and now it is working! I don't know what was causing the error. Now I am curious to work with windspharm. Thanks for your support!

@ajdawson
Copy link
Owner

I'm not sure what happened then, perhaps the install was not complete the first time. I'm going to close this issue since you have a working install now. I hope the package is useful to you.

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