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

4.0.6 - dependence on pathlib2 #1251

Closed
2sn opened this issue Jun 3, 2019 · 1 comment
Closed

4.0.6 - dependence on pathlib2 #1251

2sn opened this issue Jun 3, 2019 · 1 comment

Comments

@2sn
Copy link

2sn commented Jun 3, 2019

Operating system: Fedora 30
wxPython version & source: pip (pypi)
Python version & source: 3.7.3, stock, self-built from source

Description of the problem:

pip install -U (pip install) does not appear to contain explicitly dependence on pathlib2. At least not for me. Could this please be added?

  Found existing installation: wxPython 4.0.4
    Uninstalling wxPython-4.0.4:
      Successfully uninstalled wxPython-4.0.4
  Running setup.py install for wxPython ... error
    ERROR: Complete output from command /home/alex/Python/bin/python3.7 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-on274kmk/wxPython/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-4ki4ru1z/install-record.txt --single-version-externally-managed --compile:
    ERROR: running install
    running build
    WARNING: Building this way assumes that all generated files have been
    generated already.  If that is not the case then use build.py directly
    to generate the source and perform the build stage.  You can use
    --skip-build with the bdist_* or install commands to avoid this
    message and the wxWidgets and Phoenix build steps in the future.
    
    "/home/alex/Python/bin/python3.7" -u build.py build
    Traceback (most recent call last):
      File "build.py", line 30, in <module>
        import pathlib2
    ModuleNotFoundError: No module named 'pathlib2'
    Command '"/home/alex/Python/bin/python3.7" -u build.py build' failed with exit code 1.
    ----------------------------------------
  Rolling back uninstall of wxPython

The error message should not occur, pathlib2 should have been installed before as prerequisite.

@syhe
Copy link

syhe commented Nov 27, 2019

This seems to have been fixed in 4.0.7 by #1241

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

3 participants