Questions tagged «pipenv»

1
如何删除由“ pipenv run”创建的virtualenv
我正在学习Python。在我的一个小项目中,我跑了 pipenv run python myproject.py 它为我创建了一个virtualenv C:\Users\USERNAME\.virtualenvs 我发现它还在我的项目源代码目录下创建或修改了一些文件。我只是想知道如何彻底删除此virtualenv并将我的项目恢复为no-virtualenv状态。 我正在使用python 3.6.4和PyCharm。
129 pipenv 

14
Pipenv:找不到命令
我是Python开发的新手,正在尝试使用pipenv。我运行了命令pip install pipenv,该命令成功运行: ... Successfully built pipenv pathlib shutilwhich pythonz-bd virtualenv-clone Installing collected packages: virtualenv, pathlib, shutilwhich, backports.shutil-get-terminal-size, pythonz-bd, virtualenv-clone, pew, first, six, click, pip-tools, certifi, chardet, idna, urllib3, requests, pipenv ... 但是,当我pipenv install在新的根项目目录中运行命令时,收到以下消息:-bash: pipenv: command not found。我怀疑可能需要修改.bashrc,但是不清楚要添加到文件中的内容还是不清楚是否需要修改。
119 python  python-3.x  pip  pipenv 


1
tar.gz的pip安装中没有名为“ Cython”的模块
我使用Poetry为示例程序包(https://github.com/iamishalkin/cyrtd)构建tar.gz和whl文件,然后尝试在pipenv环境中安装程序包。tar.gz安装失败,这是一条日志: $ poetry build ... $ pip install dist/cyrtd-0.1.0.tar.gz Processing c:\work2\cyrtd\dist\cyrtd-0.1.0.tar.gz Installing build dependencies ... done Getting requirements to build wheel ... done Preparing wheel metadata ... done Requirement already satisfied: cython<0.30.0,>=0.29.13 in c:\users\ivan.mishalkin\.virtualenvs\cyrtd-tpdvsw8x\lib\site-packages (from cyrtd==0.1.0) (0.29.15) Building wheels for collected packages: cyrtd Building wheel for cyrtd (PEP 517) ... …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.