Python 2.7 - pathlib2 - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: Python 2.7 - pathlib2 (/thread-36806.html) |
Python 2.7 - pathlib2 - Clives - Apr-01-2022 Greetings, I have spent about three hours getting errors, to find out which python libraries are not installed on an offline Linux 86_64 instance. After installing: six and scandir. I installed pathlib2. When I run python and import pathlib2, get the following error??? file "<stdin>", line 1, in <module> file "build/bdist.linux-86_64/egg/pathlib2/__init__.py" line 13 in <module> ImportError: cannot import name Type Any suggestions what this means, and how to resolve it??? Any pointers appreciated. Thanks, Clive |