RePoE icon indicating copy to clipboard operation
RePoE copied to clipboard

Can't install for non-admin user

Open d07RiV opened this issue 2 years ago • 1 comments

Getting this error when trying to pip install -e .:

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.10_3.10.752.0_x64__qbz5n2kfra8p0\\Lib\\site-packages\\test-easy-install-15864.write-test'

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

    C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.752.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.pypa.io/en/latest/deprecated/easy_install.html

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

I could install it from admin account, but then I still wouldn't be able to access it from the account I'm normally using.

Edit: same issue when trying to install as admin, actually.

d07RiV avatar Mar 15 '22 04:03 d07RiV

I don't think I can do much here honestly, don't know much about setting up Python.

Sounds like either an issue with one of the packages used by PyPoE or with your Python installation.

brather1ng avatar Mar 15 '22 17:03 brather1ng