0

我有 python 3.6 并在运行 pip install 后收到此消息

python -m pip install --upgrade pip

我已经从我的 Visual Studio Community Edition 包中自动安装了 Python,它可以与该程序一起使用。

Exception: Traceback (most recent call last): File "C:\Program Files\Anaconda3\lib\site-packages\pip\basecommand.py", line 2 15, in main status = self.run(options, args) File "C:\Program Files\Anaconda3\lib\site-packages\pip\commands\install.py", l ine 342, in run prefix=options.prefix_path, File "C:\Program Files\Anaconda3\lib\site-packages\pip\req\req_set.py", line 7 84, in install **kwargs File "C:\Program Files\Anaconda3\lib\site-packages\pip\req\req_install.py", li ne 851, in install self.move_wheel_files(self.source_dir, root=root, prefix=prefix) File "C:\Program Files\Anaconda3\lib\site-packages\pip\req\req_install.py", li ne 1064, in move_wheel_files isolated=self.isolated, File "C:\Program Files\Anaconda3\lib\site-packages\pip\wheel.py", line 345, in move_wheel_files clobber(source, lib_dir, True) File "C:\Program Files\Anaconda3\lib\site-packages\pip\wheel.py", line 323, in clobber shutil.copyfile(srcfile, destfile) File "C:\Program Files\Anaconda3\lib\shutil.py", line 115, in copyfile with open(dst, 'wb') as fdst: PermissionError: [Errno 13] Permission denied: 'C:\\Program Files\\Anaconda3\\Li b\\site-packages\\protobuf-3.3.0-py3.6-nspkg.pth'

4

0 回答 0