chaodluffy / pythonxy

Automatically exported from code.google.com/p/pythonxy
0 stars 0 forks source link

pkg_resources.DistributionNotFound: PIL>=1.1.6 #677

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
If relevant, please answer to the following questions:
1. What version of Python(x,y) have you installed? 2.7.5.0

2. Which components have you installed (Python(x,y) installer:
componentpage):
    b. Have you selected the "Full" component selection?
Whatplugins?

3. Have you selected the option "Customize installation directories"?
b. No

5. Where did you install Python(x,y) itself?
a. default path

6. Have you installed Python(x,y):
    b. For "All users"

7. What is your operating system?
d. Windows 8

8. Is the operating system 64 bit?
a. Yes

9. When you installed Python(x,y), were you logged in as :
b. an administrator of the machine

11. Regarding installed software on your machine, how did you clean your
machine before installing Python(x,y)  (multiple answers are possible):
b. you uninstalled any previous Python distribution (including the
official .msi)

What steps will reproduce the problem?
1. Try to run Sift

What is the expected output? Program should run. What do you see instead? 
Program crashed with an exception.  See below.

Please provide any additional information below.

To fix it I had to manually install PIL-1.1.7.win32-py2.7.exe over my python-xy 
install.

The traceback:
Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\rpdb2.py", line 14499, in <module>
    ret = rpdb2.main()
  File "C:\Python27\lib\site-packages\rpdb2.py", line 14470, in main
    StartServer(_rpdb2_args, fchdir, _rpdb2_pwd, fAllowUnencrypted, fAllowRemote
, secret)
  File "C:\Python27\lib\site-packages\rpdb2.py", line 14220, in StartServer
    imp.load_source('__main__', _path)
  File "c:\python27\scripts\sift-script.pyw", line 5, in <module>
    from pkg_resources import load_entry_point
  File "C:\Python27\lib\site-packages\rpdb2.py", line 13487, in rpdb2_import_wra
pper
    m = g_import(*args, **kwargs)
  File "C:\Python27\lib\site-packages\pkg_resources.py", line 2850, in <module>
    working_set.require(__requires__)
  File "C:\Python27\lib\site-packages\pkg_resources.py", line 696, in require
    needed = self.resolve(parse_requirements(requirements))
  File "C:\Python27\lib\site-packages\pkg_resources.py", line 594, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: PIL>=1.1.6

Original issue reported on code.google.com by bphilp...@gmail.com on 4 Jul 2013 at 3:31

GoogleCodeExporter commented 8 years ago
Note: I had to run winpdb to catch the exception that is why the first few 
lines of the traceback include rpdb2

Original comment by bphilp...@gmail.com on 4 Jul 2013 at 2:09

GoogleCodeExporter commented 8 years ago
Uninstall the PIL you installed above.

Install:
https://pythonxy.googlecode.com/files/guiqwt-2.3.1-4_py27.exe

Followed by:
https://pythonxy.googlecode.com/files/PIL-2.0.0-1_py27.exe

Original comment by grizzly.nyo on 5 Jul 2013 at 7:25

GoogleCodeExporter commented 8 years ago

Original comment by grizzly.nyo on 1 Oct 2013 at 9:55