haluhak149 / pythonxy

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

ImportError: matplotlib requires pyparsing #707

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If relevant, please answer to the following questions:
1. What version of Python(x,y) have you installed?
2.7.5
2. Which components have you installed (Python(x,y) installer:
componentpage):
    a. Have you selected the "Recommended" component selection? 
yes
    b. Have you selected the "Full" component selection?
Don't know
c. Have you selected manually plugins in the component list?
No
Whatplugins?
None

3. Have you selected the option "Customize installation directories"?
a. Yes
b. No
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
b. custom path, which one?
C:\Python27

6. Have you installed Python(x,y):
    a. For "Current user only"
    b. For "All users"
Can't remember, I think b.

7. What is your operating system?
a. Windows XP
b. Windows Vista
c. Windows 7
d. Windows 8
d

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

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

10. If you are using Windows Vista/7, have you installed Python(x,y):
a. simply by double-clicking on the installer
    b. by right-clicking on the installer and selecting "Run as an
administrator"

11. Regarding installed software on your machine, how did you clean your
machine before installing Python(x,y)  (multiple answers are possible):
a. you didn't do anything, you installed Python(x,y) directly on your
machine without precaution
There was no Python on the machine.

b. you uninstalled any previous Python distribution (including the
official .msi)
c. you cleaned the Windows registry by removing all Python-related keys
d. you cleaned the environment variables by removing all deprecated
entries

What steps will reproduce the problem?
1.
Python 2.7.5 (default, May 15 2013, 22:43:36) [MSC v.1500 32 bit (Intel)]
Type "copyright", "credits" or "license" for more information.

IPython 1.1.0 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.
[TerminalIPythonApp] WARNING | Eventloop or matplotlib integration failed. Is 
matplotlib installed?
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
C:\Python27\lib\site-packages\IPython\core\shellapp.pyc in <lambda>(key)
    221         shell = self.shell
    222         if self.pylab:
--> 223             enable = lambda key: shell.enable_pylab(key, 
import_all=self.pylab_import_all)
    224             key = self.pylab
    225         elif self.matplotlib:

C:\Python27\lib\site-packages\IPython\core\interactiveshell.pyc in 
enable_pylab(self, gui, import_all, welcome_message)
   2924         from IPython.core.pylabtools import import_pylab
   2925
-> 2926         gui, backend = self.enable_matplotlib(gui)
   2927
   2928         # We want to prevent the loading of pylab to pollute the user's

C:\Python27\lib\site-packages\IPython\core\interactiveshell.pyc in 
enable_matplotlib(self, gui)
   2873         """
   2874         from IPython.core import pylabtools as pt
-> 2875         gui, backend = pt.find_gui_and_backend(gui, 
self.pylab_gui_select)
   2876
   2877         if gui != 'inline':

C:\Python27\lib\site-packages\IPython\core\pylabtools.pyc in 
find_gui_and_backend(gui, gui_select)
    209     """
    210
--> 211     import matplotlib
    212
    213     if gui and gui != 'auto':

C:\Python27\lib\site-packages\matplotlib\__init__.py in <module>()
    113     import pyparsing
    114 except ImportError:
--> 115     raise ImportError("matplotlib requires pyparsing")
    116 else:
    117     _required = [1, 5, 6]

ImportError: matplotlib requires pyparsing
2.
3.

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

Please provide any additional information below.

Original issue reported on code.google.com by RobertJu...@gmail.com on 17 Dec 2013 at 6:37

GoogleCodeExporter commented 9 years ago
Experiencing the same problem after installing Python (x,y) version 2.7.5.2

The interpreter is answering "ImportError: matplotlib requires pyparsing" 
when trying to interpret the line "import matplotlib.pyplot" of my source code.

Original comment by frambois...@yahoo.com on 26 Dec 2013 at 1:18

GoogleCodeExporter commented 9 years ago
I am also having a similar issue.

Original comment by adca...@gmail.com on 30 Dec 2013 at 1:55

GoogleCodeExporter commented 9 years ago
I have the same problem 
"ImportError: matplotlib requires pyparsing"
Downloading pyparsing , i need an older Pythonxy version.
Are there any solutions ?
reinhard.art@googlemail.com

Original comment by reinhard...@gmail.com on 14 Jan 2014 at 8:34

GoogleCodeExporter commented 9 years ago
If you have easy install available, the easiest thing to try (in Windows) is to 
open a dos command prompt line and to type "easy_install matplotlib". 

That installed the program with the version I needed to get it up and running 
with Python X,Y. 

If that doesn't do it, I'm not sure what the best method would be...

Original comment by Alex.Mor...@gmail.com on 14 Jan 2014 at 5:59

GoogleCodeExporter commented 9 years ago
See bug 694. pyparsing is erroneously not checked in the installation by 
default.

Original comment by rob.guz...@gmail.com on 20 Jan 2014 at 7:01

GoogleCodeExporter commented 9 years ago
Should be fixed in 2.7.6.0 - out now.

Cheers!

Original comment by grizzly.nyo on 22 Feb 2014 at 3:19

GoogleCodeExporter commented 9 years ago

Original comment by grizzly.nyo on 23 Feb 2014 at 6:53

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 6a2a0cc629fc.

Original comment by grizzly.nyo on 25 Feb 2014 at 8:03

GoogleCodeExporter commented 9 years ago
broken link for me!! /)

Original comment by l.j...@eleves-alsacienne.org on 18 May 2014 at 9:31