macports没有将python_select放在/ opt / local / bin中
I've uninstalled and reinstalled python_select using MacPorts and yet it won't show up in /opt/local/bin. Consequently, I get a "command not found" error when attempting to run it. Yet MacPorts insists that it is installed. Have even tried uninstall -f and port clean --all python_select.
我已经使用MacPorts卸载并重新安装了python_select,但它不会显示在/ opt / local / bin中。因此,尝试运行时出现“未找到命令”错误。然而,MacPorts坚持认为它已安装。甚至尝试过卸载-f和port clean --all python_select。
Is there a more drastic step to remove it from MacPorts and try installing again?
是否有更激烈的步骤将其从MacPorts中删除并尝试重新安装?
2 个解决方案
#1
28
It seems that python_select
has been deprecated:
似乎已弃用python_select:
"python_select" (and other standalone *_select scripts) is gone.
“python_select”(以及其他独立的* _select脚本)消失了。
Use "sudo port select python python26" etc.
使用“sudo port select python python26”等。
更多相关文章
- 从bash脚本传递参数到python解释器
- Python脚本如何获取当前环节和用户等信息
- python mysql 导出到mongodb脚本
- 脚本结束后如何运行进程并退出?
- 如何获得正在运行的Python脚本的路径?(复制)
- Shell脚本更改带变量的目录
- Linux(Debian)设置开机自启动脚本
- 《Linux命令行与shell脚本》笔记--第5章:使用Linux环境变量
- linux shell脚本编程笔记(四): 获取字符串长度的七种方法