Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

ERROR: Target path exists but is not a directory, will not continue.

# 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

Comment

PREVIOUS NEXT
Code Example
Python :: how to import modules from upper or previous dir in py 
Python :: send notification from pc to phone using python 
Python :: negate if statement python 
Python :: Horizontal concatication 
Python :: Nested pie chart graphing function - put legend in subplot 
Python :: python multi arguments 
Python :: Delete files in folder by extension 
Python :: Closing small holes in the binary image with opencv 
Python :: extract metadata from xml tei file python 
Python :: sneon dr pepper 
Python :: python nc group variables 
Python :: plt.text background alpha 
Python :: como inserir um elemento num set em python 
Python :: rebuild database from zero django postgres 
Python :: python time modülü 
Python :: python change type of every element in a dictionary 
Python :: function used in python 
Python :: print fps in while loop python 
Python :: mass algorithm python 
Python :: does building wheel for dlib setup py takes forever 
Python :: py - count if a word is present in a column 
Python :: Return an RDD containing all pairs of elements with matching keys in self and other. 
Python :: django voice lib 
Python :: how to sort a list randomly in python 
Python :: python sort isdigit 
Python :: install formio data python library 
Python :: jouer à Snake 
Python :: python writelignes 
Python :: python string match http 
Python :: pyhdb cesu-8 
ADD CONTENT
Topic
Content
Source link
Name
4+6 =