Importing from within package
Abdur-Rahmaan Janhangeer
arj.python at gmail.com
Tue Sep 22 12:14:01 EDT 2020
Greeting list,
I have this main script:
https://github.com/Abdur-rahmaanJ/shopyo/blob/dev/shopyo/__main__.py
However, i get errors after package installation
saying:
ImportError: cannot import name 'shopyoapi' from 'shopyo'
I've tried from .shopyoapi also but to no avail.
To reproduce:
python -m pip install shopyo==1.1.45
shopyo new . test2
Thanks!
Kind Regards,
Abdur-Rahmaan Janhangeer
about <https://compileralchemy.github.io/> | blog
<https://abdur-rahmaanj.github.io/>
github <https://github.com/Abdur-RahmaanJ>
Mauritius
More information about the Python-list
mailing list