-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
pipenv install fails with python3.9.0a2 #4096
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
Comments
As per the discussion in html5lib/html5lib-python#419 , seems like the removal of the deprecated abstract base classes from the
|
Stops working in 3.10 on Ubuntu 22.04 |
Ubuntu 20.04 defaults to 3.10 and breaks the version of pipenv in apt: $ python --version
Python 3.10.4 $ pipenv --version
Traceback (most recent call last):
File "/usr/bin/pipenv", line 33, in <module>
sys.exit(load_entry_point('pipenv==11.9.0', 'console_scripts', 'pipenv')())
File "/usr/lib/python3/dist-packages/pipenv/vendor/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/pipenv/vendor/click/core.py", line 696, in main
with self.make_context(prog_name, args, **extra) as ctx:
File "/usr/lib/python3/dist-packages/pipenv/vendor/click/core.py", line 621, in make_context
self.parse_args(ctx, args)
File "/usr/lib/python3/dist-packages/pipenv/vendor/click/core.py", line 1018, in parse_args
rest = Command.parse_args(self, ctx, args)
File "/usr/lib/python3/dist-packages/pipenv/vendor/click/core.py", line 875, in parse_args
parser = self.make_parser(ctx)
File "/usr/lib/python3/dist-packages/pipenv/vendor/click/core.py", line 821, in make_parser
for param in self.get_params(ctx):
File "/usr/lib/python3/dist-packages/pipenv/vendor/click/core.py", line 774, in get_params
help_option = self.get_help_option(ctx)
File "/usr/lib/python3/dist-packages/pipenv/cli.py", line 26, in get_help_option
from .import core
File "/usr/lib/python3/dist-packages/pipenv/core.py", line 21, in <module>
import requests
File "/usr/lib/python3/dist-packages/pipenv/vendor/requests/__init__.py", line 65, in <module>
from . import utils
File "/usr/lib/python3/dist-packages/pipenv/vendor/requests/utils.py", line 27, in <module>
from .cookies import RequestsCookieJar, cookiejar_from_dict
File "/usr/lib/python3/dist-packages/pipenv/vendor/requests/cookies.py", line 172, in <module>
class RequestsCookieJar(cookielib.CookieJar, collections.MutableMapping):
AttributeError: module 'collections' has no attribute 'MutableMapping' |
@ajvogel and @tomjowitt -- Need more details -- what you are reporting is technically a new/different issue from this report and this original report should have been closed apparently when it was resolved in 2020.
Isn't the version of pipenv in apt so old that it should never be used ever again? Yeah, that seems to be true. https://packages.ubuntu.com/jammy/pipenv is https://pypi.org/project/pipenv/11.9.0/ We don't maintain the aptitude package so I think this won't be solved in this backlog. Essentially you want to do a --user install of the latest pipenv to get all of those things that are already fixed. |
Hello,
Here's my stack trace. Am I doing something wrong or is it something that should be fixed?
The text was updated successfully, but these errors were encountered: