我最近开始学习Python,我有两个与模块有关的问题.
我安装了 python-certifi-win32 包,之后,当我导入任何内容或 pip install 任何内容时,出现以下错误,失败并出现 PermissionError 的最终错误。
我尝试重新启动盒子。它不起作用。我无法卸载该软件包,因为 pip 也出错了。
我无法弄清楚发生此错误的确切原因。它似乎不是特定于代码的,似乎与我安装的库有关
PS C:\Users\visha\PycharmProjects\master_test_runner> pip install python-certifi-win32
Traceback (most recent call last):
File "C:\Users\visha\AppData\Local\Programs\Python\Python310\lib\importlib\_common.py", line 89, in _tempfile
os.write(fd, reader())
File "C:\Users\visha\AppData\Local\Programs\Python\Python310\lib\importlib\abc.py", line 371, in read_bytes
with self.open('rb') as strm:
File "C:\Users\visha\AppData\Local\Programs\Python\Python310\lib\importlib\_adapters.py", line 54, in open
raise ValueError()
ValueError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\visha\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\visha\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code
exec(code, …
Run Code Online (Sandbox Code Playgroud)