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.
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
Released for: Schneider Electric Egypt and North East Africa
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.
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
Released for: Schneider Electric Egypt and North East Africa
Need help?
Start here!
Find answers now. Search for a solution on your own, or connect with one of our experts.
Contact Support
Reach out to our customer care team to receive more information, technical support, assistance with complaints and more.
Where to buy?
Easily find the nearest Schneider Electric distributor in your location.
Search FAQs
Search topic-related frequently asked questions to find answers you need.
Contact Sales
Start your sales inquiry online and an expert will connect with you.