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”等。

更多相关文章

  1. 从bash脚本传递参数到python解释器
  2. Python脚本如何获取当前环节和用户等信息
  3. python mysql 导出到mongodb脚本
  4. 脚本结束后如何运行进程并退出?
  5. 如何获得正在运行的Python脚本的路径?(复制)
  6. Shell脚本更改带变量的目录
  7. Linux(Debian)设置开机自启动脚本
  8. 《Linux命令行与shell脚本》笔记--第5章:使用Linux环境变量
  9. linux shell脚本编程笔记(四): 获取字符串长度的七种方法

随机推荐

  1. XML入门教程:详细介绍XHTM模块
  2. 浅谈WEB页面工具语言XML(四)应用分类
  3. xml语法详细说明
  4. XML入门教程:XLink-XML/XSLT的具体分析
  5. 浅谈WEB页面工具语言XML(三)支持工具
  6. 分享.net 操作xml的简单方法及说明
  7. 用javascript操作xml方法与技巧的示例代
  8. XmlDocument 对象操作详细步骤
  9. 详细介绍C#读写xml文件应用的示例代码
  10. 浅谈WEB页面工具语言XML(一)产生背景