GoogleCloudPlatform / gce-rescue

GCE Rescue is a command-line tool to boot Google Cloud Platform VMs in Rescue Mode. Topics
Apache License 2.0
39 stars 3 forks source link

importlib.metadata.PackageNotFoundError: No package metadata was found for gce-rescue #44

Open bskou57 opened 6 months ago

bskou57 commented 6 months ago

Hi

Can you please advise on below error message ?

importlib.metadata.PackageNotFoundError: No package metadata was found for gce-rescue cq032_t1@cloudshell:~ (dbg-clearstream-simu-fe9d0e70)$ gce-rescue -z europe-west3-a - Traceback (most recent call last): File "/home/cq032_t1/.local/bin/gce-rescue", line 33, in sys.exit(load_entry_point('gce-rescue==0.4b0', 'console_scripts', 'gce-rescue')() File "/home/cq032_t1/.local/bin/gce-rescue", line 22, in importlib_load_entry_point for entry_point in distribution(dist_name).entry_points File "/usr/lib/python3.10/importlib/metadata/init.py", line 969, in distributio return Distribution.from_name(distribution_name) File "/usr/lib/python3.10/importlib/metadata/init.py", line 548, in from_name raise PackageNotFoundError(name) importlib.metadata.PackageNotFoundError: No package metadata was found for gce-rescue

Thanks for your help

halleysouza commented 6 months ago

Can you pls share more info ?

I can see you are running from Cloudshell, but how did you install gce-rescue ?