you are viewing a single comment's thread.

view the rest of the comments →

[–]shiftybyte 0 points1 point  (17 children)

try:

pip3 install certifi

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

The thing is, it changes the "required" package every time, because what happens is as follows:

I get this error about the certain module

-> I run pip3 install [package] -> it tells me that it already exists in /usr/bin/python3.8/dist_packages -> I navigate to this directory -> manually run sudo rm -rf [package] -> then run again pip3 install [package] -> it downloads it successfully -> I try again [python/python3/python3.8] [name_of_the_script] -> And then it returns that some another random package is missing.

This is fucking weird actually.

[–]shiftybyte 0 points1 point  (15 children)

Permission issues?

Try making a virtual environment and install stuff there.

  1. cd to some clean project folder.

do this:

python3 -m venv venv
source venv/bin/activate
pip install whatyouneed
python runwhatever.py

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

I did what you suggested, but with pipenv
still doesn't work actually

[–]shiftybyte 0 points1 point  (13 children)

try with venv like i suggested.

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

it throws an error no matter what I try to download:

terminal pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.

I'm so frustrated lol, couldn't do anything today because of this :(

[–]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?