clonly / pythonxy

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

Inability to start Spyder or IPython #693

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
1. What version of Python(x,y) have you installed?

2.7.5.1

2. Which components have you installed (Python(x,y) installer:

Full, Recommended, and Custom to no avail.

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

No.

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

Default path.

6. Have you installed Python(x,y):

Both.

7. What is your operating system?

Windows 7

8. Is the operating system 64 bit?

Yes.

9. When you installed Python(x,y), were you logged in as :

Administrator.

10. If you are using Windows Vista/7, have you installed Python(x,y):

Double-clicking. UAC is disabled.

11. Regarding installed software on your machine, how did you clean your
machine before installing Python(x,y)  (multiple answers are possible):

Cleaned previous Python installs, cleaned registry, checked environment 
variables.

What steps will reproduce the problem?

Attempting to start Spyder either from menu, command-line, or 
\scripts\Spyder.exe.

What is the expected output? What do you see instead?

I expected the Spyder IDE to start, but received this:

Traceback (most recent call last):
  File "C:\Python27\Scripts\spyder-script.py", line 9, in <module>
    load_entry_point('spyder==2.2.4', 'console_scripts', 'spyder')()
  File "C:\Python27\lib\site-packages\pkg_resources.py", line 357, in load_entry
_point
    return get_distribution(dist).load_entry_point(group, name)
  File "C:\Python27\lib\site-packages\pkg_resources.py", line 2394, in load_entr
y_point
    return ep.load()
  File "C:\Python27\lib\site-packages\pkg_resources.py", line 2108, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "C:\Python27\lib\site-packages\spyderlib\start_app.py", line 13, in <modu
le>
    from spyderlib.config import CONF
  File "C:\Python27\lib\site-packages\spyderlib\config.py", line 21, in <module>

    from spyderlib.utils import iofuncs, codeanalysis
  File "C:\Python27\lib\site-packages\spyderlib\utils\iofuncs.py", line 61, in <
module>
    import numpy as np  # analysis:ignore
  File "C:\Python27\lib\site-packages\numpy\__init__.py", line 137, in <module>
    import add_newdocs
  File "C:\Python27\lib\site-packages\numpy\add_newdocs.py", line 9, in <module>

    from numpy.lib import add_newdoc
  File "C:\Python27\lib\site-packages\numpy\lib\__init__.py", line 13, in <modul
e>
    from polynomial import *
  File "C:\Python27\lib\site-packages\numpy\lib\polynomial.py", line 11, in <mod
ule>
    import numpy.core.numeric as NX
AttributeError: 'module' object has no attribute 'core'

Original issue reported on code.google.com by SexyPant...@gmail.com on 9 Oct 2013 at 7:02

GoogleCodeExporter commented 9 years ago
Problem appears to have been solved upon installation of VSC++ 2010 and/or 
precompiled DLL.

Might suggest adding VSC++ 2008/2010 to the installation requirements to 
prevent errors.

Original comment by SexyPant...@gmail.com on 10 Oct 2013 at 12:37

GoogleCodeExporter commented 9 years ago
may be a duplicate of issue #687 "Pythonxy install does not run Spyder, IDLE 
,IPython, PyLab" (https://code.google.com/p/pythonxy/issues/detail?id=687)

Try replacing all shortcuts to "spyder.exe" with shortcuts to "spyder.bat" then 
changing the icon to point to "spyder.ico" - note both files are in 
python27/scripts. AFAIK spyder.exe (which starts spyder-script.py) is not part 
of the spyder package distribution from https://code.google.com/p/spyderlib/, 
spyder.bat & spyder (a shell script) both are and should work fine.

Also, check and see if starting Spyder works from within the "Python (x,y) 
Launcher". Should work fine. Hope that helps.

Original comment by bwanama...@gmail.com on 11 Nov 2013 at 7:23

GoogleCodeExporter commented 9 years ago
possible duplicate of issue #671

Original comment by bwanama...@gmail.com on 11 Nov 2013 at 7:24