I cannot run any code


I am completely new to this kind of stuff and I have done my due diligence searching for the answer online, but I have come up empty. When my console launches it comes up with this:


/Users/Sam/PycharmProjects/untitled/venv/bin/python/Applications/PyCharm.app/Contents/helpers/pydev/pydevconsole.py --mode=client --port=50386

import sys; print('Python %s on %s' % (sys.version, sys.platform))


When I try to run code it comes up with this (but green)


And with every try after that it outputs the same exact thing.



1 comment
Comment actions Permalink

This is a default output generated by the code in Preferences | Build, Execution, Deployment | Console | Python Console. How do you run your code?

See https://www.jetbrains.com/help/pycharm/creating-and-running-your-first-python-project.html for more information about running python in PyCharm.


Please sign in to leave a comment.