En quoi pouvons-nous vous aider aujourd'hui ?

Panda and Plotly Pip Install Issues

Problem:

The pip install will return an error and will not allow you to install the required panda and plotly packages. This is due to pip and apt being different types of packages; this results in python preventing the 2 from being installed as it may lead to conflict errors.

Error message from pip install

Solution:

Using a virtual environment, (venv), should allow the user to install both pip and apt type packages. The following is an example of how one may be created:

python3 -m venv .venv
.venv/bin/activate
python3 -m pip install -r requirements.txt 

An alternative method is to use the break system packages command to run the installation. *Note: Breaking system packages may have unknown consequences to your python environment, it is recommended to thoroughly research the system break packages command before using it. This may be done by tagging on to the commands as follows:

pip install plotly --break-system-packages

Schneider Electric Belgium

En savoir plus

En savoir plus

Besoin d'aide ?

Sélectionnez le bon produit

Trouvez rapidement et facilement les produits et accessoires adaptés à vos applications.

Obtenir un devis

Effectuez une demande de renseignements en ligne et un expert vous contactera.

Où acheter ?

Trouvez facilement le distributeur Schneider Electric local le plus proche.

Centre d'aide

Trouvez des ressources de support pour tous vos besoins, en un seul endroit.