【发布时间】:2017-09-17 05:17:35
【问题描述】:
我尝试使用 Homebrew 安装graph-tool,但是python3找不到。
brew tap homebrew/science
brew install graph-tool
据说包安装在homebrew/science/graph-tool-2.22_1,我在那里只找到/usr/local/Homebrew/Library/Taps/homebrew/homebrew-science/graph-tool.rb。
当我尝试在 python3 中导入图形工具时,它表明
from graph_tool.all import *
ImportError: No module named 'graph_tool'
我正在使用 python3。
which python3
/usr/local/bin/python3
有没有办法可以使用安装在 Homebrew 中的 graph_tool 包?
任何帮助将不胜感激。
【问题讨论】:
-
嗨,你是怎么解决这个问题的?
标签: python homebrew graph-tool