How to resolve Python package depencencies with pipenv?

后端 未结 12 2511
余生分开走
余生分开走 2020-12-13 06:35

I am using pipenv to handle a Python package dependencies.

The Python package is using two packages (named pckg1 and pckg2) that relies on

12条回答
  •  南方客
    南方客 (楼主)
    2020-12-13 06:56

    This works when there are unfinished routines on pipfile.

    Once I made a mistake and run

    pipenv install codecove # With an 'e' at the end
    

    and the pipenv kept always trying to complete the installation with no success because the lib does not exist. I resolved it with:

    pipenv uninstall codecove
    

    and installed codecov after.

    I tried to run

    pipenv lock --clear
    pipenv lock --pre --clear
    

    but only after uninstalled the lib with wrong name I succeeded.

提交回复
热议问题