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

pip install ccm gives errror: "ImportError: No module named pathlib" #745

Open
pluraltouch opened this issue Oct 14, 2022 · 4 comments
Open

Comments

@pluraltouch
Copy link

Hi,

I have python 2.7.18 on RHEL 7.9, pip version 8.1.2, I've already installed pathlib2 via pip install pathlib2 with success.
However pip install ccm gives the following error:

Any help appreciated

Collecting ccm
Using cached https://files.pythonhosted.org/packages/f1/12/091e82033d53b3802e1ead6b16045c5ecfb03374f8586a4ae4673a914c1a/ccm-3.1.5.tar.gz
Collecting pyYaml (from ccm)
Using cached https://files.pythonhosted.org/packages/36/2b/61d51a2c4f25ef062ae3f74576b01638bebad5e045f747ff12643df63844/PyYAML-6.0.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-build-I9s1ko/pyYaml/setup.py", line 67, in
import sys, os, os.path, pathlib, platform, shutil, tempfile, warnings
ImportError: No module named pathlib

@pluraltouch
Copy link
Author

pluraltouch commented Oct 14, 2022

Sorry this was early... Solved by: python -m pip install --upgrade "pip < 21.0"

@tiagomlalves
Copy link
Collaborator

@pluraltouch do you think it would be valuable to add that information to https://github.com/riptano/ccm/blob/master/README.md ?

@pluraltouch
Copy link
Author

pluraltouch commented Oct 18, 2022

Many thx for paying attention. I think pip version could qualify as a requirement, however I am not sure what would be the minimum expected pip version.

@tiagomlalves
Copy link
Collaborator

Use the latest version known to work (i.e. the one you used - that already helps)

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

2 participants