-
Notifications
You must be signed in to change notification settings - Fork 85
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
simple import won't work on Python 3.8.2 #258
Comments
This might be related to #254 . I don't know if turbodbc is available on Windows with conda and Python 3.8 yet, but trying to build turbodbc from scratch with Python 3.8 on Windows seem to be problematic. |
yes @keitherskine . With Conda it's working as expected. But when I had tried to import turbodbc into python virtual environments, there were so many dependency issue. So general "pip install turbodbc" will not work i guess. Collecting turbodbc |
The error message "BOOST_ROOT environment variable not set" appears because turbodbc requires the Boost library. And yes, you generally require a version 14 MS C++ compiler too. For how to "pip install" directly, try the docs and some proposed updates to the docs for more help, and also perhaps this comment. Just FYI, I haven't been able to "pip install" turbodbc directly with Python 3.8 on Windows yet, but Python 3.7 is OK. |
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Just downgrade to Python 3.7 and you'll be good to go. That's what I'm doing for any project where I use turbodbc. |
I was able to successfully install turbodbc in a virtual environment but when I call "from turbodbc import connect" I get this error. Any thoughts on what I might be doing wrong? Thanks for everything in advance.
ImportError Traceback (most recent call last)
c:\Users\User\Documents\SystemOptimization\SystemOptimization\connections.py in
----> 4 from turbodbc import connect
c:\Users\User\Documents\SystemOptimization\venv\lib\site-packages\turbodbc_init_.py in
2
3 from .api_constants import apilevel, threadsafety, paramstyle
----> 4 from .connect import connect
5 from .constructors import Date, Time, Timestamp
6 from .exceptions import Error, InterfaceError, DatabaseError, ParameterError
c:\Users\User\Documents\SystemOptimization\venv\lib\site-packages\turbodbc\connect.py in
4 import six
5
----> 6 from turbodbc_intern import connect as intern_connect
7
8 from .exceptions import translate_exceptions, ParameterError
ImportError: DLL load failed while importing turbodbc_intern: A dynamic link library (DLL) initialization routine failed.
The text was updated successfully, but these errors were encountered: