Title: Can't pip install because of bisect_left
Type: Stage: resolved
Components: Versions: Python 3.7
Status: closed Resolution: third party
Dependencies: Superseder:
Assigned To: Nosy List: Peter Farrell, brett.cannon, rhettinger
Priority: normal Keywords:

Created on 2019-07-22 22:47 by Peter Farrell, last changed 2019-07-23 16:57 by brett.cannon. This issue is now closed.

File name Uploaded Description Edit
pip_error.png Peter Farrell, 2019-07-22 22:47 Picture of error when trying to pip install
Messages (3)
msg348308 - (view) Author: Peter Farrell (Peter Farrell) * Date: 2019-07-22 22:47
Not able to start up Anaconda because of an error including "cannot import bisect_left" whatever that means. I uninstalled and tried to reinstall. No luck. Finally uninstalled and can't pip install anything because of this exact error. Here's my screenshot.
msg348318 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2019-07-23 04:57
Try deleting from the Python37-32 directory.  I suspect there is a spurious bisect file there that in shadowing the intended standard library version which would be in Python37-32/lib.
msg348341 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2019-07-23 16:57
I'm going to close this as this is more likely an Anaconda or path problem than a CPython problem. But as Raymond said, chances are you have some other file named bisect on your sys.path.
Date User Action Args
2019-07-23 16:57:51brett.cannonsetstatus: open -> closed

nosy: + brett.cannon
messages: + msg348341

resolution: third party
stage: resolved
2019-07-23 04:57:02rhettingersetnosy: + rhettinger
messages: + msg348318
2019-07-22 22:47:48Peter Farrellsetversions: + Python 3.7
2019-07-22 22:47:13Peter Farrellcreate