Skip to content
This repository has been archived by the owner on May 9, 2022. It is now read-only.

[Python3.8] Note di installazione #305

Open
peppelinux opened this issue Dec 12, 2020 · 2 comments
Open

[Python3.8] Note di installazione #305

peppelinux opened this issue Dec 12, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@peppelinux
Copy link
Member

peppelinux commented Dec 12, 2020

Per chi tentasse di installare spid-testenv2 in un virtualenv costruito al di sopra di python3.8 e ottenesse l'errore ImportError: cannot import name 'Feature' from 'setuptools' come segue:

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-3gk1vitu/markupsafe/setup.py", line 6, in <module>
        from setuptools import setup, Extension, Feature
    ImportError: cannot import name 'Feature' from 'setuptools' (/home/wert/DEV/DTD/Spid/env/lib/python3.8/site-packages/setuptools/__init__.py)
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Soluzione

pip3 install setuptools==45
@peppelinux
Copy link
Member Author

Per l'eccezione

TypeError: required field "type_ignores" missing from Module

risolvere installando pip install werkzeug==0.15.5

@peppelinux peppelinux changed the title [Python3.8] ImportError: cannot import name 'Feature' from 'setuptools' [Python3.8] Note di installazione Jan 24, 2021
@peppelinux
Copy link
Member Author

Il branch master attualmente funziona con Python versione 38, tuttavia questa è da integrare in CI

@peppelinux peppelinux added the enhancement New feature or request label Mar 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant