pipenv install xxx package error in python 3.10 version
See original GitHub issue- ubuntu 20.04
- python 3.10.4
- pipenv --version version 11.9.0
- pipenv shell (working fine)
- pipenv install celery (error)
Installing celery…
⠇
Error: An error occurred while installing celery!
Traceback (most recent call last):
File "/home/xx/.local/share/virtualenvs/yy-VQZGIAqw/bin/pip", line 8, in <module>
sys.exit(main())
File "/home/xx/.local/share/virtualenvs/yy-VQZGIAqw/lib/python3.10/site-packages/pip/_internal/cli/main.py", line 73, in main
command = create_command(cmd_name, isolated=("--isolated" in cmd_args))
File "/home/xx/.local/share/virtualenvs/yy-VQZGIAqw/lib/python3.10/site-packages/pip/_internal/commands/__init__.py", line 96, in create_command
module = importlib.import_module(module_path)
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/home/xx/.local/share/virtualenvs/yy-VQZGIAqw/lib/python3.10/site-packages/pip/_internal/commands/install.py", line 24, in <module>
from pip._internal.cli.req_command import RequirementCommand
File "/home/xx/.local/share/virtualenvs/yy-VQZGIAqw/lib/python3.10/site-packages/pip/_internal/cli/req_command.py", line 15, in <module>
from pip._internal.index.package_finder import PackageFinder
File "/home/xx/.local/share/virtualenvs/yy-VQZGIAqw/lib/python3.10/site-packages/pip/_internal/index/package_finder.py", line 21, in <module>
from pip._internal.index.collector import parse_links
File "/home/xx/.local/share/virtualenvs/yy-VQZGIAqw/lib/python3.10/site-packages/pip/_internal/index/collector.py", line 12, in <module>
from pip._vendor import html5lib, requests
ImportError: cannot import name 'html5lib' from 'pip._vendor' (/home/xx/.local/share/virtualenvs/yy-VQZGIAqw/lib/python3.10/site-packages/pip/_vendor/__init__.py)
How to solve this error?
Issue Analytics
- State:
- Created a year ago
- Comments:13
Top Results From Across the Web
'pipenv install <package>' fails on fresh python3.10 installation
After installing the Python 3.9.12 (don't forget to tick the "Add Python to PATH" checkbox), the problem will be resolved.
Read more >Why you should use Poetry instead of Pip or Conda for Python ...
I know, “ditch xx totally” is a pretty strong phrase right there, but I have my reasons for saying this. Pre-installed packages in...
Read more >Install and Setup | ArcGIS API for Python
Installation using Python Package Manager · Click on 'Add Packages' button and type package name into the search bar. · Select the release...
Read more >Appium-Python-Client - PyPI
Python client for Appium. ... Since v2.0.0, the base selenium client version is v4. The version only ... cd Appium-Python-Client-X.X python setup.py install....
Read more >What's New In Python 3.11 — Python 3.11.1 documentation
Summary – Release highlights¶. Python 3.11 is between 10-60% faster than Python 3.10. On average, we measured a 1.25x speedup on the standard...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The new version of
pipenv==2022.8.5
should not depend on the system/user installed pip.@agpldev I don’t recommend folks to use DeadSnakes in a production or critical environment.
From their own page: https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa