openstack neutron - Python - import fails to load a module -


i have python file abc.py part of repo (say repo-old). abc.py imported xyz.py (which part of repo-old).

now due reason abc.py removed repo-old, need test code in repo-old, manually copied back.

now when import statement in xyz.py hit, fails, saying "not found".

what missing?

p.s - new python packaging.

did make sure folder contains file trying import has __init__.py file?


Comments

Popular posts from this blog

sql server - Cannot query correctly (MSSQL - PHP - JSON) -

php - trouble displaying mysqli database results in correct order -

C++ Linked List -