OSX: "ImportError: No module named pathlib"
See original GitHub issueHi, I’m trying to install and I get this error:
$ fuck
Traceback (most recent call last):
File "/usr/local/bin/thefuck", line 7, in <module>
from thefuck.main import main
File "/Library/Python/2.7/site-packages/thefuck/main.py", line 2, in <module>
from pathlib import Path
ImportError: No module named pathlib
I tried updating setup by following the instructions in #218. Running OSX 10.10.4, Python 2.7.6, and pip 7.1.0. Any ideas?
Issue Analytics
- State:
- Created 8 years ago
- Reactions:2
- Comments:10
Top Results From Across the Web
ImportError: No module named pathlib - python 2.7
ImportError: No module named pathlib · normally, this means that the python binary you are using isn't the same as the one that...
Read more >importerror: no module named pathlib ( Solved )
Importerror: no module named pathlib error occurs especially in the lower version of the python (< 3.4 ) because of incompatibility pathlib module....
Read more >OS X pathlib ImportError: No module named pathlib - Reddit
I created and activated virtualenv named venv using Anaconda python 3.6.5 then pip installed pathlib into venv.
Read more >ImportError: No module named pathlib – iTecNote
I have the following when I run pip list – I am on 2.7 over mac os: ➜ python --version Python 2.7.10 ➜...
Read more >Trouble creating a new project - Troubleshooting and Support
... in <module> import pathlib ImportError: No module named pathlib. In case it matters, I am on an M1 mac using the zsh...
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 FreeTop 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
Top GitHub Comments
I tried
and it works for me 😃
👍 Worked for me too.