You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, It generates error to process mach commend:
"/home/dy3199/servo/python/_virtualenv3.10/bin/python" "-m" "pip" "install" "-I" "-r" "/home/dy3199/servo/python/requirements.txt" failed with error code 1:
Output:
Error:
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/home/dy3199/servo/python/_virtualenv3.10/lib/python3.10/site-packages/pip/__main__.py", line 19, in <module>
sys.exit(_main())
File "/home/dy3199/servo/python/_virtualenv3.10/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/dy3199/servo/python/_virtualenv3.10/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/dy3199/servo/python/_virtualenv3.10/lib/python3.10/site-packages/pip/_internal/commands/install.py", line 24, in <module>
from pip._internal.cli.req_command import RequirementCommand
File "/home/dy3199/servo/python/_virtualenv3.10/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/dy3199/servo/python/_virtualenv3.10/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/dy3199/servo/python/_virtualenv3.10/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/dy3199/servo/python/_virtualenv3.10/lib/python3.10/site-packages/pip/_vendor/__init__.py)
To solve this issue, I reset python3.10 to use commend(curl -sS https://bootstrap.pypa.io/get-pip.py | python3.10)
However, it still has problem to use mach commend( python3.10 ./mach bootstrap , python3.10 ./mach build --release)
Is there any solution?? Thank you!
Have a nice day :)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have some problem to process build commend :
python3.10 ./mach bootstrap
My environment of python and pip like below :
However, It generates error to process mach commend:
To solve this issue, I reset python3.10 to use commend(
curl -sS https://bootstrap.pypa.io/get-pip.py | python3.10
)However, it still has problem to use mach commend( python3.10 ./mach bootstrap , python3.10 ./mach build --release)
Is there any solution?? Thank you!
Have a nice day :)
Beta Was this translation helpful? Give feedback.
All reactions