"attributeerror: 'module' Object Has No Attribute" With Installed Package
I have a project with these contents: proj ├── src │ ├── scriptA.py │ ├── scriptB.py │ └── __init__.py ├── LICENCE ├── README.md └
Solution 1:
In your case it looks for scriptA
callable in module src
.
Looking at the docs, entry_points should be defined like:
entry_points={
'console_scripts': [
'scriptA=src.scriptA:main_func',
'scriptB=src.scriptB:main_func'
],
},
Post a Comment for ""attributeerror: 'module' Object Has No Attribute" With Installed Package"