I tried to use Homebrew to install graph-tool, but the python3 cannot find it.
brew tap homebrew/science
brew install graph-tool
It is said that the package is installed in homebrew/science/graph-tool-2.22_1
, where I only found /usr/local/Homebrew/Library/Taps/homebrew/homebrew-science/graph-tool.rb
.
When I tried to import graph-tool in python3, it shows that
from graph_tool.all import *
ImportError: No module named 'graph_tool'
I am using python3.
which python3
/usr/local/bin/python3
Is there a way I can use the graph_tool package installed in Homebrew?
Any help would be appreciated.