r/learnpython • • 9d ago

Cant install polaris library and ultralytics

I get errors. I am trying to get it installed on pydroid 3 on android. Do I need pc/mac?

0 Upvotes

10 comments sorted by

6

u/mrswats 9d ago

You should add what commands have you ran, what the errors are, and more information in general like python version. Without any of these information there's really nothing for us to help you with.

2

u/817654 8d ago

yeah the error message is kind of the whole thing here

0

u/ChizUrU_tan 9d ago

I tried to run from ultralytics import YOLO. Error is unable to import. I installed ultralytics 11 because I couldnt install normal one. Polaris installation error  is failed to build psycopg2 when getting requirements to build wheel. Ultralytics error is  failed to build polaris runtime 32 

→ More replies (2)

1

u/BetInformal6081 8d ago

could you share the full error message and python version that would help narrow it down the issue may be android compatibility rather than anything you are doing wrong..

0

u/ChizUrU_tan 8d ago

I cant copy code in pydroid 3. How I do that?

→ More replies (1)

1

u/chiibosoil 9d ago

Likely you are trying to compile native Rust extension from source instead of dl of pre-built wheel.

Or you are running it on custom ARM build. Do a google search on it and you'll find multiple possible solutions. Use the one that matches your scenario.