I just installed Python, and did add both
"C:\Users\xxxxx\AppData\Local\Programs\Python\Python310"
"C:\Users\xxxxx\AppData\Local\Programs\Python\Python310\Scripts"
in the path environment variable.
In the cmd, I can call pip with no problem.
But I can't seems to run the python code with python .\myproject.py
, and there is no error text print.
Nothing print, no error or warning message, it just ended.
So I run a simple print file which still not print anything.
The test file is just :
def main():
print("Hi")
if __name__ == "__main__":
main()