command-linesymlinkpypy

How to create a symlink to PyPy


The PyPy docs mention creating a symlink to allow pypy to be used globally, but I can't seem to figure out how to do it.

I currently have this command: mklink \pypy C:\pypy

However, it keeps coming up with an error saying Access is denied.. Any idea as to how I could fix this and get it working? Despite it being brought up in the PyPy docs, there's no mention of how to actually do it.

PyPy itself is contained in C:\pypy


Solution

  • From the file paths, I am actually assuming that you are working on Windows.

    The advice you actually read (here) applies to Linux. That's why you can not do that in Windows.

    Also please not that \pypy is not a valid option for the windows mklink program.