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

cannot import after install #46

Open
maxsiegel opened this issue May 18, 2016 · 1 comment
Open

cannot import after install #46

maxsiegel opened this issue May 18, 2016 · 1 comment

Comments

@maxsiegel
Copy link

Hi,

Installation works as prescribed (except I used Miniconda instead of the system python, should this matter?) but when I import motive, I get this error:

>>> import motive
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "motive\__init__.py", line 3, in <module>
    from native import *
ImportError: No module named native

This is on Windows 10, 64 bit. Motive 1.10.3 (but also I had this problem with 1.9).

Thanks

@nickdelgrosso
Copy link
Member

Hi,
I see, this is a Python 2 vs 3 error (Relative vs Absolute Imports). It should be changed to something like:

from . import native

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