我的linux机器上有一个这个结构的项目:
project/
changelog
README
src/
install.sh
myproject.py
modules/
f.py
d.py
s.py
__init__.py
现在我想运行pyinstaller:
$ pyinstaller myproject.py -p modules/
我这样跑:
$ ./dist/myproject/myproject
错误是:
Traceback (most recent call last):
File "<string>", line 5, in <module>
AttributeError: 'module' object has no attribute 'f'
myproject returned -1