In case you missed the announcement: Alteryx One is here, and so is the Spring Release! Learn more about these new and exciting releases here!

Alteryx Designer Desktop Discussions

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

Python Error with Installing Packages

taylormgruendel
8 - Asteroid

Hi all,

 

I used to be able to run my Python script, but now I'm receiving the following error - 

ERROR: Could not install packages due to an EnvironmentError: [WinError 5] Access is denied: 'C:\\Users\\user\\AppData\\Roaming\\Python\\Python38\\site-packages\\wrapt\\_wrappers.cp38-win_amd64.pyd'
Check the permissions.

I'm using the code below to install my packages (I should have admin permissions). I tried removing the install_type but I end up getting an error to add --user back to the code. 

 

Alteryx.installPackages(package="PyGithub", install_type="install --user") 

 

Should I reach out to IT on this issue? Or is there a workaround?

 

Look forward to your thoughts. Thanks!

2 REPLIES 2
TimN
13 - Pulsar

Check the link above.  If you're installing packages on your PC that link should help.

Labels
Top Solution Authors