Skip to content

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

@mycroftw

Description

@mycroftw

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 fixesstdlibPython modules in the Lib dirtopic-venvRelated to the venv moduletype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy