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

installation failed in python 3.8 #114

Open
n3onUser opened this issue May 1, 2020 · 0 comments
Open

installation failed in python 3.8 #114

n3onUser opened this issue May 1, 2020 · 0 comments

Comments

@n3onUser
Copy link

n3onUser commented May 1, 2020

  1. require old cython version 0.14
    Actually, cython 0.29.17 is installed with python 3.8 and cython 0.14 failed to install with python 3.8

  2. installation failed after with setup.py

$ python --version
Python 3.8.2
$ pip install poly2tri
Collecting poly2tri
  Using cached poly2tri-0.3.3.tar.gz (31 kB)
    ERROR: Command errored out with exit status 1:
     command: /vyv38/bin/python3.8 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4_9841_l/poly2tri/setup.py'"'"'; __file__='"'"'/tmp/pip-install-4_9841_l/poly2tri/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-4_9841_l/poly2tri/pip-egg-info
         cwd: /tmp/pip-install-4_9841_l/poly2tri/
    Complete output (5 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-4_9841_l/poly2tri/setup.py", line 8, in <module>
        m.Extension.__dict__ = m._Extension.__dict__
    AttributeError: attribute '__dict__' of 'type' objects is not writable
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
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