ant <a...@anthive.com> writes:
> ant wrote:
> ...
>> (env) me@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".

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to