foxlet / macOS-Simple-KVM

Tools to set up a quick macOS VM in QEMU, accelerated by KVM.
13.64k stars 1.14k forks source link

Ubuntu 16.04 (python 3.5) ./jumpstart.sh fails #392

Open ouboub opened 3 years ago

ouboub commented 3 years ago

Hi

I clone the repository and run /jumpstart.sh to obtain

Traceback (most recent call last): File "/usr/bin/pip3", line 9, in from pip import main ImportError: cannot import name 'main' Traceback (most recent call last): File "fetch-macos.py", line 9, in import click ImportError: No module named 'click'

is my python 3.5 installation too old?

What can I do

btallin commented 3 years ago

It looks like you're just missing the click library. Can you run pip3 list | grep click? If it doesn't return anything then you can install it by runnimg pip3 install --user click. NOTE: changing your system python environment could have unwanted side effects so proceed with caution and backup before hand.

ouboub commented 3 years ago

"BT" == Ben Tallin notifications@github.com writes:

It looks like you're just missing the click library. Can you run pip3 list | grep click? If it doesn't return anything then you can install it by runnimg pip3 install --user click. NOTE: changing your system python environment could have unwanted side effects so proceed with caution and backup before hand.

I think there is a problem with pip3

pip3 list | grep click Traceback (most recent call last): File "/usr/bin/pip3", line 9, in from pip import main ImportError: cannot import name 'main'

Not sure how to proceed.

Masamune3210 commented 3 years ago

pip is broken in your install if not python entirely. Unless something is special about your environment it might just be easier to uninstall and reinstall python and pip and try again