1

I have created a python application containing rest apis which call machine learning code on PyCharm IDE. I want to deploy rest apis on IIS.

I copy and past complete PyCharm project in virtual directory. The issue I am facing is dependencies like tensorflow and keras are not being found due to which API is giving "Internal server error", however I am able to call rest services.

please guide.

1
  • It maybe better to share what you have tried, but if not, why not include those missing/required dependencies within the virtual environment requirements.txt or do a pip install module-name. Aug 7, 2020 at 19:08

1 Answer 1

1

As FishingCode suggested please share code snippet to understand the exact issue.

Please include and install requirements.txt file in virtual environment.

Also, you may try installing using docker tutorial

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.