pip install Django on python3.6

后端 未结 5 2356
青春惊慌失措
青春惊慌失措 2021-02-19 19:35

If I run pip install Django I get

Requirement already satisfied: Django in /usr/local/lib/python2.7/dist-packages

I\'

5条回答
  •  -上瘾入骨i
    2021-02-19 20:14

    As is common with these sort of pip issues, before you install, check where pip is pointing to with pip -V.

    If that points to Python 2, you can then try pip3 -V; if that points to an older version of Python 3, go for pip3.6.

    As a final approach, you can always go through python itself with python3.6 -m pip install ...

提交回复
热议问题