Invalid virtualenv #81

Open
opened 2021-10-13 23:35:14 +00:00 by nyambol · 1 comments
nyambol commented 2021-10-13 23:35:14 +00:00 (Migrated from github.com)

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

`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`
dickmao commented 2021-10-14 00:08:01 +00:00 (Migrated from github.com)

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.

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.
Sign in to join this conversation.
There is no content yet.