Kesalahan: Target Path ada tetapi bukan direktori, tidak akan berlanjut.

# pip is not installing the package in the correct site-packages path.
# to find the correct package path, inside your IDE run:

from distutils.sysconfig import get_python_lib
print(get_python_lib())

#The output should be site-packages path, for example:

/home/user/.pyenv/versions/3.8.9/lib/python3.8/site-packages

#Then in the terminal, to set pip to intall packages to this path:

pip config set global.target /home/user/.pyenv/versions/3.8.9/lib/python3.8/site-packages

Coderunner