Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Python Tool: Could not install packages due to an EnvironmentError

bnguyen_kaynecapital
6 - Meteoroid

Hi all, I'm creating a Python script to open the pdf files and save as the new files with just a few first pages. The reason why we have this script is that the original pdf files are using the some other tool to manipulate the files and Alteryx cannot open these kinda files.

When I run the script, it shows this message: 

ERROR: Could not install packages due to an EnvironmentError: [WinError 5] Access is denied: 'C:\\Program Files\\Alteryx\\bin\\Miniconda3\\envs\\IntelligenceSuite_Venv\\Lib\\site-packages\\PyPDF2'
Consider using the `--user` option or check the permissions.

It's strange because I could run it before and it worked well, but now it does not.

Can anyone support how to fix this issue? I attach the workflow for reference.

bnguyen_kaynecapital_0-1657874437344.png

 

2 REPLIES 2
flying008
15 - Aurora

Hi, @bnguyen_kaynecapital 

 

It seems to be a permission problem, please try to run the Alteryx with administrator privileges, then start the WF.

Emmanuel_G
13 - Pulsar

@bnguyen_kaynecapital ,

 

If you have admin rights on your computer, to install python packages you need to run alteryx as admin and then install them.

Labels