Skip to content

Bugfix: For failed pip installs - #6

Closed
joeflack4 wants to merge 1 commit into
UWMooneyLab:masterfrom
joeflack4:patch-1
Closed

Bugfix: For failed pip installs#6
joeflack4 wants to merge 1 commit into
UWMooneyLab:masterfrom
joeflack4:patch-1

Conversation

@joeflack4

Copy link
Copy Markdown

Installs fine now with this change of MarkupSafe from 1.0 to 2.1.1

@joeflack4

joeflack4 commented Sep 23, 2022

Copy link
Copy Markdown
Author

Addresses: #4

@joeflack4 joeflack4 mentioned this pull request Sep 23, 2022
@joeflack4 joeflack4 closed this Sep 23, 2022
@joeflack4

Copy link
Copy Markdown
Author

Needs more than just this. Pip install still fails, probably as a result of transitive dependency collision.

(env) pip install --upgrade pip; pip install -r requirements.txt
Requirement already satisfied: pip in ./env/lib/python3.9/site-packages (22.2.2)
Requirement already satisfied: certifi==2018.4.16 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 1)) (2018.4.16)
Requirement already satisfied: click==6.7 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 2)) (6.7)
Collecting Flask==1.0.2
  Using cached Flask-1.0.2-py2.py3-none-any.whl (91 kB)
Requirement already satisfied: itsdangerous==0.24 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 4)) (0.24)
Collecting Jinja2==2.10.1
  Using cached Jinja2-2.10.1-py2.py3-none-any.whl (124 kB)
Requirement already satisfied: MarkupSafe==2.1.1 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 6)) (2.1.1)
Collecting numpy==1.15.0
  Using cached numpy-1.15.0.zip (4.5 MB)
  Preparing metadata (setup.py) ... done
Collecting pandas==0.23.3
  Using cached pandas-0.23.3.tar.gz (10.5 MB)
  Preparing metadata (setup.py) ... done
Requirement already satisfied: python-dateutil==2.7.3 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 9)) (2.7.3)
Requirement already satisfied: pytz==2018.5 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 10)) (2018.5)
Requirement already satisfied: six==1.11.0 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 11)) (1.11.0)
Requirement already satisfied: Werkzeug==0.15.3 in ./env/lib/python3.9/site-packages (from -r requirements.txt (line 12)) (0.15.3)
Building wheels for collected packages: numpy, pandas
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
  Building wheel for numpy (setup.py) ... error
  ERROR: Failed building wheel for numpy
  Running setup.py clean for numpy
  error: subprocess-exited-with-error

  × python setup.py clean did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed cleaning build dir for numpy
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
  Building wheel for pandas (setup.py) ... error
  ERROR: Failed building wheel for pandas
  Running setup.py clean for pandas
Failed to build numpy pandas
Installing collected packages: numpy, Jinja2, pandas, Flask
  error: subprocess-exited-with-error

  × Running setup.py install for numpy did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
  Running setup.py install for numpy ... error
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> numpy

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

@joeflack4
joeflack4 deleted the patch-1 branch September 23, 2022 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant