473,383 Members | 1,737 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Problem with help() in python/ipython interpreters

I'm running python 2.5.2 on WinXP. I've always used a GUI for
interactive development, but I wanted to try out ipython which better
supports matplotlib in this mode. Unfortunately, whenever I try to
use help() I get the following error:

(Sys) The system cannot find the file specified.
"C:\documents"

It turns out that the regular (python.exe) interpreter has the same
problem. I have the HTML docs installed, my PYTHONDOCS environment
variable points to the HTML directory, and I actually uninstalled and
reinstalled every library I use from scratch to make sure it wasn't
some random config issue.

The error message leads me to believe that the help() function is
trying to access something in my windows user directory structure (C:
\Documents and Settings\<username>\...) and is having problems with
the embedded space. The really strange thing is that my python
directory is rooted at c:\python25 including my html docs. I know that
ipython does by default create a profile directory in %HOME%\_ipython
but that doesn't seem to be a problem and wouldn't impact the default
python.exe interpreter.

Any ideas?
Jun 27 '08 #1
1 1085
En Fri, 09 May 2008 20:45:09 -0300, Casey <Ca******@gmail.comescribió:
I'm running python 2.5.2 on WinXP. I've always used a GUI for
interactive development, but I wanted to try out ipython which better
supports matplotlib in this mode. Unfortunately, whenever I try to
use help() I get the following error:

(Sys) The system cannot find the file specified.
"C:\documents"

It turns out that the regular (python.exe) interpreter has the same
problem. I have the HTML docs installed, my PYTHONDOCS environment
variable points to the HTML directory, and I actually uninstalled and
reinstalled every library I use from scratch to make sure it wasn't
some random config issue.
I don't know exactly how does help() try to find the documentation, but I have these differences:

- I don't have a PYTHONDOCS variable (nor PYTHONPATH nor anything similar)
- The Windows registry contains this entry:
[HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.5\ Help\Main Python Documentation]
@="C:\\Apps\\Python25\\Doc\\Python25.chm"
- I *think* that I installed the HTML docs on that same directory a long time ago...

Hope this info could help you.

--
Gabriel Genellina

Jun 27 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Uwe Mayer | last post by:
Hi, in an application I want to provide direct access to the python interpreter of the running program. I use rawinput() and exec() to read an input string and a self-made function to check...
15
by: Ashot | last post by:
This is sort of both Python and Vim related (which is why I've posted to both newsgroups). Python related: ---------------------- I have been frustrated for quite some time with a lack of a...
0
by: David S. | last post by:
If you are using ipython on Windows then you will have made sure you have Gary Bishop's readline library as instructed in the ipython install directions found at: http://ipython.scipy.org/ ...
0
by: Marko Bozikovic | last post by:
Hi all, I have a small problem with IPython shell on Windows. If I run 'python C:\python\scripts\ipython -p pysh' from cmd.exe or directly from Run dialog, I don't get any output from 'shell'...
27
by: Robert Hicks | last post by:
I want to upgrade to 2.5 but I don't see any unistall instructions anywhere. Robert
5
by: Adam Atlas | last post by:
Does anyone know if it would be possible to create a CPython extension -- or use the ctypes module -- to access Python's own embedding API (http://docs.python.org/api/initialization.html &c.)?...
7
by: braver | last post by:
Greetings -- as a long time user of both Python and Ruby interpreters, I got used to the latter's syntax-coloring gem, wirble, which colorizes Ruby syntax on the fly. Is there anything similar for...
7
by: Michele Simionato | last post by:
I have noticed that the python-mode for Emacs that comes with the latest Ubuntu is missing the class browser. Moreover if works differently from the python-mode I was used to (for instance CTRL-c-c...
0
by: Python Nutter | last post by:
Mini install guide for python on the iPhone: Cydia =Install SSH helps make initial configuration easier until you get used to MobileTerminal Cydia =Install MobileTerminal (closest to a bash...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.