2

Trying to install websocket 8.1 version but i couldnt install that spesific version.

pip install websockets

This is installing 8.0.2

Successfully installed websockets-8.0.2

Then Im writing

pip install websocket 8.1

then it says

    Collecting websocket
  Downloading https://files.pythonhosted.org/packages/f2/6d/a60d620ea575c885510c574909d2e3ed62129b121fa2df00ca1c81024c87/websocket-0.2.1.tar.gz (195kB)
    100% |████████████████████████████████| 204kB 819kB/s
Collecting 8.1
  Could not find a version that satisfies the requirement 8.1 (from versions: )
No matching distribution found for 8.1

Python and pip versions.

Python 3.6.0

pip 9.0.1

Any help apreciated...

Mustafa Güngör
  • 73
  • 1
  • 2
  • 9

2 Answers2

2

You should replace websocket with websockets:

pip install websockets==8.1

Collecting websockets==8.1
  Downloading https://files.pythonhosted.org/packages/cf/cb/c35513c4a0ff24ca13e33f7336ba8c1a864449fad9fea8e37abdad11c38d/websockets-8.1-cp36-cp36m-manylinux1_x86_64.whl (73kB)
    100% |████████████████████████████████| 81kB 934kB/s 
Installing collected packages: websockets
Successfully installed websockets-8.1

I checked and it works fine.

piertoni
  • 1,933
  • 1
  • 18
  • 30
Dmitry Leiko
  • 3,970
  • 3
  • 25
  • 42
1

You need at least python==3.6.1 in your case.

piertoni
  • 1,933
  • 1
  • 18
  • 30