Ich verwende Ubuntu 14.04 mit Python 2.7.6. Ich habe matplotlibPython 2 installiert . Jetzt habe ich Python 3.4.2 mit installiert pyenv install 3.4.2. Ich lief dann pip install matplotlib, um matplotlibfür Python 3 zu installieren . Ich entdeckte später das Paket python3-matplotlibfür Ubuntu 14.04. Ich frage mich: hätte ich sudo apt-get install python3-matplotlibstattdessen verwenden sollen? Was ist die bevorzugte Art der Installation matplotlibvon Python 3 neben Python 2 matplotlib?
pipInstallation zu deinstallieren, dh :pip uninstall matplotlibund dann ausführensudo apt-get install python3-matplotlib?