Hi,
I am facing problem with python where it is using /tmp to install pip modules and libraries instead of it's own directory site-packages.
- I want python to re-direct to /shrd/python and not to /tmp
# python3 -m pip install --upgrade virtualenv
WARNING: The directory '/SYSTEM/tmp/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled
ERROR: Could not install packages due to an OSError: [Errno 133] EDC5133I No space left on device.
2. Getting this error while creating environment variable
# python3 -m venv my_div
Error: Command '['/SYSTEM/tmp/my_div/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status
Can someone help me here with a solution or command through which I can change the installation directory of python?
Thanks,
Divyanshu.
------------------------------
Divyanshu Singh
MVS system programmer
BMC Software
Kanpur IN
------------------------------