.venv/Scripts/activate: No such file or directory #609
-
This is probably an oversight somewhere but when building on Windows via MSYS2 MINGW64 and I'm getting this error when running rvbootstrap
Looks like it is coming from rvenv_shell
There's no activate file inside my Python .venv/Scripts folder. Did I miss something? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hello @jaspreet-dimension, The issue you're experiencing is known to occur when using Python from the msys2 package. The path to the activate script is different with msys2's Python package. Our recommendation is to install Python using the official installer and update the PATH environment variable accordingly. For detailed instructions, please refer to our documentation: Installing Python 3: https://aswf-openrv.readthedocs.io/en/latest/build_system/config_windows.html#install-python-3 Configuring the PATH environment variable: https://aswf-openrv.readthedocs.io/en/latest/build_system/config_windows.html#path-environment-variable |
Beta Was this translation helpful? Give feedback.
-
I have just reinstalled Python and followed the steps you've posted but I'm still getting the same issue. Running where python I can see the two Python installations - the docs say the top one will be used. I don't think this is the problem
|
Beta Was this translation helpful? Give feedback.
Hello @jaspreet-dimension ,
I believe I ran into the same issue recently and it had to do with the fact that I had a previous .venv directory created when I had the python from MSYS2 active.
My problem got solved after deleting the existing .venv directory
rm -rf .venv
I hope this helps