Expedition: Verify that Python Software Dependencies

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

Expedition: Verify that Python Software Dependencies

L0 Member

Dear community,

 

A check failed appears in my expedition dashboard. The remediation recommended by Expedition is the following:

 

The following dependencies for ML are missing : BPA (3.33.0)
Remediation: Execute the following command in CLI:
sh /var/www/html/OS/BPA/updateBPA306.sh;

 

after typing the shell file, shows the next:


#!/bin/bash
#sudo add-apt-repository ppa:jonathonf/python-3.6 -y
sudo add-apt-repository ppa:deadsnakes/ppa -y
sudo apt-get update
sudo apt install python3.7 -y
sudo -H pip3 uninstall best-practice-assessment-ngfw-pano -y
sudo -H pip3 install lxml --upgrade
sudo -H pip3 install matplotlib --upgrade
sudo python3.7 /var/www/html/OS/BPA/get-pip.py
sudo ln -s /usr/bin/python3.7 /usr/local/bin/python3
sudo ln -s /usr/local/bin/pip /usr/local/bin/pip3
sudo -H pip3 install 'Pillow<=5.4.1' --upgrade
sudo -H pip3 install chardet
sudo -H pip3 install /var/www/html/OS/BPA/best_practice_assessment_ngfw_pano-master.zip --upgrad
e

 

Please, I need help for understand how the dependences between expedition and python are configured and how fix this issue. The shell script stop and nothing solve. 

 

Thanks in advance.

 

Mariano.

 

1 REPLY 1

L2 Linker
sudo -E bash /var/www/html/OS/BPA/updateBPA306.sh

should work for you.  I am behind a proxy, so I have the proxy env variables set.

export http_proxy=http://webproxy:3128
  • 2709 Views
  • 1 replies
  • 1 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!