please icon indicating copy to clipboard operation
please copied to clipboard

Error Since Upgrade to Python 3.11

Open LinuxAndCoffee opened this issue 1 year ago • 3 comments

When I open my terminal after upgrading to Python 3.11 I get the following errors:

Traceback (most recent call last): File "/usr/lib/python3.11/importlib/metadata/init.py", line 563, in from_name return next(cls.discover(name=name)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ StopIteration

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/bin/please", line 33, in sys.exit(load_entry_point('please-cli==0.3.1', 'console_scripts', 'please')()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/bin/please", line 22, in importlib_load_entry_point for entry_point in distribution(dist_name).entry_points ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/importlib/metadata/init.py", line 981, in distribution return Distribution.from_name(distribution_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/importlib/metadata/init.py", line 565, in from_name raise PackageNotFoundError(name) importlib.metadata.PackageNotFoundError: No package metadata was found for please-cli

Please let me know if I can provide any additional information to help with this. And thank you for building Please, it always brings a smile to my face when I launch my terminal. :)

LinuxAndCoffee avatar May 09 '23 12:05 LinuxAndCoffee

It seems that Python 3.11 is not supported. Would it be possible for you to install Python 3.10?

python3.10 -m pip install please-cli

NayamAmarshe avatar May 09 '23 12:05 NayamAmarshe

Silly question: can I have both Python 3.11 and Python 3.10 installed at the same time?

LinuxAndCoffee avatar May 09 '23 13:05 LinuxAndCoffee

Silly question: can I have both Python 3.11 and Python 3.10 installed at the same time?

Yes of course!

NayamAmarshe avatar May 09 '23 13:05 NayamAmarshe