Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

安装不了 #15

Closed
kaiii0328 opened this issue Apr 12, 2020 · 1 comment
Closed

安装不了 #15

kaiii0328 opened this issue Apr 12, 2020 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@kaiii0328
Copy link

你好想问一下啊我用 python setup.py install 时遇到这种错误该怎么解决啊,我试过了用管理员身份运行命令行,也是一样的错误
running install
error: can't create or remove files in install directory

The following error occurred while trying to add or remove files in the
installation directory:

[Errno 13] Permission denied: 'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.7_3.7.2032.0_x64__qbz5n2kfra8p0\\Lib\\site-packages\\test-easy-install-20832.write-test'

The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:

C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2032.0_x64__qbz5n2kfra8p0\Lib\site-packages\

Perhaps your account does not have write access to this directory? If the
installation directory is a system-owned directory, you may need to sign in
as the administrator or "root" account. If you do not have administrative
access to this machine, you may wish to choose a different installation
directory, preferably one that is listed in your PYTHONPATH environment
variable.

For information on other options, you may wish to consult the
documentation at:

https://setuptools.readthedocs.io/en/latest/easy_install.html

Please make the appropriate changes for your system and try again.

@qizidog
Copy link

qizidog commented May 30, 2020

检查一下文件夹是不是被设置为了只读

@CharlesPikachu CharlesPikachu added the help wanted Extra attention is needed label Nov 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants