【发布时间】:2021-07-10 03:24:44
【问题描述】:
在 anaconda 上安装 djoser 库的命令行是什么?
我试过conda install djoser,但没有找到包
【问题讨论】:
标签: python django django-rest-framework anaconda djoser
在 anaconda 上安装 djoser 库的命令行是什么?
我试过conda install djoser,但没有找到包
【问题讨论】:
标签: python django django-rest-framework anaconda djoser
an issue on the repo 要求有人为 Conda 打包它,所以它似乎没有 Conda 构建。如果您想打包,我也鼓励您在 Conda Forge's staged-recipes repo 上提出打包请求。
与此同时,您仍然可以通过pip 安装它。例如,
conda activate foo # activate your environment
conda install pip # ensure pip is installed here
pip install djoser
请注意,在 Conda 环境中使用 pip 并非没有注意事项,通常不应在 base 环境中使用。见documentation。
【讨论】:
您可以使用conda install -c conda-forge djoser。
【讨论】: