Evertras / lakitu

A playground for tiny virtual cloud things
MIT License
5 stars 1 forks source link

make ansible-ping issue (solution found) #7

Open TomyYamy opened 1 month ago

TomyYamy commented 1 month ago

Maybe it is minor my environment issue. I faced

(.venv) xxx:~/Repos/lakitu$ make ansible-ping
./.venv/bin/pip install ansible
Traceback (most recent call last):
  File "./.venv/bin/pip", line 7, in <module>
    from pip import main
ModuleNotFoundError: No module named 'pip'
make: *** [Makefile:97: .venv/bin/ansible] Error 1

It seems to be venv issue, https://stackoverflow.com/questions/21826859/setting-up-a-virtualenv-no-module-named-pip in conclusion, we may go through it with

python -m ensurepip --default-pip

May I update README.md and PR?

Evertras commented 1 month ago

Is this still happening with the latest? The updated requirements changes in the Makefile should hopefully have fixed this.

TomyYamy commented 1 month ago

It is happening even at the latest 599b472feb69893bfae48ec664236b5f4ff30d41.

TomyYamy commented 2 weeks ago

May I add it to trouble shoot?