helloflask / helloflask/flask-examples

Preparing metadata (setup.py) error: subprocess-exited-with-error

Open
#20 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
233
Forks
161
PR merge metrics
No merged PRs in 30d

Description

Can you help me run this project by identifying the part that is wrong?
I tried to set up this example.
When running `pip install -r requirements.txt`
My output
```
❯ asdf current
python 3.10.12 /Users/user/helloflask/.tool-versions

# Activated venv

❯ python -V
Python 3.10.12

pip list
Package Version
---------- -------
pip 23.0.1
setuptools 65.5.0

[notice] A new release of pip is available: 23.0.1 -> 23.2.1
[notice] To update, run: pip install --upgrade pip

❯ pip install -r requirements.txt
Looking in indexes: https://pypi.python.org/simple/
Collecting alembic==1.5.8
Using cached alembic-1.5.8-py2.py3-none-any.whl (159 kB)
Collecting blinker==1.4
Using cached blinker-1.4.tar.gz (111 kB)
Preparing metadata (setup.py) ... done
Collecting click==7.1.2
Using cached click-7.1.2-py2.py3-none-any.whl (82 kB)
Collecting cssmin==0.2.0
Using cached cssmin-0.2.0.tar.gz (3.2 kB)
Preparing metadata (setup.py) ... done
Collecting email-validator==1.1.2
Using cached email_validator-1.1.2-py2.py3-none-any.whl (17 kB)
Collecting flask-assets==0.12
Using cached Flask-Assets-0.12.tar.gz (22 kB)
Preparing metadata (setup.py) ... done
Collecting flask-caching==1.7.2
Using cached Flask_Caching-1.7.2-py2.py3-none-any.whl (27 kB)
Collecting flask-ckeditor==0.4.3
Using cached Flask_CKEditor-0.4.3-py2.py3-none-any.whl (4.9 MB)
Collecting flask-debugtoolbar==0.10.1
Using cached Flask_DebugToolbar-0.10.1-py2.py3-none-any.whl (326 kB)
Collecting flask-dropzone==1.5.3
Using cached Flask_Dropzone-1.5.3-py2.py3-none-any.whl (22 kB)
Collecting flask-mail==0.9.1
Using cached Flask-Mail-0.9.1.tar.gz (45 kB)
Preparing metadata (setup.py) ... done
Collecting flask-migrate==2.5.2
Using cached Flask_Migrate-2.5.2-py2.py3-none-any.whl (13 kB)
Collecting flask-sqlalchemy==2.5.1
Using cached Flask_SQLAlchemy-2.5.1-py2.py3-none-any.whl (17 kB)
Collecting flask-wtf==0.14.2
Using cached Flask_WTF-0.14.2-py2.py3-none-any.whl (14 kB)
Collecting flask==1.0
Using cached Flask-1.0-py2.py3-none-any.whl (97 kB)
Collecting greenlet==1.0.0
Using cached greenlet-1.0.0.tar.gz (84 kB)
Preparing metadata (setup.py) ... done
Collecting itsdangerous==1.1.0
Using cached itsdangerous-1.1.0-py2.py3-none-any.whl (16 kB)
Collecting jinja2==2.11.3
Using cached Jinja2-2.11.3-py2.py3-none-any.whl (125 kB)
Collecting jsmin==2.2.2
Using cached 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.

[notice] A new release of pip is available: 23.0.1 -> 23.2.1
[notice] To update, run: pip install --upgrade pip

❯ pip list
Package Version
---------- -------
pip 23.0.1
setuptools 65.5.0

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.