-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
ImportError: Using URI string without sqlalchemy installed. #14513
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@jpryda Are you sure that you are executing this in the environment where you installed sqlalchemy? Can you show the interactive output where you can import sqlalchemy and the error traceback of the above code? I tried to replicate this, but for me it works as expected. |
I've tried it on two different macs - one inside and one outside of a virtualenv. I can import sqlalchemy alone just fine. Here's the output - error at [4]:
and to show the file paths of the imported modules
|
Aha, is it possible you do not have |
Aha perfect thank you! |
I am going to leave it open, as we should fix the error message for such cases |
Having created a new virtual environment and having installed SQLAlchemy and Pandas, I'm having trouble with the
read_sql_query
function which gives me the following error:ImportError: Using URI string without sqlalchemy installed.
The code looks something like this:
Expected Output
I'd expect to get a data frame with the results of the SQL query
Output of
pd.show_versions()
commit: None
python: 2.7.10.final.0
python-bits: 64
OS: Darwin
OS-release: 15.2.0
machine: x86_64
processor: i386
byteorder: little
LC_ALL: None
LANG: en_GB.UTF-8
LOCALE: None.None
pandas: 0.19.0
nose: None
pip: 8.1.2
setuptools: 28.6.1
Cython: None
numpy: 1.11.2
scipy: None
statsmodels: None
xarray: None
IPython: 5.1.0
sphinx: None
patsy: None
dateutil: 2.5.3
pytz: 2016.7
blosc: None
bottleneck: None
tables: None
numexpr: None
matplotlib: None
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: None
httplib2: None
apiclient: None
sqlalchemy: 1.1.2
pymysql: None
psycopg2: None
jinja2: 2.8
boto: None
pandas_datareader: None
The text was updated successfully, but these errors were encountered: