mycroft-precise icon indicating copy to clipboard operation
mycroft-precise copied to clipboard

Got this error pls check

Open supreet21 opened this issue 5 years ago • 0 comments

Got this error pls check

(.venv) ubuntu@conducive-ringtail:~/mycroft-precise$ sudo python3 -m pip install cython Traceback (most recent call last): File "/usr/lib/python3/dist-packages/pip/_vendor/init.py", line 33, in vendored import(vendored_name, globals(), locals(), level=0) ModuleNotFoundError: No module named 'pip._vendor.cachecontrol'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/lib/python3.6/runpy.py", line 183, in _run_module_as_main mod_name, mod_spec, code = _get_module_details(mod_name, _Error) File "/usr/lib/python3.6/runpy.py", line 142, in _get_module_details return _get_module_details(pkg_main_name, error) File "/usr/lib/python3.6/runpy.py", line 109, in _get_module_details import(pkg_name) File "/usr/lib/python3/dist-packages/pip/init.py", line 22, in from pip._vendor.requests.packages.urllib3.exceptions import DependencyWarning File "/usr/lib/python3/dist-packages/pip/_vendor/init.py", line 64, in vendored("cachecontrol") File "/usr/lib/python3/dist-packages/pip/_vendor/init.py", line 36, in vendored import(modulename, globals(), locals(), level=0) File "", line 971, in _find_and_load File "", line 955, in _find_and_load_unlocked File "", line 656, in _load_unlocked File "", line 626, in _load_backward_compatible File "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/init.py", line 9, in File "", line 971, in _find_and_load File "", line 955, in _find_and_load_unlocked File "", line 656, in _load_unlocked File "", line 626, in _load_backward_compatible File "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/wrapper.py", line 1, in File "", line 971, in _find_and_load File "", line 955, in _find_and_load_unlocked File "", line 656, in _load_unlocked File "", line 626, in _load_backward_compatible File "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/adapter.py", line 4, in File "", line 971, in _find_and_load File "", line 955, in _find_and_load_unlocked File "", line 656, in _load_unlocked File "", line 626, in _load_backward_compatible File "/usr/share/python-wheels/requests-2.18.4-py2.py3-none-any.whl/requests/init.py", line 97, in File "", line 971, in _find_and_load File "", line 955, in _find_and_load_unlocked File "", line 656, in _load_unlocked File "", line 626, in _load_backward_compatible File "/usr/share/python-wheels/requests-2.18.4-py2.py3-none-any.whl/requests/utils.py", line 11, in File "/usr/lib/python3.6/cgi.py", line 42, in import html File "/usr/lib/python3.6/html/init.py", line 6, in from html.entities import html5 as _html5 File "", line 971, in _find_and_load File "", line 955, in _find_and_load_unlocked File "", line 665, in _load_unlocked File "", line 674, in exec_module File "", line 779, in get_code File "", line 487, in _compile_bytecode UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 0-2: invalid continuation byte (.venv) ubuntu@conducive-ringtail:~/mycroft-precise$ pipenv clean pipenv: command not found (.venv) ubuntu@conducive-ringtail:~/mycroft-precise$ pipenv install pipenv: command not found (.venv) ubuntu@conducive-ringtail:~/mycroft-precise$ pip install tensorflow --no-cache-dir Traceback (most recent call last): File "/home/ubuntu/mycroft-precise/.venv/bin/pip", line 8, in sys.exit(main()) File "/home/ubuntu/mycroft-precise/.venv/lib/python3.6/site-packages/pip/_internal/cli/main.py", line 73, in main command = create_command(cmd_name, isolated=("--isolated" in cmd_args)) File "/home/ubuntu/mycroft-precise/.venv/lib/python3.6/site-packages/pip/_internal/commands/init.py", line 96, in create_command module = importlib.import_module(module_path) File "/usr/lib/python3.6/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 994, in _gcd_import File "", line 971, in _find_and_load File "", line 955, in _find_and_load_unlocked File "", line 665, in _load_unlocked File "", line 678, in exec_module File "", line 219, in _call_with_frames_removed File "/home/ubuntu/mycroft-precise/.venv/lib/python3.6/site-packages/pip/_internal/commands/install.py", line 24, in from pip._internal.cli.req_command import RequirementCommand File "/home/ubuntu/mycroft-precise/.venv/lib/python3.6/site-packages/pip/_internal/cli/req_command.py", line 15, in from pip._internal.index.package_finder import PackageFinder File "/home/ubuntu/mycroft-precise/.venv/lib/python3.6/site-packages/pip/_internal/index/package_finder.py", line 21, in from pip._internal.index.collector import parse_links File "/home/ubuntu/mycroft-precise/.venv/lib/python3.6/site-packages/pip/_internal/index/collector.py", line 5, in import cgi File "/usr/lib/python3.6/cgi.py", line 42, in import html File "/usr/lib/python3.6/html/init.py", line 6, in from html.entities import html5 as _html5 File "", line 971, in _find_and_load File "", line 955, in _find_and_load_unlocked File "", line 665, in _load_unlocked File "", line 674, in exec_module File "", line 779, in get_code File "", line 487, in _compile_bytecode UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 0-2: invalid continuation byte

Originally posted by @supreet21 in https://github.com/MycroftAI/mycroft-precise/issues/79#issuecomment-613944505

supreet21 avatar Apr 15 '20 10:04 supreet21