Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

creating venv Python3.13 on CIFS mounted drive fails ENODATA #133951

Copy link
Copy link
Open
@mycroftw

Description

@mycroftw
Issue body actions

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.13bugs and security fixesbugs and security fixesstdlibPython modules in the Lib dirPython modules in the Lib dirtopic-venvRelated to the venv moduleRelated to the venv moduletype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.