pyenv-win-venv icon indicating copy to clipboard operation
pyenv-win-venv copied to clipboard

How can I change the target installation directory?

Open rjavierch opened this issue 1 year ago • 1 comments

Discussed in https://github.com/pyenv-win/pyenv-win-venv/discussions/15

Originally posted by rjavierch August 11, 2023 Hello, thanks for developing this! it's very useful.

I have followed the instructions and it is working well as intended. How can I change the installation route to install it on D:?

I have tried changing the route like this:

Invoke-WebRequest -UseBasicParsing -Uri "https://raw.githubusercontent.com/pyenv-win/pyenv-win-venv/main/bin/install-pyenv-win-venv.ps1" -OutFile "D:\USERS\username\install-pyenv-win-venv.ps1"; &"D:\USERS\username\install-pyenv-win-venv.ps1"

However, I think this is not how it should be. It has not worked for me and keeps installing the environments on C.

Thank you!

rjavierch avatar Aug 11 '23 08:08 rjavierch

It is not currently possible for the it to use other installation directory, I will add this feature to my TODO and work on it when I get the time. Have been busy with IRL work for a while now.

arzkar avatar Sep 12 '23 16:09 arzkar