[英]OSX terminal giving the message “Python: can't open file '=': [Errno 2] No such file or directory” upon startup
I have no idea what this message is. 我不知道这是什么信息。 It's not exactly hindering my usage of python, but seeing a paragraph every time I open the terminal is unsettling, and i've looked online everywhere for an explanation, but there is none.
这并不完全妨碍我使用python,但是每次打开终端时都看到一段内容令人不安,而且我到处都在网上寻找解释,但没有任何解释。 Thank you again for the help.
再次感谢您的帮助。
Check if any Python file is executed in your .bash_profile file by typing the following command in terminal: 通过在终端中键入以下命令,检查.bash_profile文件中是否执行了任何Python文件:
nano ~/.bash_profile
Hint: lines starting with PATH and export PATH are not being executed and usually are very useful. 提示:以PATH和export PATH开头的行不会被执行,通常非常有用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.