how to change the appdata directory for pipx? #1166
-
hello! i don't see any option of
$ du -hd0 "$LOCALAPPDATA/"pip{,x}
803M C:\Users\NemoUSR\AppData\Local/pip
28M C:\Users\NemoUSR\AppData\Local/pipx
$ pipx environment
Environment variables (set by user):
PIPX_HOME=D:\UserFiles\pipx\
PIPX_BIN_DIR=
PIPX_MAN_DIR=
PIPX_SHARED_LIBS=
PIPX_DEFAULT_PYTHON=
USE_EMOJI=
Derived values (computed by pipx):
PIPX_HOME=D:\UserFiles\pipx
PIPX_BIN_DIR=C:\Users\NemoUSR\.local\bin
PIPX_MAN_DIR=C:\Users\NemoUSR\.local\share\man
PIPX_SHARED_LIBS=D:\UserFiles\pipx\shared
PIPX_LOCAL_VENVS=D:\UserFiles\pipx\venvs
PIPX_LOG_DIR=D:\UserFiles\pipx\logs
PIPX_TRASH_DIR=D:\UserFiles\pipx\.trash
PIPX_VENV_CACHEDIR=D:\UserFiles\pipx\.cache
PIPX_DEFAULT_PYTHON=D:\ProgramFiles\Python\Python311\python.exe
USE_EMOJI=true
versions:$ systeminfo | grep -iA1 "os name"
OS Name: Microsoft Windows 10 Home Single Language
OS Version: 10.0.19045 N/A Build 19045
$ which python
/d/ProgramFiles/Python/Python311/python
$ python --version
Python 3.11.2
$ pipx --version
1.3.3
|
Beta Was this translation helpful? Give feedback.
Answered by
goyalyashpal
Dec 24, 2023
Replies: 1 comment
-
the app was installed before changing the variable, so, on deleting that dir, and redoing the install, it shows correctly at $ pipx list
venvs are in D:\UserFiles\pipx\venvs
apps are exposed on your $PATH at C:\Users\NemoUSR\.local\bin
manual pages are exposed at C:\Users\NemoUSR\.local\share\man
package qrcode 7.4.2, installed using Python 3.11.2
- qr.exe
- man1\qr.1
$ file "`which qr`"
/c/users/nemousr/.local/bin/qr: symbolic link to /d/UserFiles/pipx/venvs/qrcode/Scripts/qr.exe
the "apps are exposed on your $PATH at" i.e. "Apps are symlinked or copied here." is sooo awesome, i often wish there were some way to optionally do that after every software install |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
goyalyashpal
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
the app was installed before changing the variable, so,
pipx install
-ed app was still in its original dir.but
pipx
rightly did not recognize that onpipx list
on deleting that dir, and redoing the install, it shows correctly at
D:\UserFiles\pipx\venvs
the "apps are exposed on your $PATH at" i.e. "Apps are symlinked or co…