Open nyambol opened 3 years ago
Nothing I've ever written has worked on Windows, which is ironic since my dream job for many years was one at Microsoft. Sorry brah.
For those that come here after initially setting nnreddit-python-command
to something with a path ("/usr/bin/python3") --> the path is the problem. The virtual env is named as this command, so including the path. That doesn't work on Mac or Windows.
Solution is to set the python-command to something that can be found in the $PATH, so directly to python3
.
nnreddit-venv: installing venv to c:/Users/micha/AppData/Roaming/.virtualenvs/nnreddit-20210912.236-c:/WINDOWS/py.exe... OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: 'C:\\Users\\micha\\AppData\\Roaming\\.virtualenvs\\nnreddit-20210912.236-c:' nnreddit-venv: Invalid virtualenv nnreddit-20210912.236-c:/WINDOWS/py.exe specified!
Don't know what it's doing. Seems to be concat'ing the path to
py
with the path to the virtualenv.{micha} [9] --> get-command virtualenv
CommandType Name Version Source
Application virtualenv.exe 0.0.0.0 c:\users\micha\appdata\roaming\python\python310\scripts\virtualenv.exe
C:\Users\micha {micha} [7] --> get-command python
CommandType Name Version Source
Application python.exe 3.10.150.… C:\Python310\python.exe
Welcome to the Emacs shell
g:/My Drive/org $ which virtualenv
c:/Users/micha/AppData/Roaming/Python/Python310/Scripts/virtualenv.exe