Python Error with Installing Packages
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
taylormgruendel
8 - Asteroid
‎12-15-2023
08:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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!
Labels:
- Labels:
- Python
2 REPLIES 2
TimN
13 - Pulsar
‎12-15-2023
08:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
TimN
13 - Pulsar
‎12-15-2023
08:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Check the link above. If you're installing packages on your PC that link should help.
