Skip to content

Question about enviromental variables #48

@petobens

Description

@petobens

I'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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions