What to do if pip install fails to install dependent libraries

environment

Python3.4.3 Windows10 64bit

What i did

$ pip install Sphinx
~~Omission~~
Collecting colorama>=0.3.5; sys_platform == "win32" (from Sphinx)
  Downloading https://files.pythonhosted.org/packages/31/cb/88c908c1be067fb6bacd3d7488ccab1a212533767b951933aac3d22648e2/colorama-0.4.2-py2.py3-none-any.whl
colorama requires Python '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*' but the running Python is 3.4.3

Installation failed. You can see from the Downloading line that colorama-0.4.2 is installed, but in the last line you can see that python3.4 is not supported.

Coping

$ pip install colorama==0.3.9

Install the Python 3.4.3 compatible version from PyPI's colorama site.

$ pip --no-cache-dir install Sphinx
~~Omission~~
Successfully installed Jinja2-2.10.3 MarkupSafe-1.1.1 Pygments-2.3.1 Sphinx-1.8.5 alabaster-0.7.12 babel-2.8.0 certifi-2019.11.28 chardet-3.0.4 docutils-0.15.2 idna-2.8 imagesize-1.2.0 packagi
ng-20.3 pyparsing-2.4.6 pytz-2019.3 requests-2.21.0 six-1.14.0 snowballstemmer-2.0.0 sphinxcontrib-websupport-1.1.2 typing-3.7.4.1 urllib3-1.24.3

I was able to install it.

Recommended Posts

What to do if pip install fails to install dependent libraries
Note: What to do if pip install fails
What to do if pip install fails in Xcode 5.1
What to do if `pip install matplotlib` fails on Mac
What to do if pip install mysqlclient fails on MacOS
What to do if you can't pip install mysqlclient
What to do if you can't install pyaudio with pip #Python
What to do if you get a UnicodeDecodeError with pip install
What to do if pip cannot be installed
What to do if you can't install with pip in babun environment
What to do if SciPy installation fails on CentOS
What to do if a UnicodeDecodeError occurs in pip
What to do if yum breaks
What to do with Magics install
What to do if ʻarguments [0] .scrollIntoView ();` fails in python selenium
What to do if pip gives a DistributionError in Homebrew
What to do if package installation fails when deploying to heroku
What to do if the yum command fails to set locale, defaulting to C
What to do if you get Could not fetch URL 443 with pip
What to do if you can't pipenv shell
What to do if mod_fcgid cannot resolve UnicodeEncodeError
What to do if rails s doesn't work
What to do if Docker-sync suddenly stops working
What to do if "amazon-linux-extras" → "No module named amazon_linux_extras"
How to install pip
When pip install fails
[Python] What to do if an error occurs in pip (pyinstaller, pyautogui, etc.)
No module named What to do if you get'libs.resources'
ModuleNotFoundError: No module What to do if you get'tensorflow.contrib'
What to do if sys / cdefs.h does not exist
What to do if pyenv is not enabled (zsh)
How to install and use pyenv, what to do if you can't switch python versions
What to do if the package dependency cannot be repaired
What to do if you are addicted to Windows character code
What to do if you get "coverage unknown" in Coveralls
What to do if you can't sort files with subscripts
What to do if a 0xC0000005 error occurs in tf.train.start_queue_runners ()
What to do if you can't log in as root
What to do if you can't use WiFi on Linux
What to do if Linux VLC can no longer rotate
What to do if you lose your EC2 key pair
What to do if GeoPandas installation fails (Fiona / GDAL error * Rtree installation method is also added)
What to do if you get an Undefined error when trying to use pip with pyenv
Pip install --ugrade pip fails on Windows
What to do if Python doesn't work on Git for Windows
EC2 / Amazon Linux2: What to do if you get an "unable to execute'gcc': No such file or directory" error with pip install
module install if pip install doesn't work
What to do if intellisense doesn't work with Anaconda + VSCode + Tensorflow2.1
What to do if python says "fatal error:'stdio.h' file not found"
What to do with PYTHON release?
What to do if Insecure Platform Warning appears when running Python
What to do if "Unnamed: 0" is added in to_csv-> read_csv in pandas
What to do if you can't build your project with Maven
What to do if PyAudio cannot be installed on Python 3.7, 3.8, 3.9 on Windows
What to do if you can't use the trash in Lubuntu 18.04.
How to install mysql-connector with pip3
What to do to get tensorflow-gpu to work
What to do if pip --user returns an error in a virtual environment created with pyenv
Django: What to do if TemplateDoesNotExist at / admin / after setting templates
What to do if grep: empty (sub) expression appears on Mac grep
What to do if a symbolic link error occurs in import cv while trying to install OpenCV in Python