python - Can't pip install to target (distutils.errors.DistutilsOptionError: can't combine user with prefix, exec_prefix/home, or install_(plat)base) - TagMerge
1Can't pip install to target (distutils.errors.DistutilsOptionError: can't combine user with prefix, exec_prefix/home, or install_(plat)base)Can't pip install to target (distutils.errors.DistutilsOptionError: can't combine user with prefix, exec_prefix/home, or install_(plat)base)

Can't pip install to target (distutils.errors.DistutilsOptionError: can't combine user with prefix, exec_prefix/home, or install_(plat)base)

Asked 1 years ago
0
1 answers

just ran into the same issue...apparently the pip module I had installed was very old (9.0.1).

> pip3 --version
pip 21.3.1 from /usr/local/lib/python3.6/dist-packages/pip (python 3.6)
> python3.8 -m pip --version
pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.8)

upgrading solved the issue

> python3.8 -m pip install --upgrade pip

Source: link

Recent Questions on python

    Programming Languages