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

Throws RecursionError on initial import #20

Open
msbc opened this issue Aug 30, 2019 · 6 comments
Open

Throws RecursionError on initial import #20

msbc opened this issue Aug 30, 2019 · 6 comments

Comments

@msbc
Copy link

msbc commented Aug 30, 2019

On initial import, a RecursionError is thrown. I have tried both installing pyvoro with pip install pyvoro and cloning and installing with python setup.py install --user. Both give the same result (see below).

System info:

System Version: macOS 10.14.6 (18G87)
Kernel Version: Darwin 18.7.0
gcc version 9.2.0 (Homebrew GCC 9.2.0)
Cython version 0.29.13
Python 3.7.3

Error:

Python 3.7.3 (default, Mar 27 2019, 16:54:48) 
[Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyvoro
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "$~/software/pyvoro/pyvoro/__init__.py", line 1, in <module>
    import voroplusplus
  File "voroplusplus.pyx", line 36, in init pyvoro.voroplusplus (pyvoro/voroplusplus.cpp:2696)
  File "<frozen importlib._bootstrap>", line 980, in _find_and_load
RecursionError: maximum recursion depth exceeded
@joel-simon
Copy link

Manually installing from the feature/python3 branch fixed this error for me on python3.6.

@Gaozmmm
Copy link

Gaozmmm commented Feb 27, 2020

On initial import, a RecursionError is thrown. I have tried both installing pyvoro with pip install pyvoro and cloning and installing with python setup.py install --user. Both give the same result (see below).

System info:

System Version: macOS 10.14.6 (18G87)
Kernel Version: Darwin 18.7.0
gcc version 9.2.0 (Homebrew GCC 9.2.0)
Cython version 0.29.13
Python 3.7.3

Error:

Python 3.7.3 (default, Mar 27 2019, 16:54:48) 
[Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyvoro
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "$~/software/pyvoro/pyvoro/__init__.py", line 1, in <module>
    import voroplusplus
  File "voroplusplus.pyx", line 36, in init pyvoro.voroplusplus (pyvoro/voroplusplus.cpp:2696)
  File "<frozen importlib._bootstrap>", line 980, in _find_and_load
RecursionError: maximum recursion depth exceeded

Hi, did you solve your problem? I encounter the same issue while using python 3.7

@liangtianumich
Copy link

liangtianumich commented Nov 20, 2020

pip install pyvoro will install the default master branch for pyvoro for python 2.7. If you are using python 3.X, you should use the branch for python 3 feature branch by git checkout feature/python3 .

@kip-hart
Copy link

Why doesn't the version on PyPI support python 3, when 2 has been deprecated?

@liangtianumich
Copy link

The owner's last commit is 2014 for mainstream python 2.X and did not maintain after that. he gave a patch for python 3.X thinking some people may need it.

@kip-hart
Copy link

Ok, I've been using pyvoro from https://pypi.org/project/pyvoro-mmalahe/ without issues. Posting the link here in case other users need to make pyvoro a package dependency.

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

5 participants