When you try to activate a virtual with the command source venv/bin/activate
, the following message appears:
source não é reconhecido como comando interno
.
All this in the PyCharm console.
When you try to activate a virtual with the command source venv/bin/activate
, the following message appears:
source não é reconhecido como comando interno
.
All this in the PyCharm console.
If I'm not mistaken the PyCharm console runs Python in interactive mode and not the shell operating system. The source
is just one of the internal commands of Bash , hence the command is not recognized.
PyCharm has its own way of implementing virtual environments that can be used globally or specifically within projects. For details on how to do this, see the Configuring Python Interpreter manual.