mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-06 13:56:18 +00:00
update_dependencies.py : added pyserial (work to do for being root).
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
@@ -2,8 +2,8 @@
|
|||||||
import subprocess
|
import subprocess
|
||||||
def main():
|
def main():
|
||||||
print("Installing Script Python3 Dependencies")
|
print("Installing Script Python3 Dependencies")
|
||||||
packages = ['pandas', 'plotly', 'numpy', 'paramiko', 'bokeh', 'websocket-client', 'pyarrow', 'xlsxwriter',\
|
packages = ['pandas', 'plotly', 'numpy', 'cryptography', 'paramiko', 'bokeh','pyarrow', 'websocket-client', 'xlsxwriter',\
|
||||||
'pyshark', 'influxdb', 'influxdb-client', 'matplotlib', 'pdfkit', 'pip-search' ]
|
'pyshark', 'influxdb', 'influxdb-client', 'matplotlib', 'pdfkit', 'pip-search', 'pyserial' ]
|
||||||
packages_installed = []
|
packages_installed = []
|
||||||
packages_failed =[]
|
packages_failed =[]
|
||||||
for package in packages:
|
for package in packages:
|
||||||
@@ -20,7 +20,7 @@ def main():
|
|||||||
|
|
||||||
print("Install Complete")
|
print("Install Complete")
|
||||||
print("Packages Installed Success: {}".format(packages_installed))
|
print("Packages Installed Success: {}".format(packages_installed))
|
||||||
print("Packages Failed (Some scripts may not need): {}".format(packages_failed))
|
print("Packages Failed (Some scripts may not need these packages): {}".format(packages_failed))
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
|
|||||||
Reference in New Issue
Block a user