I'm working on a python project. My machine is Windows 10, 64 bit.
I have Git installed and from pycharm terminal I tried to call
source venv\Scripts\activate. As a result I get the error bash: basename: command not found \n(). Yeah, those parenthesis appears one line below the error. In addition the branch name disappeared from the terminal prompt. From this point forehand all bash commands are no longer recognised by the terminal. Any attempt for ls, cp or source resulted in the same error message.
Restarting pycharm cause the bash shell to be active again with the branch name at the prompt but calling source shut it down with the same error.
Any idea how to fix this and activating venv properly?
Click on File and then on Settings option. Then, click on Tools in the left hand pane and then on Terminal from the options. There you'll see an option "Activate virtualenv". Uncheck it,
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With