failed to import imread

80 views
Skip to first unread message

jip

unread,
Apr 11, 2012, 6:16:06 AM4/11/12
to python...@googlegroups.com
Dear Luis,
I have installed imread as follow:
$ sudo easy_install -U imread
[sudo] password for claire:
Searching for imread
Reading http://pypi.python.org/simple/imread/
Reading http://luispedro.org/software/imread
Best match: imread 0.2
Downloading http://pypi.python.org/packages/source/i/imread/imread-0.2.tar.gz#md5=33d302bd0884a2b6c8925d1a6176d5da
Processing imread-0.2.tar.gz
Running imread-0.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-ykYOSl/imread-0.2/egg-dist-tmp-7VmeX9
error: docs/source/readme.rst: No such file or directory

then

~$ python
Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import imread
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named imread

python was run on ubuntu 10.04

What's wrong?

Best regards

Jean-Patrick

Luis Pedro Coelho

unread,
Apr 11, 2012, 7:50:15 AM4/11/12
to python...@googlegroups.com
You are the first to report this obvious breakage (just goes to show how many
people used this :).

Anyway, the release was broken: a few files were missing. Just uploaded a new
version to PyPI, so try again.

Thanks for the report,
--
Luis Pedro Coelho | Institute for Molecular Medicine | http://luispedro.org

LxMLS 2012: Lisbon Machine Learning School
http://lxmls.it.pt


On Wednesday, April 11, 2012 03:16:06 AM jip wrote:
> Dear Luis,
> I have installed imread as follow:
> $ sudo easy_install -U imread
> [sudo] password for claire:
> Searching for imread
> Reading http://pypi.python.org/simple/imread/
> Reading http://luispedro.org/software/imread
> Best match: imread 0.2
> Downloading
> http://pypi.python.org/packages/source/i/imread/imread-0.2.tar.gz#md5=33d302

> bd0884a2b6c8925d1a6176d5da Processing imread-0.2.tar.gz

jip

unread,
Apr 11, 2012, 4:09:59 PM4/11/12
to python...@googlegroups.com

I don't imagine there's a bug in imread.

Probably old ubuntu distro+too much things in dist-packages + usr/local

Jean-Patrick

jip

unread,
Apr 16, 2012, 3:39:54 PM4/16/12
to python...@googlegroups.com
After upgrading from ubuntu 10.10 to 12.04(beta) +reinstalling had-hoc libs, succeeds to build and to import imread.
Best regards

Jean-Patrick
Reply all
Reply to author
Forward
0 new messages