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

Error Since Upgrade to Python 3.11 #48

Open
LinuxAndCoffee opened this issue May 9, 2023 · 3 comments
Open

Error Since Upgrade to Python 3.11 #48

LinuxAndCoffee opened this issue May 9, 2023 · 3 comments

Comments

@LinuxAndCoffee
Copy link

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. :)

@NayamAmarshe
Copy link
Owner

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

@LinuxAndCoffee
Copy link
Author

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

@NayamAmarshe
Copy link
Owner

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

Yes of course!

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