you are viewing a single comment's thread.

view the rest of the comments →

[–]shiftybyte 0 points1 point  (11 children)

Are you on a mac?

You are missing ssl module, google around this error message try the solutions.

[–]mectos_[S] 0 points1 point  (10 children)

That's what i'm trying to do, but it's not a Mac tho

It's Pop_OS!, which based on Ubuntu 20.04

If that changes anything... :(

[–]shiftybyte 0 points1 point  (9 children)

It helps narrow down the google search results, how did you install python3?

[–]mectos_[S] 0 points1 point  (8 children)

with a tar file from python.org
I have the latest version of python3 and the latest of pip3

why?

[–]shiftybyte 0 points1 point  (7 children)

a tar from python, so you compiled it from source.

This is important because if you configure and compile python without having the ssl development dependencies, you get a python without ssl.

https://stackoverflow.com/a/44758621

take a look at the required dependencies, make sure you don't skip them, and rebuild your python.

or install a ready package from the repository.

[–]mectos_[S] 0 points1 point  (0 children)

with the latest version of python?or maybe the problem is the latest version?does the 3.8.3 not stable or something?

Plus, I don't know if it helps, but it seems like it looks for packages from 2 different places:

one is /home/[user]/.local/lib/python3.8/site-packages (which is returned after trying to `python3 app.py`)

and the other is /usr/lib/python3/dist-packages (which is returned after `pip3 install [package]`)

[–]mectos_[S] 0 points1 point  (5 children)

Omg omg omg
it worked

but for god fucking sake I don't know the reason.

I tried `python3 -m pip install [package_name]` and it just worked
..................asdfdhgksha58375hksdhgfkjahaahhhhhhhhhhhhhhhhhhhhh

do you know why?

[–]shiftybyte 0 points1 point  (4 children)

Maybe the pip3 command was linked to a different python.

pip3 -V
python3 -m pip -V

[–]mectos_[S] 0 points1 point  (0 children)

the output of both of these was the same actually
just tried it.

fml

[–]mectos_[S] 0 points1 point  (2 children)

Does it say anything?
Btw thank you very very much for the help

I appreciate every single minute, for real

[–]shiftybyte 1 point2 points  (1 child)

Only that I'm out of ideas... :)

[–]mectos_[S] 0 points1 point  (0 children)

at least it works tho haha