Cntk: ImportError: No module named 'past'

Created on 8 Dec 2016  路  4Comments  路  Source: microsoft/CNTK

Trying to do the example "Object Detection using Fast R CNN" but I can麓t go futher than the first part of "Quick guide". Trying to run "A1_GenerateInputROIs.py" in Spyder 3.0.0 but I get the error "ImportError: No module named 'past'". In "selectivesearch.py" line 3 "from past.builtins import cmp" is the source of "ImportError: No module named 'past'" I think. Can anybody help me, how to run this example?

Most helpful comment

pip install future

All 4 comments

pip install future

I am using Visual Studio Code and receiving the same problem. I am both new to VSCode and to Python
can anybody please explain how to install future package with steps?

Open a command line (Windows key --> cmd), activate your python environment that you use (e.g. type activate cntkdev-py34 if you installed CNTK using the devInstall tool), then type pip install future. That should do.

you just need to install following command

pip install future
Was this page helpful?
0 / 5 - 0 ratings

Related issues

playgithub picture playgithub  路  3Comments

xmm1989218 picture xmm1989218  路  4Comments

christopher5106 picture christopher5106  路  5Comments

netvinod picture netvinod  路  3Comments

yujianyuanhaha picture yujianyuanhaha  路  4Comments