Code: Select all
uv init new_app
hinzuzufügen
Code: Select all
uv add --link-mode copy flask requests
Code: Select all
Using CPython 3.11.10 interpreter at: /home/alex/.pyenv/versions/3.11.10/bin/python3.11
Creating virtual [url=viewtopic.php?t=25360]environment[/url] at: .venv\
error: failed to symlink file from /home/alex/.pyenv/versions/3.11.10/bin/python3.11 to /home/alex/new_app/.venv/bin/python: Operation not permitted (os error 1)
Code: Select all
error: Project virtual [url=viewtopic.php?t=25360]environment[/url] directory `/home/alex/Work/Learn/UV/new_app/.venv` cannot be used because it is not a valid Python [url=viewtopic.php?t=25360]environment[/url] (no Python executable was found)
- Das System ist ein VirtualBox-Ubuntu-System (24.04.3), das mit Python 3.11 auf einem Windows 11-Host läuft.
- Ich möchte keinen Root-Zugriff verwenden (nie erforderlich, bevor ich mit Python arbeite). Oder funktioniert UV nur auf der Root-Ebene?
- Alle Dateien in /home/alex/.pyenv/versions/3.11.10/bin sind nicht Root. Es handelt sich lediglich um normale Benutzerdateien (und auch die Verzeichnisse dazwischen).
- Funktioniert unter Windows und macOS (aber nicht unter Ubuntu)
Mobile version