-
Notifications
You must be signed in to change notification settings - Fork 9.1k
NEGUST_PYTHON_UPDATES #268
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
Conversation
Along the way, switch to importing modules instead of classes
Python tweaks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes necessary for SQL 17 revoscalepy updates
I get a red error underline for the RxSqlServerData import & RxInSqlServer . from revoscalepy import RxInSqlServer IndentationError: unexpected indent I have same issue and same run on sql but failed to run on Python or even in VSCode it also fail to run and gave the same error on revoscalepy |
Hi, Python in sensitive to indentations, so there must be an extra indentation where it is not supposed to be. Can you try to remove the unnecessary indentation and see if it helps? |
@HumaSatti Btw, which file were you trying to run? |
@NelGson I'm trying to replicate the Rental prediction and its database TutorialDB data that is provided by microsoft.. when run this program got the error ... revoscalepy is missing from revoscalepy import rx_summary ModuleNotFoundError: No module named 'revoscalepy' I have successfully installed sql with R and Python and also in VS ... my code for R and Python is perfectly run on SQL .. My python application run in .net but when I test this code or apply this code then it cannot find this module and gave me the error. I'm also trying to replicate this code for my understanding but again it gave me revoscale error. the link of code which I'm trying is given below. |
@HumaSatti Hm...ok, can you add import revoscalepy at the top? Also, it is probably easier if you email me directly: n e g u s t @ microsoft.com. Thanks |
@HumaSatti and @NelGson , |
Updated the ski rental python file to reflect 2017 changes