Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-u build.py build' failed with exit code 1 #28

Closed
adchdev opened this issue Nov 8, 2022 · 2 comments
Closed

-u build.py build' failed with exit code 1 #28

adchdev opened this issue Nov 8, 2022 · 2 comments

Comments

@adchdev
Copy link

adchdev commented Nov 8, 2022

Problem building wxpython. Already tried this but still get the below.

Checking for header Python.h                          : Distutils not installed? Broken python installation? Get python-config now!
      The configuration failed
      (complete log in /tmp/pip-install-8or1rxz3/wxpython_6001026db67149c2aed0382e7a140ba4/build/waf/3.8/gtk3/config.log)
      Command '"/usr/bin/python3.8" /tmp/pip-install-8or1rxz3/wxpython_6001026db67149c2aed0382e7a140ba4/bin/waf-2.0.24 --wx_config=/tmp/pip-install-8or1rxz3/wxpython_6001026db67149c2aed0382e7a140ba4/build/wxbld/gtk3/wx-config --gtk3 --python="/usr/bin/python3.8" --out=build/waf/3.8/gtk3 configure build ' failed with exit code 1.
      Finished command: build_py (0m2.111s)
      Finished command: build (19m2.947s)
      Command '"/usr/bin/python3.8" -u build.py build' failed with exit code 1.
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for wxpython
  Running setup.py clean for wxpython
Failed to build wxpython
Installing collected packages: wxpython, pandas, contourpy, beautifulsoup4, matplotlib, Gooey, seaborn
  Running setup.py install for wxpython ... error
  error: subprocess-exited-with-error
  
  × Running setup.py install for wxpython did not run successfully.
  │ exit code: 1
  ╰─> [63 lines of output]

and

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

× Encountered error while trying to install package.
╰─> wxpython
@PROxZIMA
Copy link
Owner

PROxZIMA commented Nov 8, 2022

Actually, this bug is related to wxpython but still try installing the wheel file manually from https://extras.wxpython.org/wxPython4/extras/linux/

@adchdev
Copy link
Author

adchdev commented Nov 10, 2022

Fixed with:

sudo pip install -U -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-20.04 wxPython

@adchdev adchdev closed this as completed Nov 10, 2022
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

No branches or pull requests

2 participants