Django app deployed on Azure app services not finding all of the packages install on SSH console

JAKOTE 1 Reputation point
2020-06-23T17:38:00.297+00:00

I have recently deployed my app on azure and realized I was missing one package from the requirements.txt and decided to install it with pip from the SSH console. The package was installed successfully and was listed as part of the packages installed after running the "pip freeze " command. The problem I have is that my application can not find the package whenever it calls for the package. "/bin/sh: 1 'package': not found" comes from my log stream every time my program calls for the package. Is there a possible way to direct my program to the location of the package installed using pip from the SSH console?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,400 questions
{count} votes

1 answer

Sort by: Most helpful
  1. JAKOTE 1 Reputation point
    2020-06-25T08:56:59.617+00:00

    I am on a linux app service plan

    0 comments No comments