Is there a way to fix ReadTimed out error during installation process?

Viewed 40

I've been trying to install all the requirements for learning Kivy via python but during the installation process I get Environment error mean while the root cause is read timed out error. System throws several similar warning messages before finally throwing error message.

error message:

Ive tried upgrading pip to latest version and browsed internet to fix connection timed out problem .

but I dont know the problem so instead of trying more ramdom solutions I ve got to ask you proffesionals

1 Answers

First, use the pip install Kivy==1.11.1 and if it is not working I recommend you create virtualenv and install the kivy dependencies.

To create the environment

pip install virtualenv
python -m virtualenv venvname
#Activate the virtual environment
venvname\Scripts\activate
#or in a bash terminal
source venvname/Scripts/activate

To install the kivy dependencies

python -m pip install docutils pygments pypiwin32 kivy_deps.sdl2==0.1.* kivy_deps.glew==0.1.*
python -m pip install kivy_deps.gstreamer==0.1.*

For Python 3.5+:

python -m pip install kivy_deps.angle==0.1.*

To install the kivy

python -m pip install kivy==1.11.1
#or
pip install Kivy==1.11.1
#or 
python -m pip install https://github.com/kivy-garden/graph/archive/master.zip

Also, add to your pip.conf.

[global]
timeout = 60
index-url = https://kivy-garden.github.io/simple/

See also this and this

Related