install issue "ModuleNotFoundError: No module named 'pip._internal.operations.build'" #686
Unanswered
hairygodfather
asked this question in
Q&A
Replies: 1 comment
-
fyi. nevermind. not sure what the problem was, but realized the problem wasn't specific to pdfplumber but with all pip install. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
There is an error when trying to install.
I assume I am overlooking something on my side.
Thanks in advance.
`C:\Python>pip install pdfplumber
Traceback (most recent call last):
File "C:\Python\lib\runpy.py", line 196, in run_module_as_main
return run_code(code, main_globals, None,
File "C:\Python\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "C:\Python\Scripts\pip.exe_main.py", line 7, in
File "C:\Python\lib\site-packages\pip_internal\cli\main.py", line 68, in main
command = create_command(cmd_name, isolated=("--isolated" in cmd_args))
File "C:\Python\lib\site-packages\pip_internal\commands_init.py", line 109, in create_command
module = importlib.import_module(module_path)
File "C:\Python\lib\importlib_init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "C:\Python\lib\site-packages\pip_internal\commands\install.py", line 14, in
from pip._internal.cli.req_command import (
File "C:\Python\lib\site-packages\pip_internal\cli\req_command.py", line 21, in
from pip._internal.index.package_finder import PackageFinder
File "C:\Python\lib\site-packages\pip_internal\index\package_finder.py", line 33, in
from pip.internal.req import InstallRequirement
File "C:\Python\lib\site-packages\pip_internal\req_init.py", line 8, in
from .req_install import InstallRequirement
File "C:\Python\lib\site-packages\pip_internal\req\req_install.py", line 30, in
from pip._internal.operations.build.metadata import generate_metadata
ModuleNotFoundError: No module named 'pip._internal.operations.build'
C:\Python>py --version
Python 3.10.5
C:\Python>pip --version
pip 22.1.2 from C:\Python\lib\site-packages\pip (python 3.10)`
Beta Was this translation helpful? Give feedback.
All reactions