基於評論從@Vortexfive(謝謝),這解決了這個問題:
SCML-JRichardson:pdf2html5 jric$ port installed py24-scipy
The following ports are currently installed:
py24-scipy @0.11.0_0+gcc45 (active)
這是奇怪的:
SCML-JRichardson:pdf2html5 jric$ port installed all | grep scipy
py-scipy @0.11.0_0
py-scipy @0.13.2_0 (active)
py27-scipy @0.11.0_0+gcc45
py27-scipy @0.13.2_0+gcc45 (active)
但無論如何,
Password:
---> Unable to uninstall py24-scipy @0.11.0_0+gcc45, the following ports depend on it:
---> py-scipy @0.11.0_0
Error: org.macports.uninstall for port py24-scipy returned: Please uninstall the ports that depend on py24-scipy first.
Please see the log file for port py24-scipy for details:
/opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_py24- scipy_0.11.0_0+gcc45/py24-scipy/main.log
Warning: Failed to execute portfile from registry for py24-scipy @0.11.0_0+gcc45
---> Unable to uninstall py24-scipy @0.11.0_0+gcc45, the following ports depend on it:
---> py-scipy @0.11.0_0
Error: port uninstall failed: Please uninstall the ports that depend on py24-scipy first.
嘗試停用py- scipy所以它不會阻止py24-scip的移除
SCML-JRichardson:pdf2html5 jric$ sudo port deactivate py-scipy
---> Deactivating py-scipy @0.13.2_0
---> Cleaning py-scipy
卸載PY24-SciPy的 - BT不作爲PY-SciPy的是仍然存在
SCML-JRichardson:pdf2html5 jric$ sudo port uninstall py24-scipy
---> Unable to uninstall py24-scipy @0.11.0_0+gcc45, the following ports depend on it:
---> py-scipy @0.11.0_0
Error: org.macports.uninstall for port py24-scipy returned: Please uninstall the ports that depend on py24-scipy first.
Please see the log file for port py24-scipy for details:
/opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_py24-scipy_0.11.0_0+gcc45/py24-scipy/main.log
Warning: Failed to execute portfile from registry for py24-scipy @0.11.0_0+gcc45
---> Unable to uninstall py24-scipy @0.11.0_0+gcc45, the following ports depend on it:
---> py-scipy @0.11.0_0
Error: port uninstall failed: Please uninstall the ports that depend on py24-scipy first.
現在嘗試同時去除PY24-SciPy的[email protected]_0
SCML-JRichardson:pdf2html5 jric$ sudo port uninstall py24-scipy [email protected]_0
---> Uninstalling py-scipy @0.11.0_0
---> Cleaning py-scipy
---> Deactivating py24-scipy @0.11.0_0+gcc45
---> Cleaning py24-scipy
---> Uninstalling py24-scipy @0.11.0_0+gcc45
---> Cleaning py24-scipy
SCML-JRichardson:pdf2html5 jric$ sudo port activate py-scipy
---> Computing dependencies for py-scipy
---> Activating py-scipy @0.13.2_0
---> Cleaning py-scipy
我會工作嘗試'端口安裝py24-scipy',看看它是否已安裝,如果是'端口卸載py24-scipy'。就像你說的那樣,它可能不再被使用。 – Vortexfive