Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python 2.7 - pathlib2
#1
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
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020