1 Replies - 692 Views - Last Post: 17 September 2011 - 10:20 AM Rate Topic: -----

#1 kitchu  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 13-September 11

setting up PYTHONDOCS env variable !

Posted 14 September 2011 - 06:39 AM

Im a newbie currently using ubuntu 11.04 and hence have a doubt :

I am following the python tutorial here: http://www.swaroopch.com/byteofpython/
and I am at an early step where I want to set the PYTHONDOCS env. variable properly so I can view things like help ('print') at the interpreter prompt.

The problem is that the tutorial suggests this step (for Fedora):

Code:

$ env PYTHONDOCS=/usr/share/doc/python-docs-2.3.4/html/ python
Python 2.3.4 (#1, Oct 26 2004, 16:42:40)...

but, when I go to /usr/share/doc... there is not "python-docs" folder for Python 2.7.1 I am wondering what folder I need to set the environment variable to in order to gain said functionality.

can someone help me out..thanks !!

Is This A Good Question/Topic? 0
  • +

Replies To: setting up PYTHONDOCS env variable !

#2 Motoma  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 452
  • View blog
  • Posts: 796
  • Joined: 08-June 10

Re: setting up PYTHONDOCS env variable !

Posted 17 September 2011 - 10:20 AM

I haven't used Fedora in years, but you might not have the python-docs package installed? In server installations it's common to leave out documentation files and man pages to save on disk space.

Try yum search python-docs or yum search python to see if you can install the package.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1