Closed dmichel76 closed 7 years ago
For some reasons, I need to do a "sudo -E" on Ubuntu 14 to carry the environment variables whereas it's not needed on Ubuntu 16...
I intended to suggest the -E flag, but then I saw you said the problem had gone by itself...
Anyway whether the environment variables should be kept is set in /etc/sudoers
.
https://help.ubuntu.com/community/Sudoers
The setting is either _envreset or _envkeep.
Hi,
I've just tried installing from pip on my ubuntu machine but, although both environment variables EPICS_BASE and EPICS_HOST_ARCH are set (in my .bashrc file), the setup.py install script cannot see them.
Doing a os.environ.get("EPICS_BASE") directly on the python console results in the correct path being returned.
Any thoughts?