I am trying an input form in Power BI with python scripts. It is working in my power BI desktop. But when published to workspace,it's showing error - powerbi-desktop

It is showing :moduleNotfoundError:No module named Tkinter
I have this Tkinter installed in my system , how do I make it work in workspace as well.Th rest of the plots are working fine.

You need to have personal gateway. On server you need also to install all python modules.
https://learn.microsoft.com/en-us/power-bi/connect-data/service-gateway-personal-mode

Related

No details in KqlError when I try to use KqlMagic

I'm trying to connect to an azure data explorer but I keep getting a non descriptive error. I'm following this tutorial.
https://learn.microsoft.com/en-us/sql/azure-data-studio/notebooks/notebooks-kqlmagic?view=sql-server-ver16.
Has anyone seen this?
click here for screenshot
I was trying to connect to azure data explorer from Azure Machine Learning Studio notebooks. I also tried it in Jupyter notebooks with an anaconda environment and I got the same error.
However, the command %reload_ext Kqlmagic worked for me
Maybe its because that Azure login has multiple directories?

Error rendering dynamic content from Jupyter Notebook Dashboard

I'm trying to run a dashboard which is actually a Jupyter notebook. I've created the dashboard using the panel library. My dashboard contains some dynamic content. All this worked well on my local machine. Now, I'm trying to do the same on an AWS server. The static content loads fine. But I get this error somehow for the dynamic content:-
bokeh.min.js?v=57d29d5936e494351385d736f792154c:550 [bokeh] Failed to load Bokeh session HxjcYn9BmVgnOJsBicuXlx8fEuUQkxViUb7ROVIVGNel:
Error: Could not open websocket
Can someone help me with this?
Thanks
I resolved this issue by passing the --allow-websocket-origin=myserver_ip:app_port argument while starting it.

nltk.download() wont open a GUI to chose the list of downloads. It dont download data and the cursor blinks forever

I am trying to install nltk and download the nltk data. I am trying this on python 3.7.3 and my pip is up to date. my PC is windows 10 and given by the company.
My Installation of nltk is succesfull but it wont downlaod the data. It dont give me GUI to chose downloads nor finishes the download. The cursor keeps blinking forever.
I have tried this running it as a an admin, ran it through Jupyter Notebook. Never saw the GUI at all/
Who knows what's going on? Maybe the download window is hidden behind other windows; I've seen that a lot. Or maybe it really doesn't come up. Either way, if you can't find the window you can largely work around the problem by using the non-GUI form of the downloader:
nltk.download("book") will download all the resources you'll need while reading the book. I recommend you just run this one and move on to exploring the nltk.
nltk.download("all") will download everything in the download store. Probably overkill.
nltk.downlead(<name>) will download resource <name> (e.g., 'average_perceptron_tagger' for the tagger data, etc.) If you try to use a module and it's missing a resource, it will usually tell you what you need to download.
There are some other collective names including all-corpora, popular, and third-party, but the most useful ones are the above, I believe.
This has been resolved. I had to bypass web connection proxy server at my work. Instead, they added permissions for the http://files.pythonhosted.org and this worked fine.

Package Python 3 executable that does not require programming knowledge

I would like to send my Python3 script to my father-in-law and grandmother. Each has their own Windows machine, one is running Windows 7 and the other is running XP.
Not sure how to package it up for them to run on their respective machines. Is there such a method?
My script prompts, while in the IDE environment, for Keyword, path, filename. So there are some inputs, the user has to type in. Not sure if that will affect the portable script creation.
After reading through some responses here on StackOverFlow, I found py2exe does not work with Python 3.
Also Pytonw, suggested here as well, looks very complicated. I don't think either of my relative could carry out those steps.
Lastly CX-Freeze site I get ublock filters-Badware risks and a big warning window when I visit their website.
I've used cx-freeze to deploy python apps compiled to windows .exe files for us by computer novice users for several years and it has worked well. you will occasionally run into issues with dependencies you will have to take extra steps for (Datetime for example) but nothing that isn't surmountable. The easiest way to handle it is to install the folder on the computer yourself and create a desktop shortcut to it for the user. That keeps it simple for them. If you are not close to them you can always use a program like team viewer to gain access to their computer like remote desktop.

Not implemented Error for reports with Charts (Graphs) on Azure

I installed Crystal Reports on Windows Azure, and most reports work just fine. However, none of the reports with charts work. I get Operation not yet implemented error from my web page.
Any help greatly appreciated.
Thanks.
If you can install all the needed SAP, I understood that from the thread you mentioned, on a server on premises you could try one of the following options:
Start up a webrole, rdp into it and install what's needed
Create a startup task that installs the needed material. See this for example.
Make use of the new IaaS capabilities in Azure. Create a new server from one of the images in the gallery or upload a sys prepped image with the stuff you need on it to Azure.

Resources