我正在运行 ubuntu 15.04。我有一个简单的 python 程序 test.py
#!/user/bin/python
print "hello, python"
我想让 test.py 文件可执行。目前,当我尝试使用 ./test.py 命令运行文件时,它的显示
bash:./test.py:/user/bin/python:错误的解释器:没有这样的文件或目录
蟒蛇在哪里
显示以下事物结果的命令
python: /usr/bin/python /usr/bin/python2.7 /usr/bin/python3.4 /usr/bin/python3.4m /usr/lib/python2.7 /usr/lib/python3.4 /etc /python /etc/python2.7 /etc/python3.4 /usr/local/lib/python2.7 /usr/local/lib/python3.4 /usr/include/python2.7 /usr/include/python3.4m /usr/share/python /usr/share/man/man1/python.1.gz