Hi, I'm trying to import these two packages in Azure Automation python3.
https://pypi.org/project/psycopg2/#files
https://pypi.org/project/sh/#files
I have downloaded tar.gz files and added to "Python Packages" however I get this error message:
Runtime version
3.8.0
Error
Orchestrator.Activities.PythonPackageExtractException: Error while extractinig Python package: pip could not convert tar.gz file C:\Users\Client\Temp\psycopg2.tar.gz to wheel file Processing c:\users\client\temp\psycopg2.tar.gz ERROR: Command errored out with exit status 1: command: 'C:\WPy64-3800\python-3.8.0.amd64\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Client\Temp\pip-req-build-m8folar4\setup.py'"'"'; ....
Error
Orchestrator.Activities.PythonPackageExtractException: Error while extractinig Python package: pip could not convert tar.gz file C:\Users\Client\Temp\sh.tar.gz to wheel file Processing c:\users\client\temp\sh.tar.gz ERROR: Command errored out with exit status 1: command: 'C:\WPy64-3800\python-3.8.0.amd64\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Client\Temp\pip-req-build-xu8allvp\setup.py'"'.....
How can I import these packages?
Looking forward to hearing from you.