Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
prakash11440278
Post Prodigy
Post Prodigy

Python Packages Installation Error in Command Prompt

Hi All,

I am integrating python visual in power bi desktop. I have installed python software and tried to add the below packages in command prompt. Where i am not able to install those packages because of the below issues. Please help me how can i install the packages and run the visual?

pip install pandas
pip install matplotlib

 

Command Prompt Error:

prakash11440278_0-1665585043173.png

 

2 REPLIES 2
v-yadongf-msft
Community Support
Community Support

Hi @prakash11440278 ,

 

There are a handful of requirements and limitations for Python packages:

  • Current Python runtime: Python 3.7.7.
  • The Power BI service, for the most part, supports Python packages with free and open-source software licenses such as GPL-2, GPL-3, MIT+, and so on.
  • The Power BI service supports packages published in PyPI. The service does not support private or custom Python packages. Users are encouraged to make their private packages available on PyPI prior to requesting the package be available in the Power BI service.
  • For Python visuals in Power BI Desktop, you can install any package, including custom Python packages.
  • For security and privacy reasons, Python packages that provide client-server queries over the World-Wide Web in the service, are not supported. Networking is blocked for such attempts.
  • The approval process for including a new Python package has a tree of dependencies; some dependencies required to be installed in the service cannot be supported.

 

For more information, please refer to:

Learn which Python packages are supported - Power BI | Microsoft Learn

 

Best regards,

Yadong Fang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-yadongf-msft, Thanks for your reply.

I have installed python 3.9 version in my system. Is that causing the issue?

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.