Python PIP unsatisifed requirement cookielib3pp

toom picture toom · Nov 16, 2015 · Viewed 9.6k times · Source

I'd like to install cookielib for Python 3.5. However, I'm getting an unclear error message:

Tom@osx:~/mycode$ pip3 search cookielib
cookielib3     - 
Tom@osx:~/mycode$ pip3 install cookielib3
Collecting cookielib3
  Could not find a version that satisfies the requirement cookielib3 (from versions: )
No matching distribution found for cookielib3

What is going on here?

Answer

Nhor picture Nhor · Nov 16, 2015

If you searched on PyPi, you probably saw: https://pypi.python.org/pypi/cookielib3/0.0.0

It's a dummy package. In Python 3 there's no cookielib or cookielib3. According to Python 3.2 - cookielib you should use http.cookiejar instead.