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

from .geometry import - Attempted relative import in non-package #33

Open
Crojav opened this issue Apr 19, 2018 · 0 comments
Open

from .geometry import - Attempted relative import in non-package #33

Crojav opened this issue Apr 19, 2018 · 0 comments

Comments

@Crojav
Copy link

Crojav commented Apr 19, 2018

crojav@crojav-Lenovo ~/gizeh/gizeh $ python hen.py
Traceback (most recent call last):
File "hen.py", line 2, in
import gizeh
File "/home/crojav/gizeh/gizeh/gizeh.py", line 5, in
from .geometry import (rotation_matrix,
ValueError: Attempted relative import in non-package

removed the . before geometry works
from geometry import (rotation_matrix,

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

1 participant