cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1448
Views
5
Helpful
2
Replies

acitoolkit install error

sandev.singh
Level 1
Level 1

Hi developers, I am trying to install the ACItoolkit into my windows 10 machine. I have downloaded it, but when trying to install it using the power shell, i am getting a permission denied error - 

 

PS D:\ACItoolKit\acitoolkit-master> ls


Directory: D:\ACItoolKit\acitoolkit-master


Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 2020-02-06 9:42 AM acitoolkit
d----- 2020-02-06 9:42 AM applications
d----- 2020-02-06 9:42 AM docs
d----- 2020-02-06 9:43 AM samples
d----- 2020-02-06 9:43 AM scripts
d----- 2020-02-06 9:43 AM tests
-a---- 2020-02-06 9:42 AM 54 .gitignore
-a---- 2020-02-06 9:42 AM 120 contributors.txt
-a---- 2020-02-06 9:42 AM 354 Dockerfile
-a---- 2020-02-06 9:42 AM 587 LICENSE
-a---- 2020-02-06 9:42 AM 81 NOTICE
-a---- 2020-02-06 9:42 AM 10028 pylintrc
-a---- 2020-02-06 9:42 AM 2818 README.md
-a---- 2020-02-06 9:42 AM 232 requirements.txt
-a---- 2020-02-06 9:42 AM 1256 setup.py
-a---- 2020-02-06 9:42 AM 588 shippable.yml
-a---- 2020-02-06 9:42 AM 3233 Vagrantfile


PS D:\ACItoolKit\acitoolkit-master> python setup.py install
C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.1776.0_x64__qbz5n2kfra8p0\lib\distutils\dist.py:274: UserWarning: Unknown distribution option: 'tests_requires'
warnings.warn(msg)
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.1776.0_x64__qbz5n2kfra8p0\\Lib\\site-packages\\test-easy-install-2556.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.1776.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.

PS D:\ACItoolKit\acitoolkit-master>

 

i AM RUNNING POWER SHELL AS AN ADMINSTRATOR. 

 

 

 

 

 

2 Replies 2

Sergiu.Daniluk
VIP Alumni
VIP Alumni

Have you tried creating a venv first and installing the acitoolkit from there? 

python -m venv <DIR>
source <DIR>/bin/activate
python <acitoolkit-DIR>/setup.py install

Ruben Cocheno
Spotlight
Spotlight

@sandev.singh 

Still facing the issue?All sorted?

Tag me to follow up.
Please mark it as Helpful and/or Solution Accepted if that is the case. Thanks for making Engineering easy again.
Connect with me for more on Linkedin https://www.linkedin.com/in/rubencocheno/