ImportError: cannot import name '_BACKCOMPAT_MAGIC_NUMBER'

后端 未结 2 1846
小蘑菇
小蘑菇 2021-01-19 19:46

Trying to use pip to install just installed another version of python (3.4) get error

ImportError: cannot import name \'_BACKCOMPAT_MAGIC_NUMBER\'

2条回答
  •  盖世英雄少女心
    2021-01-19 20:37

    In my case, I was using pipenv, and the fix was to delete the virtualenv and reinstall the dependencies:

    $ pipenv --rm
    $ pipenv install
    

提交回复
热议问题