Error installing ipdb for Python 2.7 using virtualenv and pip

When I tried to install ipdb, I had the following problem:

$ pip install ipdb
Collecting ipdb
  Using cached ipdb-0.10.3.tar.gz
    Complete output from command python setup.py egg_info:
    error in ipdb setup command: Invalid environment marker: python_version >= "3.3"

How can I install in ipdbthe easiest way?

(I am using macOS Sierra 10.12.4, virtualenv 1.11.6, python 2.7.10, pip 9.0.1)

+4
source share
3 answers

My problem was resolved by installing the previous version ipdb:

$ pip install ipdb==0.10.2
+4
source

I see your answer, and I really would like to add a little more.

  • The problem arose because you are using python 2.7, and the latest version of ipdb has packages that require python 3+.

python2 -m pip install ipdb

, , (.. ).

, , .

pip install ipdb==0.10.2 

, . , 0.10.3 python 2.7; . , ipdb, python, , python 2.7. ipdb. enter image description here

:

, . , - ? , , .

, ( ), , , .

, , . , , .

+4

( fwiw Python 3.5). pip install -U ipdb , .

, ipython first (pip install -U ipython, , , ). ipdb (re) .

0

Source: https://habr.com/ru/post/1677116/


All Articles