欢迎光临散文网 会员登陆 & 注册

win10安装homeassistant出错记录(未解决)

2022-03-09 21:54 作者:学的很杂的一个人  | 我要投稿


win10调出命令行,输入python回车看版本

安装命令:pip install homeassistant -i https://pypi.mirrors.ustc.edu.cn/simple/

1
2
出错了:

ERROR: Cannot uninstall 'PyYAML'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.


忽略安装PyYAML试试:

pip install homeassistant -i https://pypi.mirrors.ustc.edu.cn/simple/ --ignore-installed PyYAML

又出错了:

ERROR: spyder 4.1.4 requires pyqt5<5.13; python_version >= "3", which is not installed.
ERROR: spyder 4.1.4 requires pyqtwebengine<5.13; python_version >= "3", which is not installed.
Installing collected packages: certifi, urllib3, idna, charset-normalizer, requests, pip, voluptuous, ifaddr, backports.zoneinfo, MarkupSafe, jinja2, pycparser, cffi, cryptography, typing-extensions, async-timeout, sniffio, h11, anyio, httpcore, rfc3986, httpx, voluptuous-serialize, PyYAML, multidict, yarl, text-unidecode, python-slugify, PyJWT, frozenlist, aiosignal, attrs, aiohttp, pytz, astral, ciso8601, awesomeversion, atomicwrites, six, bcrypt, homeassistant
  WARNING: Failed to write executable - trying to use .deleteme logic
ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。: 'D:\\anaconda3\\Lib\\site-packages\\_cffi_backend.cp38-win_amd64.pyd'
Consider using the `--user` option or check the permissions.:



2022-3-9 21:44 这些错误,我暂时无解,先放这里备忘



win10安装homeassistant出错记录(未解决)的评论 (共 条)

分享到微博请遵守国家法律