You need full administrator rights for pylab to work - power user status is
not enough.
got the following error when I tried to call in
"From pylab import *" :
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
from pylab import *
File "C:\Python25\Lib\site-packages\pylab.py", line 1, in <module>
from matplotlib.pylab import *
File "C:\Python25\lib\site-packages\matplotlib\__init__.py", line 677, in
<module>
rcParams = rc_params()
File "C:\Python25\lib\site-packages\matplotlib\__init__.py", line 598, in
rc_params
fname = matplotlib_fname()
File "C:\Python25\lib\site-packages\matplotlib\__init__.py", line 548, in
matplotlib_fname
fname = os.path.join(get_configdir(), 'matplotlibrc')
File "C:\Python25\lib\site-packages\matplotlib\__init__.py", line 242, in
wrapper
ret = func(*args, **kwargs)
File "C:\Python25\lib\site-packages\matplotlib\__init__.py", line 438, in
_get_configdir
raise RuntimeError("Failed to create %s/.matplotlib; consider setting
MPLCONFIGDIR to a writable directory for matplotlib configuration data"%h)
RuntimeError: Failed to create C:\/.matplotlib; consider setting
MPLCONFIGDIR to a writable directory for matplotlib configuration data
--
View this message in context:
http://www.nabble.com/Can%27t-Import-Pylab-on-XP---runtime-error.-tp20034693p20108537.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users