-
Notifications
You must be signed in to change notification settings - Fork 27
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
pypi distribution #16
Comments
I get the same error regardless of whether I install via pip or from source
|
@Nagnar @peder2tm : This module is only Python 2, and will not build with Python 3. Previous issues: Some work was done to port it to Python 3: In the meantime, I also made a similar library that should work on python 3: http://tess.readthedocs.io/ |
@wackywendell |
Issue with pyvoro as distributed on pypi
When running the main.py file:
import pyvoro
print('success?')
(test_env) .../test$ python3 main.py
Traceback (most recent call last):
File "main.py", line 1, in
import pyvoro
File ".../test/test_env/lib/python3.5/site-packages/pyvoro/init.py", line 1, in
import voroplusplus
File "voroplusplus.pyx", line 36, in init pyvoro.voroplusplus (pyvoro/voroplusplus.cpp:2696)
SystemError: Parent module '' not loaded, cannot perform relative import
The contents of the pyvoro directory in the env where pyvoro was installed with pip3
(test_env) .../test/test_env/lib/python3.5/site-packages/pyvoro$ ls
init.py pycache
The contents of the same directory in a different env where pyvoro was installed from source with
python setup.py install
.../voronoi/voronoi_env/lib/python3.5/site-packages/pyvoro-1.3.3-py3.5-linux-x86_64.egg/pyvoro$ ls
init.py pycache voroplusplus.cpython-35m-x86_64-linux-gnu.so voroplusplus.py
The text was updated successfully, but these errors were encountered: