-
-
Notifications
You must be signed in to change notification settings - Fork 767
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
Windows: Getting ERROR: Could not install packages due to an EnvironmentError #1187
Comments
that's pretty weird -- it looks as if you once held the symbolic link privilege and then it was removed? what appens if you the other option is to give yourself the symbolic link privilege |
I tried
|
interesting, |
Yes, I am blowing away that directory. Here's the output as requested.
|
what does it appears that |
|
@asottile I am hesitant to impose on your valuable time, but if a zoom or hangout call will speed up things, I'd be glad to share my screen and we can try things. |
I'm at work right now but could maybe do a quick call on the weekend maybe. The easiest short fix would probably be enabling symbolic links privilege for your user? |
Sure, thank you. In the meantime, I will try enabling symbolic links privilege for myself. |
I am able to get pre-commit working now! It was the Symlink permission issue. It took me hours of searching and trying things. I'm adding this in case others come here with the same issue. What worked for me:
This issue can be closed. Thanks again, @asottile for all your help. |
cheers! thanks for the thorough follow-up as well! this will surely be helpful for the next person |
@Ram-N Thanks for the guide 😃 |
Hi @Ram-N thank you so much for detailed steps toward your solution. I ran into this same issue with my Windows 10 Home installation, and was initially really confused, until I saw the last step of a reboot; and now pre-commit is running as expected. |
All:
I am getting an error, that is very similar to #1046
On my Windows-10 machine, when I am trying to run pre-commit, I am getting a
could not install packages (EnvironmentError)
.Things I have tried:
import asyncio
works, it does.(I am new to Pre-commit, but any help is much appreciated.)
Details
Here's the error:
And for completeness, I went to the .cache directory and did an ls
Any suggestions for things to change or try are welcome.
The text was updated successfully, but these errors were encountered: