Windows: Change default installation directory #15

Closed
opened 2024-03-13 03:36:20 -06:00 by Olav · 3 comments

Hello and at first thank you for all your work on this extension.

Is there any way of changing the default windows installation directory? It's currently C:\Users\USER\AppData\Roaming\Python\Python38...
on my setup, this directory is part of an active directory service and installing python libraries with all their small text files basically kills the AD service with the computer needing many minutes to login/logoff.

Best regards!

Hello and at first thank you for all your work on this extension. Is there any way of changing the default windows installation directory? It's currently C:\Users\USER\AppData\Roaming\Python\Python38... on my setup, this directory is part of an active directory service and installing python libraries with all their small text files basically kills the AD service with the computer needing many minutes to login/logoff. Best regards!
Owner

The extension use the default path indicate by Python and PIP. Maybe is better if you use virtual environment.

Look:
https://python-ooo-dev-tools.readthedocs.io/en/latest/guide/virtual_env/windows_manual_venv.html

The extension use the default path indicate by Python and PIP. Maybe is better if you use virtual environment. Look: https://python-ooo-dev-tools.readthedocs.io/en/latest/guide/virtual_env/windows_manual_venv.html
Author

Hi and thank you for your reply.
I can't get it to work, it seems Appdata/roaming is set as a global path, which I have not the access rights to change.
Even if I activate a virtual environment and reinstall the pip plugin, it still chooses the appdata path.

I will call my IT departement and see if they can remove the appdata/roaming/python dir from the AD.

Best regards!

Hi and thank you for your reply. I can't get it to work, it seems Appdata/roaming is set as a global path, which I have not the access rights to change. Even if I activate a virtual environment and reinstall the pip plugin, it still chooses the appdata path. I will call my IT departement and see if they can remove the appdata/roaming/python dir from the AD. Best regards!
Owner

It's strange, because when you create a virtual environment, you can create it on the route you want, where you have permissions, then the packages will be installed there.

It's strange, because when you create a virtual environment, you can create it on the route you want, where you have permissions, then the packages will be installed there.
elmau closed this issue 2024-03-19 10:55:16 -06:00
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: elmau/zaz-pip#15
No description provided.