Skip to content

error: Operation not permitted (os error 1) #13301

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Cheiklf opened this issue May 5, 2025 · 3 comments
Open

error: Operation not permitted (os error 1) #13301

Cheiklf opened this issue May 5, 2025 · 3 comments
Labels
question Asking for clarification or support

Comments

@Cheiklf
Copy link

Cheiklf commented May 5, 2025

Question

hello,
I just follow the installation, every thing is ok, version is 7.2.
I make a uv init
then uv add
'''
$ uv add ruff
Using CPython 3.12.10
Creating virtual environment at: .venv
error: Operation not permitted (os error 1) '''

then I have this error : error: Operation not permitted (os error 1)

I'm the only user, and I have all permision

tk for help

Platform

No response

Version

No response

@Cheiklf Cheiklf added the question Asking for clarification or support label May 5, 2025
@konstin
Copy link
Member

konstin commented May 5, 2025

Hi, can you please fill out the other fields and share the verbose logs? See #9452 for more details

@Cheiklf
Copy link
Author

Cheiklf commented May 5, 2025

OK sorry,
I use WSL2 linux Ubuntu
after install, I just make :
uv init llm2
cd llm2
uv add ruff

Image

Image

konstin added a commit that referenced this issue May 5, 2025
In #13301, there was an IO error without context. This error seems to be caused by a symlink error. Switching as symlinking to `fs_err` ensures these errors will carry context in the future.
@konstin
Copy link
Member

konstin commented May 5, 2025

Is the directory mounted from a Windows partition? Windows does not support creating symlinks by default, while the linux in WSL requires creating symlinks for a new venv.

We're improving the error message in #13303.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Asking for clarification or support
Projects
None yet
Development

No branches or pull requests

2 participants