im trying too import packagaes to my pycharm such as tensorflow and the same message pops up saying the term (import) is not recognized. My understanding is that pycharm is interpreting these commands with powershell rather than python? I have my interpreter set as python 3.13 ive tried uninstalling and reinstalling cv2 as someone else had mentioned still will not allow me too import ANYTHING i have searched far and wide and cannot figure out what is wrong.
I have tried manually directing my interpreter too the python.exe assuming that was the problem, that it was interpreting with something other than python. I am thinking maybe thats the part that is messed up but i am very new and am just thinking logically but I am completely utterly out of ideas and hope someone can "interpret" my problems better than pycharm can my python lmao
my path looks like (.venv1) ps c:\users\name\anaconda3\envs\tf\scripts> import tensorflow as tf idk how useful this is
You're trying to run Python code directly in your terminal, which, as you've seen, won't work.
Instead, you can open a Python REPL using python3 -i
, and run your Python code there.