Just to elaborate on Terry's point a bit, sys.path is influenced (in
part) by the PYTHONPATH environment variable. If you find that the
directory containing 'python' is not in sys.path (which you can check
with 'import sys; print sys.path'), add that directory to PYTHONPATH
and try again. This may
On 2/7/2010 10:56 PM, 7H3LaughingMan wrote:
To make the background information short, I am trying to take a
program that uses Python for scripting and recompile it for Linux
since it originally was built to run on Win32. The program itself was
designed to be able to be compiled on Linux and someo
The folder does contain a file named '__init__.py'. However it
contains nothing inside of the file.
On Feb 8, 12:42 am, Austin Bingham wrote:
> Does the 'python' directory contain a file named '__init__.py'? This
> is required to let that directory act as a package
> (see:http://docs.python.org/
Does the 'python' directory contain a file named '__init__.py'? This
is required to let that directory act as a package (see:
http://docs.python.org/tutorial/modules.html#packages); without it,
you'll see the symptoms you're seeing.
Austin
On Mon, Feb 8, 2010 at 4:56 AM, 7H3LaughingMan wrote:
>
To make the background information short, I am trying to take a
program that uses Python for scripting and recompile it for Linux
since it originally was built to run on Win32. The program itself was
designed to be able to be compiled on Linux and someone made there on
release with source that adde