Cannot activate environment on macos after 2018.1.2 update

After updating to 2018.1.2 I, Pycharm no longer sees my virtual environment. OS is macOS Sierra 10.12.6. 

For example, when I open my project and then open the Pycharm's terminal, it says:

bash: /Users/userblah/anaconda/envs/project_blah/bin/activate /Users/blah/anaconda/envs/project_blah: No such file or directory
computer_name:project_blah userblah$

Next, if I do activate it myself, either from the Pycharm terminal or the macos terminal it puts me in an environment called (root) and not the name of the environment I actually activated:

computer_name:project_blah userblah$ source /Users/userblah/anaconda/envs/project_blah/bin/activate
(root) computer_name:project_blah userblah$

I tried to create a new conda environment from scratch, same problem: when starting the terminal within pycharm, it can't find the project directory. 

Any idea how to fix? 

 

[EDIT] All my colleagues have the same issue...

Thanks

4 comments

Encountered the same problem today, also on a mac.

0

I have the same problem.  I am able to create a new environment and pycharm can SEE the environments I already have, but I cannot activate any of them.

0

Encountered the same problem on ubuntu18.04

0

same problem on Mac, version 2018.1.4

0

Please sign in to leave a comment.