使用Pip(PyQt5)安装包装时出错

时间:2020-04-14 11:04:12

标签: python pyqt5

尝试在cmd上安装Pyqt5我收到以下错误 我已经安装了anaconda&co。 已经尝试重新安装/升级pip,但是我收到相同的错误。

尝试使用conda似乎无法解决问题。

我绝对是菜鸟,所以我不知道从哪里开始修复它。

ERROR: Exception:
Traceback (most recent call last):
  File "C:\Program Files (x86)\Python38-32\lib\site-packages\pip\_internal\cli\base_command.py", line 186, in _main
    status = self.run(options, args)
  File "C:\Program Files (x86)\Python38-32\lib\site-packages\pip\_internal\commands\install.py", line 253, in run
    options.use_user_site = decide_user_install(
  File "C:\Program Files (x86)\Python38-32\lib\site-packages\pip\_internal\commands\install.py", line 604, in decide_user_install
    if site_packages_writable(root=root_path, isolated=isolated_mode):
  File "C:\Program Files (x86)\Python38-32\lib\site-packages\pip\_internal\commands\install.py", line 548, in site_packages_writable
    return all(
  File "C:\Program Files (x86)\Python38-32\lib\site-packages\pip\_internal\commands\install.py", line 549, in <genexpr>
    test_writable_dir(d) for d in set(get_lib_location_guesses(**kwargs))
  File "C:\Program Files (x86)\Python38-32\lib\site-packages\pip\_internal\utils\filesystem.py", line 140, in test_writable_dir
    return _test_writable_dir_win(path)
  File "C:\Program Files (x86)\Python38-32\lib\site-packages\pip\_internal\utils\filesystem.py", line 153, in _test_writable_dir_win
    fd = os.open(file, os.O_RDWR | os.O_CREAT | os.O_EXCL)
PermissionError: [Errno 13] Permission denied: 'C:\\Program Files (x86)\\Python38-32\\Lib\\site-packages\\accesstest_deleteme_fishfingers_custard_iwv0w9'

0 个答案:

没有答案