Installation via pip fails needing pathlib2
See original GitHub issueExpected: easy installation via pip3 install gooey
😃
Problem: pip3 install gooey
fails.
Description: It prints
File "build.py", line 30, in <module> import pathlib2
…
ModuleNotFoundError: No module named 'pathlib2'
,
I wonder, since pathlib2 is a python2 module, whereas I installed this for python 3 (which, under ubuntu, is aliased to python3
and pip3
). Maybe it’s this wxPythons fault…
System:
- Ubuntu 18.04 amd65,
- Python 3.6.8
- No virtualenv used (but I could)
Me: basic python knowledge, in case I should look anything up.
related: #243 ("Add install workaround for (ubuntu, conda) installation ")
Issue Analytics
- State:
- Created 4 years ago
- Reactions:5
- Comments:5
Top Results From Across the Web
When running pip install channels I get the following this error
Run on command line: pip install pathlib. or on Linux sudo pip install pathlib.
Read more >pipenv Documentation - Read the Docs
The Pipfile is used to track which dependencies your project needs in case you need to re-install them, such as when you share...
Read more >Snap2stamps error - StaMPS - STEP Forum
i installed pathlib2 but the error comes up again. “Traceback (most recent call last): File “slaves_prep.py”, line 16, in from pathlib import ...
Read more >Poetry: Dependency Management for Python - PyPI
Poetry helps you declare, manage and install dependencies of Python projects, ensuring you have the right stack everywhere. Poet Install. The package is...
Read more >Ubuntu VM python2 pathlib intstall error [duplicate]
I installed python 2. One of the scripts need the module pathlib . Tried to install it but got a error message: ~/Desktop$...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This is fixed in
wxpython
4.0.7 and onwards.Same here yesterday.
It seems pathlib2 is a dependency of wxpython. Even after
pip install pathlib2
, I had issues with building wxpython from pip (Ubuntu 16.04 LTS) with missing dependencies.In the end I resolved it by installing
wxpython
with conda in my conda environment before installing Gooey:You can also install Gooey with conda, but currently you get the
1.0.2
version.1.0.3
has many improvements over1.0.2
which I required.