ah, progress...

dieter dieter at handshake.de
Thu Dec 20 01:58:55 EST 2018


ant <ant at anthive.com> writes:
> ant wrote:
> ...
>> (env) me at ant(26)~/src/test$ ngfp
>> Traceback (most recent call last):
>>   File "/home/me/src/env/bin/ngfp", line 7, in <module>
>>     from ngfp import main
>> ImportError: cannot import name 'main' from 'ngfp' (/home/me/src/salsa/env/lib/python3.7/site-packages/ngfp/__init__.py)
> ...
> hmmm, but my main is defined in ngfp.py

The error message tells you that it looks for "main"
in "...ngfp/__init__.py", not in "ngfp.py".




More information about the Python-list mailing list