|
发表于 2021-7-4 19:26:03
|
显示全部楼层
本帖最后由 t122345 于 2021-7-4 19:35 编辑
我的也是,python3.9.6和3.8.10执行pip3 install homeassitant后都出错,显示Collecting MarkupSafe>=2.0
Downloading MarkupSafe-2.0.1-cp38-cp38-win_amd64.whl (14 kB)
Using legacy 'setup.py install' for ciso8601, since package 'wheel' is not installed.
Using legacy 'setup.py install' for python-slugify, since package 'wheel' is not installed.
Using legacy 'setup.py install' for ruamel.yaml, since package 'wheel' is not installed.
Installing collected packages: sniffio, idna, rfc3986, pycparser, multidict, h11, anyio, yarl, voluptuous, urllib3, typing-extensions, text-unidecode, six, pytz, MarkupSafe, httpcore, chardet, cffi, certifi, attrs, async-timeout, voluptuous-serialize, ruamel.yaml, requests, pyyaml, python-slugify, PyJWT, pip, jinja2, httpx, cryptography, ciso8601, bcrypt, backports.zoneinfo, awesomeversion, astral, aiohttp, homeassistant
Running setup.py install for ruamel.yaml ... done
Running setup.py install for python-slugify ... done
Attempting uninstall: pip
Found existing installation: pip 21.1.1
Uninstalling pip-21.1.1:
ERROR: Could not install packages due to an OSError: [WinError 5] 拒绝访问。: 'd:\\python38\\scripts\\pip3.exe'
Consider using the `--user` option or check the permissions.
这个时候pip已被卸载,不知是什么原因,安装3.7.3版吧,这个版本我的没问题。
C:\Users\Administrator\Documents\360截图\360.jpg
|
-
|