python modules in home dir

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • dzieciou

    #1

    python modules in home dir

    Hello!

    I'm new-comer in Python.
    I want to install few Python modules (4Suite, RDFLib, Twisted and Racoon)
    in my home directory, since Python installation is already installed in the
    system
    and I'm NOT its admin.
    I cannot install pyvm (portable binary python machine) - have no such big
    quota.
    Any idea how can I solve it?

    Best

    maciek
  • wittempj@hotmail.com

    #2
    Re: python modules in home dir

    set the PYTHON_PATH to include your home directory

    Comment

    • Laszlo Zsolt Nagy

      #3
      Re: python modules in home dir

      wittempj@hotmai l.com wrote:
      [color=blue]
      >set the PYTHON_PATH to include your home directory
      >
      >[/color]
      Its correct name is 'PYTHONPATH'.
      Under C shell:

      setenv PYTHONPATH /home/yourlogin/pythonlibs

      Under bourne/bash:

      set PYTHONPATH=/home/yourlogin/pythonlibs
      export PYTHONPATH


      --
      _______________ _______________ _______________ _______________ _____
      Laszlo Nagy web: http://designasign.biz
      IT Consultant mail: gandalf@geochem source.com

      Python forever!


      Comment

      • Uche Ogbuji

        #4
        Re: python modules in home dir

        On Sat, 2005-04-09 at 14:09 -0700, dzieciou wrote:
        [color=blue]
        > I'm new-comer in Python.
        > I want to install few Python modules (4Suite, RDFLib, Twisted and Racoon)
        > in my home directory, since Python installation is already installed in the
        > system
        > and I'm NOT its admin.
        > I cannot install pyvm (portable binary python machine) - have no such big
        > quota.
        > Any idea how can I solve it?[/color]

        To install 4Suite in the home dir, use an incantation such as:

        ../setup.py config --prefix=$HOME/lib
        ../setup.py install

        Note: I expect you also installed Python in your home dir?


        --
        Uche Ogbuji Fourthought, Inc.
        http://uche.ogbuji.net http://fourthought.com
        http://copia.ogbuji.net http://4Suite.org
        Use CSS to display XML, part 2 - http://www-128.ibm.com/developerwork...xmlcss2-i.html
        Writing and Reading XML with XIST - http://www.xml.com/pub/a/2005/03/16/py-xml.html
        Use XSLT to prepare XML for import into OpenOffice Calc - http://www.ibm.com/developerworks/xml/library/x-oocalc/
        Schema standardization for top-down semantic transparency - http://www-128.ibm.com/developerwork...x-think31.html

        Comment

        • Uche Ogbuji

          #5
          Re: python modules in home dir

          On Sat, 2005-04-16 at 08:12 -0600, Uche Ogbuji wrote:[color=blue]
          > On Sat, 2005-04-09 at 14:09 -0700, dzieciou wrote:
          >[color=green]
          > > I'm new-comer in Python.
          > > I want to install few Python modules (4Suite, RDFLib, Twisted and Racoon)
          > > in my home directory, since Python installation is already installed in the
          > > system
          > > and I'm NOT its admin.
          > > I cannot install pyvm (portable binary python machine) - have no such big
          > > quota.
          > > Any idea how can I solve it?[/color]
          >
          > To install 4Suite in the home dir, use an incantation such as:
          >
          > ./setup.py config --prefix=$HOME/lib
          > ./setup.py install
          >
          > Note: I expect you also installed Python in your home dir?[/color]

          BTW, I expanded on this suggestion at:




          --
          Uche Ogbuji Fourthought, Inc.
          http://uche.ogbuji.net http://fourthought.com
          http://copia.ogbuji.net http://4Suite.org
          Use CSS to display XML, part 2 - http://www-128.ibm.com/developerwork...xmlcss2-i.html
          XML Output with 4Suite & AMara - http://www.xml.com/pub/a/2005/04/20/py-xml.html
          Use XSLT to prepare XML for import into OpenOffice Calc - http://www.ibm.com/developerworks/xml/library/x-oocalc/
          Schema standardization for top-down semantic transparency - http://www-128.ibm.com/developerwork...x-think31.html

          Comment

          Working...