How to resolve Python package depencencies with pipenv?

后端 未结 12 2515
余生分开走
余生分开走 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:44

    If you ran into the Locking Failed! error:

    Locking [dev-packages] dependencies…
    Locking [packages] dependencies…
    ✘ Locking Failed!
    

    clearing the cache on pipfile.lock, uninstalling your package and restarting the VM did the trick for me.

    Try:

    pipenv uninstall *YourPackage*
    pipenv uninstall *YourPackage* --dev   ##(if relevant to your package)
    pipenv lock --clear
    

    stop & destroy VMM

    restart VM

提交回复
热议问题