spid-testenv2 icon indicating copy to clipboard operation
spid-testenv2 copied to clipboard

[Python3.8] Note di installazione

Open peppelinux opened this issue 4 years ago • 2 comments

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 avatar Dec 12 '20 14:12 peppelinux