How can I deploy/install PaddleOCR(paddlepaddle) on an AWS EC2 instance? #11018
-
In my attempt to install PaddleOCR(paddlepaddle) on an Amazon EC2 instance running Amazon Linux 2023, I encountered challenges related to shared libraries and dependencies versions that ultimately prevented successful installation and deployment. What is recommended OS for the EC2 instance (e.g., Ubuntu, Amazon Linux)? While the installation of paddlepaddle worked smoothly on my local environment (everything works fine) I encountered numerous problems when attempting to install it on an Amazon Linux 2023 AMI. My small repo: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
That's a great question. Here's what I did to get this working:
After that, I ran your python file: and my POST requests work like a champ. Hope this helps and thanks for the app.py! |
Beta Was this translation helpful? Give feedback.
That's a great question. Here's what I did to get this working:
After that, I ran your python file:
$ python3.11 ./app.py
and my POST requests work like a champ.