Question about enviromental variables
See original GitHub issueI’ve installed winpython today and I have a doubt about setting environmental variables. I understand that winpython aims to be a portable distribution but I wanted to be able to run python code from the cmd.exe
and also use vim. So I’ve added the following directories to my %PATH%
:
C:\winpython\python-3.4.2.amd64;C:\winpython\python-3.4.2.amd64\Scripts;C:\winpython\python-3.4.2.amd64\DLLs;C:\winpython\python-3.4.2.amd64\Lib
Now I can run scripts from the regular command prompt but I’m not sure that what I’ve done is correct. Is there an automatic way of setting the path (I’ve registered the distribution but the path was not modified)? Should I add more directories besides the mentioned ones?
Strangely I can run vim from WInPython CommandPrompt but not from the regular cmd.exe (when using the official python distribution I could run vim from command prompt without problem). This leads me to believe that I might be missing something. Any help and guidance will be appreciated. Thanks in advance!
Issue Analytics
- State:
- Created 9 years ago
- Comments:19 (8 by maintainers)
Dear @stonebig I receive at least once a month an “angry” request from people that i have recommended them using WinPython due to this issue.
The sequence of events is like this:
So, would it be possible to fix this once and for all? It should have little to do with HOME and Settings.
Hi @ankostis,
What you suggest doesn’t look a good idea to me.
Maybe Winpython is not currently the right solution for your users / your use case.
I didn’t try it myself but maybe, maybe, pyzo would better fit your particular need ?