vscode安装python失败_vscode 安装pylint失败

ERROR: Command errored out with exit status 1:

command:'D:\work\python\Programs\Python\Python39\python.exe' 'D:\work\python\Programs\Python\Python39\lib\site-packages\pip\_vendor\pep517\_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\xx\AppData\Local\Temp\tmplrfbgazl'cwd: C:\Users\xx\AppData\Local\Temp\pip-install-0r8mkquq\lazy-object-proxy

Complete output (42lines):

Errorin sitecustomize; set PYTHONVERBOSE fortraceback:

SyntaxError: (unicode error)'utf-8' codec can't decode byte 0xd5 in position 0: invalid continuation byte (sitecustomize.py, line 21)

Error in sitecustomize; set PYTHONVERBOSE fortraceback:

SyntaxError: (unicode error)'utf-8' codec can't decode byte 0xd5 in position 0: invalid continuation byte (sitecustomize.py, line 21)

Traceback (most recent call last):

File"D:\work\python\Programs\Python\Python39\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 280, in main()

File"D:\work\python\Programs\Python\Python39\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 263, inmain

json_out['return_val'] = hook(**hook_input['kwargs'])

File"D:\work\python\Programs\Python\Python39\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 133, inprepare_metadata_for_build_wheelreturnhook(metadata_directory, config_settings)

File"D:\work\python\Programs\Python\Python39\lib\site-packages\setuptools\build_meta.py", line 157, inprepare_metadata_for_build_wheel

self.run_setup()

File"D:\work\python\Programs\Python\Python39\lib\site-packages\setuptools\build_meta.py", line 248, inrun_setup

super(_BuildMetaLegacyBackend,

File"D:\work\python\Programs\Python\Python39\lib\site-packages\setuptools\build_meta.py", line 142, inrun_setupexec(compile(code, __file__, 'exec'), locals())

File"setup.py", line 61, in setup(

File"D:\work\python\Programs\Python\Python39\lib\site-packages\setuptools\__init__.py", line 164, insetup

_install_setup_requires(attrs)

File"D:\work\python\Programs\Python\Python39\lib\site-packages\setuptools\__init__.py", line 159, in_install_setup_requires

dist.fetch_build_eggs(dist.setup_requires)

File"D:\work\python\Programs\Python\Python39\lib\site-packages\setuptools\dist.py", line 699, infetch_build_eggs

resolved_dists=pkg_resources.working_set.resolve(

File"D:\work\python\Programs\Python\Python39\lib\site-packages\pkg_resources\__init__.py", line 779, inresolve

dist= best[req.key] =env.best_match(

File"D:\work\python\Programs\Python\Python39\lib\site-packages\pkg_resources\__init__.py", line 1064, inbest_matchreturnself.obtain(req, installer)

File"D:\work\python\Programs\Python\Python39\lib\site-packages\pkg_resources\__init__.py", line 1076, inobtainreturninstaller(requirement)

File"D:\work\python\Programs\Python\Python39\lib\site-packages\setuptools\dist.py", line 758, infetch_build_eggreturnfetch_build_egg(self, req)

File"D:\work\python\Programs\Python\Python39\lib\site-packages\setuptools\installer.py", line 133, infetch_build_egg

wheel.install_as_egg(dist_location)

File"D:\work\python\Programs\Python\Python39\lib\site-packages\setuptools\wheel.py", line 99, ininstall_as_egg

self._install_as_egg(destination_eggdir, zf)

File"D:\work\python\Programs\Python\Python39\lib\site-packages\setuptools\wheel.py", line 107, in_install_as_egg

self._convert_metadata(zf, destination_eggdir, dist_info, egg_info)

File"D:\work\python\Programs\Python\Python39\lib\site-packages\setuptools\wheel.py", line 152, in_convert_metadata

os.rename(dist_info, egg_info)

PermissionError: [WinError5] 拒绝访问。: 'C:\\Users\\xx\\AppData\\Local\\Temp\\pip-install-0r8mkquq\\lazy-object-proxy\\.eggs\\setuptools_scm-4.1.2-py3.9.egg\\setuptools_scm-4.1.2.dist-info' -> 'C:\\Users\\xx\\AppData\\Local\\Temp\\pip-install-0r8mkquq\\lazy-object-proxy\\.eggs\\setuptools_scm-4.1.2-py3.9.egg\\EGG-INFO'

----------------------------------------ERROR: Command errored out with exit status1: 'D:\work\python\Programs\Python\Python39\python.exe' 'D:\work\python\Programs\Python\Python39\lib\site-packages\pip\_vendor\pep517\_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\xx\AppData\Local\Temp\tmplrfbgazl' Check the logs for full command output.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值