What steps will reproduce the problem?
1. download pyopencv-2.1.0.wr1.2.0
2. create a virtualenv with --distribute parameter
3. ./setup.py install
What is the expected output? What do you see instead?
Downloading/unpacking pyopencv==2.1.0.wr1.2.0
Downloading pyopencv-2.1.0.wr1.2.0.tar.gz (363kB): 363kB downloaded
Running setup.py (path:.../build/pyopencv/setup.py) egg_info for package pyopencv
Traceback (most recent call last):
File "<string>", line 17, in <module>
File ".../build/pyopencv/setup.py", line 92, in <module>
from setuptools import setup, find_packages, Extension, Library
ImportError: cannot import name Library
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 17, in <module>
File ".../build/pyopencv/setup.py", line 92, in <module>
from setuptools import setup, find_packages, Extension, Library
ImportError: cannot import name Library
What version of the product are you using? On what operating system?
Ubuntu 14.04, python 2.7, setuptools 5.7
Please provide any additional information below.
From stackoverflow: In recent version of setuptools, Library is inside of
extension.py. pyopencv should import Library as setuptools.extension.Library
not setuptools.Library
Original issue reported on code.google.com by amiralia...@gmail.com on 26 Aug 2014 at 7:23
Original issue reported on code.google.com by
amiralia...@gmail.com
on 26 Aug 2014 at 7:23