Description
Bug report
Bug description:
My Ubuntu environment has been running with my Python projects on a Synaptic NAS (mounted as cifs) for several years. Relevant line from /etc/fstab
:
//DiskStation.local/home /media/data/[user] cifs uid=1000,forceuid,iocharset=utf8,vers=3.0,credentials=[credsfile] 0 0
Now with upgrade to python3.13, when I try to create or upgrade a venv, I get:
python -m venv venv_test
-> Error: [Errno 61] No data available: 'lib' -> '/media/data/[user]/test/venv_test/lib64'
Some investigation leads me to "can't create symlinks on a cifs drive", as shown:
ln -s venv_test/lib venv_test/lib64
-> ln: failed to create symbolic link 'venv_test/lib64': No data available
So, I try with --copies
instead:
python -m venv --copies venv_test
-> Error: [Errno 61] No data available: 'lib' -> '/media/data/[user]/test/venv_test/lib64'
As I said, this used to work in python 3.10. If it won't work by design now, fine; I can put the venvs off that drive. But the error message should be more clear, or at least there should be a way to get more verbose information.
CPython versions tested on:
3.13
Operating systems tested on:
Linux