[英]I am unable to run any command or file of python - there is no output in terminal
[英]Unable to run python file from terminal
這可能是由於終端默認使用python2
版本,您需要在運行程序時顯式指定python3
才能使用python3
。
您可以查看鏈接如何在 Windows 中設置默認 Python 版本? 在 Windows 中將默認 python 版本設置為python3
。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.