question

DhananjaySharma-7367 avatar image
0 Votes"
DhananjaySharma-7367 asked DhananjaySharma-7367 commented

Uploading additional libraries apart from the requirements.txt to the deployment stage

My requirements.txt has a file named "pybdf" which requires numpy before hand. So, I added a step in the github .yaml file to install numpy before. This is the only way i can get the build step to run. The issue is, in the upload section, it automatically installs requirements.txt again, yet it doesnt re-install numpy, therefore i get an error saying "no module named numpy"

I tried adding numpy to the requirements.txt, but then the job fails during the build stage itself, as numpy needs to be there before i install pybdf or i get the "no module named numpy" error.

Essentially, how do i make the deployment stage also execute the pip install numpy step?

yaml file link: https://github.com/dhananjay1710/pyVHR/blob/main/.github/workflows/main_pyvhr2.yml

azure-webapps
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

We have reached out to this customer via private message but if the community has any additional insights, please share them with @DhananjaySharma-7367.

0 Votes 0 ·

0 Answers