Love the concept: struggling with the installation #1198
Unanswered
lighthouseahoy
asked this question in
Q&A
Replies: 1 comment 9 replies
-
Hi, we're happy to read that you're interested in Optimus. About the Optimus version you should use, you're not missing anything, our team still need to cover up a bunch of specific use-cases to avoid issues like yours before uploading a stable version. Currently we're working on MSSQL connections. Could you help us out writing down which Python Version are you using? And if you're using or not a new conda environment to install Optimus (instead of the default 'base'). Also, what library are you interested in using as an engine? |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I found your book on the PacktPub library and love the concept. I have struggled for ages with the Pandas interface and as someone who has to switch contexts regularly the idea of a structured interface independent of where I am working is brilliant.
But I have now spent almost a full day getting the installation to complete successfully and am still getting tedious issues with the basics of database connection.
Despite your claim of an all-in-one pip install, and despite having VS14 runtime installed, I have had to jump through hoops.
Firstly, I did not have Anaconda installed, just PyCharm. So I had to start there. Fair enough, you say it makes a good foundation, so I take that as given.
Both sparse_dot_topn and python-Levenshtein seemed to want to build rather than install from a wheel. So pyoptimus refused to install, despite the presence of the Build Tools. They also seemed to want to default to a python2 build, but I guess that is someone else's issue.
After some research I managed to preinstall the modules from the following:
But this simply led me to another problem when trying to load a file. Thankfully this is in your FAQs:
Now I'm trying a simple connection to MS SQL and I'm back to a standstill:
It appears to be right. module connect[180] references DriverProperties.MSSQL.value["name"] but module properties[5] has no attribute MSSQL, though it does have a SQLSERVER. Adjusting these to line up just produces different errors and I don't know your library well enough to fiddle.
As a newcomer landing for the first time on 21.9.0-beta1, is there another version I should try first, or am I missing something entirely? The book makes it look so straightforward and I haven't even tackled SSO yet...
Beta Was this translation helpful? Give feedback.
All reactions