My Django installs in virtual env are missing admin templates folder

后端 未结 1 386
难免孤独
难免孤独 2020-12-30 06:52

When I Install a venv and install Django in it for example \"DjangoUpgrade\" then I am missing at this path the templates folder

:~/.venvs/DjangoUpgrade/loca         


        
1条回答
  •  礼貌的吻别
    2020-12-30 07:39

    To solve this issue you should use "--no-binary" while installing django.

    pip install --no-binary django -r requirements.txt 
    

    or

    pip install --no-binary django django==1.4.21
    

    Remember to upgrade your PIP installation to have the "--no-binary" option.

    You can get further information in this link: https://github.com/pypa/pip/issues/2823

    0 讨论(0)
提交回复
热议问题