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

Import error #2

Open
leesoh opened this issue May 31, 2018 · 2 comments
Open

Import error #2

leesoh opened this issue May 31, 2018 · 2 comments

Comments

@leesoh
Copy link

leesoh commented May 31, 2018

I'm getting an error when importing pydradis. Here's the steps to reproduce on Windows 10 with Python 3.6.5:

  1. pipenv shell --three
  2. pip install pydradis
  3. python
Python 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 17:00:18) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from pydradis import Pydradis
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\liams\.virtualenvs\Gradis-TvVwDOpj\lib\site-packages\pydradis\__init__.py", line 1, in <module>
    from pydradis import Pydradis
ImportError: cannot import name 'Pydradis'
@dparker18
Copy link
Member

Can you open a command prompt in C:\Users\liams.virtualenvs\Gradis-TvVwDOpj\lib\site-packages\pydradis and paste the output of running "dir"? Maybe it's just a windows-specific case sensitivity issue?

@leesoh
Copy link
Author

leesoh commented Jun 7, 2018

Ahh, there it is. the path on windows is C:\Users\liams\.virtualenvs\Gradis-TvVwDOpj\Lib\site-packages\pydradis

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