Python, pip not caching -
i rather distressed pip download cache not working on nfs. , yes nfs work.
in client server
/root/.pip/pip.conf [global] download-cache=/mnt/nfs/data/nfs
i install pip package , nothing in /mnt/nfs/data/nfs.
this works
touch /mnt/nfs/data/nfs/dude.txt ls /mnt/nfs/data/nfs/ dude.txt
why when install doesn't supposed do?
update:
when changed config below below message nothing in dir. not using sudo. root.
[global] #download-cache=/mnt/nfs/data/nfs cache-dir=/mnt/nfs/data/nfs pip install --upgrade pyes directory '/mnt/nfs/data/nfs' or parent directory not owned current user , caching wheels has been disabled. check permissions , owner of directory. if executing pip sudo, may want sudo's -h flag.
Comments
Post a Comment