module name not recognized
dd55 at cornell.edu
Sat Oct 9 02:34:38 CEST 2004
Larry Bates wrote:
> Darren Dale wrote:
>> I have built two basic modules using distutils. One of them installs
>> fine, but the other, I can't import modules from it. I've been pouring
>> over the code and I cant find the problem.
>> I know the file has been copied to site-packages/mypackage, but I cant do
>> from mypackage import mymodule
>> Could I get suggestions as to why a module would be installed but not
> Two things to check:
> Does the package have the required __init__.py file?
> Is the directory where it is installed on the PYTHONPATH?
> Larry Bates
I checked both before writing the original post, this isnt the problem.
More information about the Python-list