coolcoolad / pythonxy

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

v2.7.2.2rc1 DLL load failed: %1 is not a valid Win32 application #416

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.2.2rc1

2. Which components have you installed (Python(x,y) installer: component
page):
    a. Have you selected the "Recommended" component selection?
Yes

    b. Have you selected the "Full" component selection?
Yes

c. Have you selected manually plugins in the component list? What
plugins?
All

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

b. No

4. If the answer to 3. is yes, what installation directories have you
chosen?
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?

c. Windows 7

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

10. If you are using Windows Vista/7, have you installed Python(x,y):
a. simply by double-clicking on the installer

11. Regarding installed softwares 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. Restarting pythonxy from the desktop shortcut (shows in IPython window)
2. Opening IPython in either Console2 or cmd.exe results in the same error.
3.

What is the expected output? What do you see instead?
Expected output should be a clean IPython command line.
Instead I get the below:

Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\spyderlib\widgets\externalshell\startup.py", line 87, in <module>
    __ipythonshell__ = IPython.Shell.start()
  File "C:\Python27\lib\site-packages\IPython\Shell.py", line 1242, in start
    return shell(user_ns = user_ns)
  File "C:\Python27\lib\site-packages\IPython\Shell.py", line 1148, in __init__
    shell_class=MatplotlibMTShell)
  File "C:\Python27\lib\site-packages\IPython\Shell.py", line 1047, in __init__
    on_kill=[QtGui.qApp.exit])
  File "C:\Python27\lib\site-packages\IPython\ipmaker.py", line 100, in make_IPython
    embedded=embedded,**kw)
  File "C:\Python27\lib\site-packages\IPython\Shell.py", line 636, in __init__
    user_ns,user_global_ns,b2 = self._matplotlib_config(name,user_ns,user_global_ns)
  File "C:\Python27\lib\site-packages\IPython\Shell.py", line 556, in _matplotlib_config
    import matplotlib.pylab as pylab
  File "C:\Python27\lib\site-packages\matplotlib-1.0.1_r0-py2.7-win-amd64.egg\matplotlib\pylab.py", line 220, in <module>
    from matplotlib import mpl  # pulls in most modules
  File "C:\Python27\lib\site-packages\matplotlib-1.0.1_r0-py2.7-win-amd64.egg\matplotlib\mpl.py", line 1, in <module>
    from matplotlib import artist
  File "C:\Python27\lib\site-packages\matplotlib-1.0.1_r0-py2.7-win-amd64.egg\matplotlib\artist.py", line 6, in <module>
    from transforms import Bbox, IdentityTransform, TransformedBbox, TransformedPath
  File "C:\Python27\lib\site-packages\matplotlib-1.0.1_r0-py2.7-win-amd64.egg\matplotlib\transforms.py", line 34, in <module>
    from matplotlib._path import affine_transform
ImportError: DLL load failed: %1 is not a valid Win32 application.

Please provide any additional information below.

Current stable version will install but not function at all.

Original issue reported on code.google.com by kevin...@gmail.com on 11 Apr 2012 at 11:36

GoogleCodeExporter commented 8 years ago
Partial fix.

Installed current Matplotlib and IPython.
Removed the Matplotlib egg directory as Matplotlib had installed it's own 
directory.

Status:
Launching spyder also launches IPython appropriately now and import matplotlib.
Cannot launch IPython in either Console2 or cmd.exe from the pythonxy launcher.
In fact, the only interactive console that launches is python.
IPython launches fine if run from cmd.exe manually.

Original comment by kevin...@gmail.com on 12 Apr 2012 at 12:03

GoogleCodeExporter commented 8 years ago
There was a previous installation of matplotlib 1.0.1 for 64 bit. Python(x, y) 
is a 32bit. It will work perfectly well on 64 bit Windows (I use it myself on a 
daily basis) but you can't mix 64bit binary package with it!.

IPython 0.12 is _not_ supported in Python(x, y).

Which (ipython, matplotlib) packages did you install??
where they Python(x,y) packages?

Original comment by grizzly.nyo on 13 Apr 2012 at 10:55

GoogleCodeExporter commented 8 years ago

Original comment by grizzly.nyo on 28 Apr 2012 at 10:39