Closed nuclearcat closed 1 year ago
git clone https://github.com/helloflask/flask-examples.git cd flask-examples python3 -m venv venv . venv/bin/activate pip install -r requirements.txt ... pip install -r requirements.txt Looking in indexes: https://pypi.python.org/simple/ Collecting alembic==1.5.8 Downloading alembic-1.5.8-py2.py3-none-any.whl (159 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 159.6/159.6 KB 1.6 MB/s eta 0:00:00 Collecting blinker==1.4 Downloading blinker-1.4.tar.gz (111 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 111.5/111.5 KB 7.0 MB/s eta 0:00:00 Preparing metadata (setup.py) ... done Collecting click==7.1.2 Downloading click-7.1.2-py2.py3-none-any.whl (82 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 82.8/82.8 KB 8.3 MB/s eta 0:00:00 Collecting cssmin==0.2.0 Downloading cssmin-0.2.0.tar.gz (3.2 kB) Preparing metadata (setup.py) ... done Collecting email-validator==1.1.2 Downloading email_validator-1.1.2-py2.py3-none-any.whl (17 kB) Collecting flask-assets==0.12 Downloading Flask-Assets-0.12.tar.gz (22 kB) Preparing metadata (setup.py) ... done Collecting flask-caching==1.7.2 Downloading Flask_Caching-1.7.2-py2.py3-none-any.whl (27 kB) Collecting flask-ckeditor==0.4.3 Downloading Flask_CKEditor-0.4.3-py2.py3-none-any.whl (4.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.9/4.9 MB 2.7 MB/s eta 0:00:00 Collecting flask-debugtoolbar==0.10.1 Downloading Flask_DebugToolbar-0.10.1-py2.py3-none-any.whl (326 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 326.8/326.8 KB 34.9 MB/s eta 0:00:00 Collecting flask-dropzone==1.5.3 Downloading Flask_Dropzone-1.5.3-py2.py3-none-any.whl (22 kB) Collecting flask-mail==0.9.1 Downloading Flask-Mail-0.9.1.tar.gz (45 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 45.7/45.7 KB 8.6 MB/s eta 0:00:00 Preparing metadata (setup.py) ... done Collecting flask-migrate==2.5.2 Downloading Flask_Migrate-2.5.2-py2.py3-none-any.whl (13 kB) Collecting flask-sqlalchemy==2.5.1 Downloading Flask_SQLAlchemy-2.5.1-py2.py3-none-any.whl (17 kB) Collecting flask-wtf==0.14.2 Downloading Flask_WTF-0.14.2-py2.py3-none-any.whl (14 kB) Collecting flask==1.0 Downloading Flask-1.0-py2.py3-none-any.whl (97 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.8/97.8 KB 16.4 MB/s eta 0:00:00 Collecting greenlet==1.0.0 Downloading greenlet-1.0.0.tar.gz (84 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 84.5/84.5 KB 16.4 MB/s eta 0:00:00 Preparing metadata (setup.py) ... done Collecting itsdangerous==1.1.0 Downloading itsdangerous-1.1.0-py2.py3-none-any.whl (16 kB) Collecting jinja2==2.11.3 Downloading Jinja2-2.11.3-py2.py3-none-any.whl (125 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 125.7/125.7 KB 21.7 MB/s eta 0:00:00 Collecting jsmin==2.2.2 Downloading jsmin-2.2.2.tar.gz (12 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [1 lines of output] error in jsmin setup command: use_2to3 is invalid. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details.
Python 3.10.6
Python 3.10.6