Title: creating venv Python3.13 on CIFS mounted drive fails ENODATA · Issue #133951 · python/cpython · GitHub
Open Graph Title: creating venv Python3.13 on CIFS mounted drive fails ENODATA · Issue #133951 · python/cpython
X Title: creating venv Python3.13 on CIFS mounted drive fails ENODATA · Issue #133951 · python/cpython
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,fo...
Open Graph 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/...
X 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/...
Opengraph URL: https://github.com/python/cpython/issues/133951
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"creating venv Python3.13 on CIFS mounted drive fails ENODATA","articleBody":"# Bug report\n\n### Bug description:\n\nMy Ubuntu environment has been running with my Python projects on a Synaptic NAS (mounted as cifs) for several years. Relevant line from `/etc/fstab`:\n\n`//DiskStation.local/home /media/data/[user] cifs uid=1000,forceuid,iocharset=utf8,vers=3.0,credentials=[credsfile] 0 0`\n\nNow with upgrade to python3.13, when I try to create or upgrade a venv, I get:\n\n`python -m venv venv_test` -\u003e `Error: [Errno 61] No data available: 'lib' -\u003e '/media/data/[user]/test/venv_test/lib64'`\n\nSome investigation leads me to \"can't create symlinks on a cifs drive\", as shown:\n\n`ln -s venv_test/lib venv_test/lib64` -\u003e `ln: failed to create symbolic link 'venv_test/lib64': No data available`\n\nSo, I try with `--copies` instead:\n\n`python -m venv --copies venv_test` -\u003e `Error: [Errno 61] No data available: 'lib' -\u003e '/media/data/[user]/test/venv_test/lib64'`\n\nAs 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.\n\n\n### CPython versions tested on:\n\n3.13\n\n### Operating systems tested on:\n\nLinux\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-137139\n* gh-139607\n* gh-139704\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/mycroftw","@type":"Person","name":"mycroftw"},"datePublished":"2025-05-12T19:50:49.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/133951/cpython/issues/133951"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:eafdf9bf-1d2d-ffb8-3a2b-81f89cb2d625 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 995C:25C0D7:646E48:84375B:696B4826 |
| html-safe-nonce | 29329e34b07874e8443519dbf015e5c75f5b38f35881ba1be8687d0131aaa0dc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OTVDOjI1QzBENzo2NDZFNDg6ODQzNzVCOjY5NkI0ODI2IiwidmlzaXRvcl9pZCI6IjU4MjYxNDg1OTUwNjM4MDE4OTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e0d06ce0389419077cc84dbd05604ceb857806da464dc46fbac825fe43736f39 |
| hovercard-subject-tag | issue:3057970234 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/133951/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e0cca38d24098c8a6dd62b13fc7d999eaab7f17be8008086ee31544c1835161f/python/cpython/issues/133951 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e0cca38d24098c8a6dd62b13fc7d999eaab7f17be8008086ee31544c1835161f/python/cpython/issues/133951 |
| og:image:alt | 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/... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mycroftw |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width