samedi 30 juillet 2016

add variable to PATH when activateing conda virtual env

assume you want to add/remove a variable to your PATH variable whenever you (de)activate a virtual environment in conda.

I'm working with PyQt5 and by default it doesn't recognize pyuic5 as a command. So I would want to add the location of this command to the PATH env. variable, but only for the time the virtual env. is activated.

Aucun commentaire:

Enregistrer un commentaire