Forum Discussion

mariogolf_57851's avatar
mariogolf_57851
Icon for Nimbostratus rankNimbostratus
Oct 29, 2009

Does pycontrol work in Linux?

Looks strange:

 

 

!/bin/env python

 

 

Also:

 

 

PATH for PYTHON

 

 

ImportError: No module named pycontrol.pyControl

 

 

Tried this...

 

 

import sys

 

sys.path.append("/home/user/pycontrol")

 

 

2 Replies

  • yep, I have it running on ubuntu 9.04. I do have a 2.5 installation though 'cause I have issues with the ZSI library on 2.6. I'll go through the install steps again in the morning and write them down, but basically, if you install python2.5, and then the easy setup package, the zsi library, and the pyControl egg from your 2.5 python, you should be good to go.
  • The staza !/bin/env python is supposed to find the python executable on your system. It's a fairly common way to try and find an executable on without knowing the specific path (/bin/, /usr/bin/, /user/local/bin, etc.).

     

     

    Pycontrol works on Linux, although you'll need sudo if you're tying to install it via easy_install...

     

     

    -Matt