Pycharm environment different than command line

后端 未结 7 1363
轮回少年
轮回少年 2020-12-05 10:11

I am having an issue getting my Pycharm environment to match up with the environment that I have on the command line. I recently removed python and reinstalled it via home

7条回答
  •  情书的邮戳
    2020-12-05 11:04

    Another approach is to source your script setting environmental variables (for example .bash_profile) by adding a line . /path/to/script into PY_CHARM_INSTALL_DIR/bin/pycharm.sh.

    After that you can run pycharm using quick-lunch or whatever and you variables will be there.

提交回复
热议问题