seanharr11 / etlalchemy

Extract, Transform, Load: Any SQL Database in 4 lines of Code.
MIT License
555 stars 83 forks source link

Import Error: No module named xxx #1

Closed TBusen closed 8 years ago

TBusen commented 8 years ago

Tried on RHEL 7, macOS, and Windows 7 running Anaconda env's 3.4.4 and 3.5 all result in same error.

from etlalchemy import ETLAlchemySource, ETLAlchemyTarget
import pymysql
import cx_Oracle

o_db = ETLAlchemySource("db connection info")
m_db = ETLAlchemyTarget("db connection info")
target.addSource(source)
target.migrate()

results in

ImportError: No module named 'ETLAlchemySource' Import Error: No module named 'ETLAlchemyTarget'

TBusen commented 8 years ago

I think there is an issue with the __init__.py. I deleted the original and created a new one using nano and I am now able to get past the __init__.py. I now am failing on

    from StringIO import StringIO
ImportError: No module named 'StringIO'
TBusen commented 8 years ago

I can import it now will commit changes and request pull

seanharr11 commented 8 years ago

Closing - this has been addressed on the Python 3.5 branch