r/learnpython • • Oct 14 '26

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 Oct 14 '26

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 Oct 15 '26

yeah the error message is kind of the whole thing here

0

u/ChizUrU_tan Oct 14 '26

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 

4

u/mrswats Oct 14 '26

Have you read why it errored? It usually tells you what you are missing. But again, you ignored all I said about how we can help you.

0

u/ChizUrU_tan Oct 14 '26

Psycopg2 has the same error as Polaris

1

u/chiibosoil Oct 14 '26

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.

1

u/[deleted] Oct 14 '26

[removed] — view removed comment

0

u/ChizUrU_tan Oct 15 '26

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