# Matplotlib conflict

**URL:** https://discourse.paraview.org/t/matplotlib-conflict/13551
**Category:** ParaView Support
**Created:** [December 18, 2023, 3:28pm UTC](https://discourse.paraview.org/t/matplotlib-conflict/13551 "2023-12-18T15:28:18Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![janduigamer13](https://discourse.paraview.org/user_avatar/discourse.paraview.org/janduigamer13/32/13205_2.png) [@janduigamer13](https://discourse.paraview.org/u/janduigamer13)
#### Post date: [December 18, 2023, 3:28pm UTC](https://discourse.paraview.org/t/matplotlib-conflict/13551/1 "2023-12-18T15:28:18Z")

</div>

Hello there, could someone help me to fix a problem related with the version of matplotlib that ParaView installed in my ubuntu machine? I have installed paraview using sudo command, and when i tried to run another code that uses matplotlib, it’s always appearing:

,Python  
UserWarning: Unable to import Axes3D. This may be due to multiple versions of Matplotlib being installed (e.g. as a system package and as a pip package). As a result, the 3D projection is not available.  
warnings.warn("Unable to import Axes3D. This may be due to multiple versions of "  
,

And i have the 3.8.2 version that i installed using pip. As the version of matplotlib installed by ParaView is 3.5, it’s causing the conflict of versions and i’m having problems to plot graphs and I also cannot plot 3d plots. What should I do to fix it?

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [December 19, 2023, 12:45pm UTC](https://discourse.paraview.org/t/matplotlib-conflict/13551/2 "2023-12-19T12:45:20Z")

</div>

> [@janduigamer13](#):
>
> I have installed paraview using sudo command

How did you install ParaView (`sudo` just raises privileges)? What package did you install?

I would recommend not installing official packages with `sudo` and instead just extracting the tarball somewhere without `root` access and running from there.

---

<div class="post-metadata">

### Author: ![janduigamer13](https://discourse.paraview.org/user_avatar/discourse.paraview.org/janduigamer13/32/13205_2.png) [@janduigamer13](https://discourse.paraview.org/u/janduigamer13)
#### Post date: [December 19, 2023, 1:41pm UTC](https://discourse.paraview.org/t/matplotlib-conflict/13551/3 "2023-12-19T13:41:25Z")

</div>

I followed the commands from this website:

> **[How To Install paraview on Ubuntu 20.04](https://installati.one/install-paraview-ubuntu-20-04/)**
>
> In this tutorial we learn how to install paraview on Ubuntu 20.04. paraview is Parallel Visualization Application

When I tried to install from website downloading, it didn’t work to install it from terminal (And I don’t know how to do it exactly, but what I tried, it didn’t work.)  
I’ll try again to install it from website

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [December 19, 2023, 1:55pm UTC](https://discourse.paraview.org/t/matplotlib-conflict/13551/4 "2023-12-19T13:55:14Z")

</div>

Oh, if you installed the `apt` package, then that is not Kitware’s package. If there’s a `matplotlib` embedded in there, it’s a problem with the Ubuntu package.
