Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6136

Pycharm does not find system variables set via bashrc export

$
0
0

I have set environment variables in the .bashrc:

export nnUNet_preprocessed="/data/nnUnet/preprocessed"

These are found successfully in terminal after sourcing and/or logging out. If I run pycharm out of the same terminal, it is able to find them via

nnUNet_preprocessed = os.environ.get('nnUNet_preprocessed')

However, if I launch Pycharm via Actions (Ubuntu 16.04), it yields none. Any suggestions?


Viewing all articles
Browse latest Browse all 6136

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>