I'm trying to run this line of code from the beginning of a python script in pycharm:
!pip install pyknow
but it throws an invalid syntax error. In jupyter notebooks this magic command would work, but it seems is not the same here. What's the correct of doing this please?
EDIT
the script where i'm trying to run this command from is a .py
file
Thank you very much in advance