pmneila / PyMaxflow

Python library for creating flow networks and computing the maxflow/mincut (aka graph-cuts for Python)

Home Page:http://pmneila.github.io/PyMaxflow/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Success installation but get error when import on Mac and Ubuntu.

xwzy opened this issue · comments

commented

Mac os10.12.5

$ which pip
/Users/wzy/anaconda/bin/pip
$ which python
/Users/wzy/anaconda/bin/python
$ which ipython
/Users/wzy/anaconda/bin/ipython
$ pip --version
pip 9.0.1 from /Users/wzy/anaconda/lib/python3.5/site-packages (python 3.5)
$ python --version
Python 3.5.2 :: Anaconda custom (x86_64)

Python 3.5.2 |Anaconda custom (x86_64)| (default, Jul  2 2016, 17:52:12) 
[GCC 4.2.1 Compatible Apple LLVM 4.2 (clang-425.0.28)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pymaxflow
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named 'pymaxflow'
>>> import PyMaxflow
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named 'PyMaxflow'

$ pip show pymaxflow
Name: PyMaxflow
Version: 1.2.4
Summary: A mincut/maxflow package for Python
Home-page: https://github.com/pmneila/PyMaxflow
Author: Pablo Márquez Neila
Author-email: pablo.marquezneila@epfl.ch
License: GPL
Location: /Users/wzy/anaconda/lib/python3.5/site-packages
Requires: