Skip to content

Preparing metadata (setup.py) ... error #40

@gil5033

Description

@gil5033

PS C:\xampp\htdocs\smpa> C:\miniconda3\python.exe -m pip install --upgrade pip
Requirement already satisfied: pip in c:\miniconda3\lib\site-packages (24.0)
Collecting pip
Using cached pip-24.3.1-py3-none-any.whl.metadata (3.7 kB)
Using cached pip-24.3.1-py3-none-any.whl (1.8 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 24.0
Uninstalling pip-24.0:
Successfully uninstalled pip-24.0
Successfully installed pip-24.3.1
PS C:\xampp\htdocs\smpa> pip install -r requirements.txt
Collecting https://pypi.anaconda.org/berber/simple/tweet-preprocessor/0.5.0/tweet-preprocessor-0.5.0.tar.gz (from -r requirements.txt (line 17))
Downloading https://pypi.anaconda.org/berber/simple/tweet-preprocessor/0.5.0/tweet-preprocessor-0.5.0.tar.gz (6.3 kB)
Preparing metadata (setup.py) ... done
Collecting tensorflow (from -r requirements.txt (line 1))
Using cached tensorflow-2.18.0-cp312-cp312-win_amd64.whl.metadata (3.3 kB)
Collecting nltk==3.5 (from -r requirements.txt (line 2))
Using cached nltk-3.5.zip (1.4 MB)
Preparing metadata (setup.py) ... done
Collecting keras (from -r requirements.txt (line 3))
Using cached keras-3.7.0-py3-none-any.whl.metadata (5.8 kB)
Requirement already satisfied: numpy in c:\miniconda3\lib\site-packages (from -r requirements.txt (line 4)) (2.1.3)
Collecting streamlit==0.52.1 (from -r requirements.txt (line 5))
Using cached streamlit-0.52.1-py2.py3-none-any.whl.metadata (957 bytes)
Collecting seaborn==0.11.1 (from -r requirements.txt (line 6))
Using cached seaborn-0.11.1-py3-none-any.whl.metadata (2.3 kB)
Collecting tweepy (from -r requirements.txt (line 7))
Using cached tweepy-4.14.0-py3-none-any.whl.metadata (3.8 kB)
Collecting textblob==0.15.3 (from -r requirements.txt (line 8))
Using cached textblob-0.15.3-py2.py3-none-any.whl.metadata (4.2 kB)
Collecting flask (from -r requirements.txt (line 9))
Using cached flask-3.1.0-py3-none-any.whl.metadata (2.7 kB)
Requirement already satisfied: pandas in c:\miniconda3\lib\site-packages (from -r requirements.txt (line 10)) (2.2.3)
Collecting matplotlib (from -r requirements.txt (line 11))
Using cached matplotlib-3.9.3-cp312-cp312-win_amd64.whl.metadata (11 kB)
Collecting scikit_learn (from -r requirements.txt (line 12))
Using cached scikit_learn-1.6.0-cp312-cp312-win_amd64.whl.metadata (15 kB)
Collecting statsmodels (from -r requirements.txt (line 13))
Using cached statsmodels-0.14.4-cp312-cp312-win_amd64.whl.metadata (9.5 kB)
Requirement already satisfied: yfinance in c:\miniconda3\lib\site-packages (from -r requirements.txt (line 14)) (0.2.50)
Collecting alpha_vantage==2.3.1 (from -r requirements.txt (line 15))
Using cached alpha_vantage-2.3.1-py3-none-any.whl.metadata (12 kB)
Collecting gunicorn (from -r requirements.txt (line 16))
Using cached gunicorn-23.0.0-py3-none-any.whl.metadata (4.4 kB)
Collecting click (from nltk==3.5->-r requirements.txt (line 2))
Using cached click-8.1.7-py3-none-any.whl.metadata (3.0 kB)
Collecting joblib (from nltk==3.5->-r requirements.txt (line 2))
Using cached joblib-1.4.2-py3-none-any.whl.metadata (5.4 kB)
Collecting regex (from nltk==3.5->-r requirements.txt (line 2))
Using cached regex-2024.11.6-cp312-cp312-win_amd64.whl.metadata (41 kB)
Requirement already satisfied: tqdm in c:\miniconda3\lib\site-packages (from nltk==3.5->-r requirements.txt (line 2)) (4.66.4)
Collecting altair>=3.2.0 (from streamlit==0.52.1->-r requirements.txt (line 5))
Using cached altair-5.5.0-py3-none-any.whl.metadata (11 kB)
Collecting astor (from streamlit==0.52.1->-r requirements.txt (line 5))
Using cached astor-0.8.1-py2.py3-none-any.whl.metadata (4.2 kB)
Collecting base58 (from streamlit==0.52.1->-r requirements.txt (line 5))
Using cached base58-2.1.1-py3-none-any.whl.metadata (3.1 kB)
Collecting blinker (from streamlit==0.52.1->-r requirements.txt (line 5))
Using cached blinker-1.9.0-py3-none-any.whl.metadata (1.6 kB)
Collecting boto3 (from streamlit==0.52.1->-r requirements.txt (line 5))
Downloading boto3-1.35.80-py3-none-any.whl.metadata (6.7 kB)
Collecting botocore (from streamlit==0.52.1->-r requirements.txt (line 5))
Downloading botocore-1.35.80-py3-none-any.whl.metadata (5.7 kB)
Collecting python-dateutil<=2.8.0 (from streamlit==0.52.1->-r requirements.txt (line 5))
Using cached python_dateutil-2.8.0-py2.py3-none-any.whl.metadata (7.6 kB)
Collecting enum-compat (from streamlit==0.52.1->-r requirements.txt (line 5))
Using cached enum_compat-0.0.3-py3-none-any.whl.metadata (954 bytes)
Collecting future (from streamlit==0.52.1->-r requirements.txt (line 5))
Using cached future-1.0.0-py3-none-any.whl.metadata (4.0 kB)
Collecting pillow>=6.2.0 (from streamlit==0.52.1->-r requirements.txt (line 5))
Using cached pillow-11.0.0-cp312-cp312-win_amd64.whl.metadata (9.3 kB)
Collecting protobuf>=3.6.0 (from streamlit==0.52.1->-r requirements.txt (line 5))
Using cached protobuf-5.29.1-cp310-abi3-win_amd64.whl.metadata (592 bytes)
Requirement already satisfied: requests in c:\miniconda3\lib\site-packages (from streamlit==0.52.1->-r requirements.txt (line 5)) (2.32.2)
Collecting toml (from streamlit==0.52.1->-r requirements.txt (line 5))
Using cached toml-0.10.2-py2.py3-none-any.whl.metadata (7.1 kB)
Collecting tornado<6.0,>=5.0 (from streamlit==0.52.1->-r requirements.txt (line 5))
Using cached tornado-5.1.1.tar.gz (516 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\GIL-LOCAL\AppData\Local\Temp\pip-install-4_i3tlev\tornado_97c95163ea044c57a9e528f18fde4e6f\setup.py", line 146, in
raise ImportError("Tornado requires an up-to-date SSL module. This means "
ImportError: Tornado requires an up-to-date SSL module. This means Python 2.7.9+ or 3.4+ (although some distributions have backported the necessary changes to older versions).
[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.
PS C:\xampp\htdocs\smpa>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions