Django, python3, on install I get: “Parent module 'setuptools' not loaded”

前端 未结 5 1059
花落未央
花落未央 2021-01-07 20:49

I see lots of errors and suggestions about Parent module \'\' not loaded, ...

I don\'t see any about specifically "out of the box" django 3.5.<

5条回答
  •  走了就别回头了
    2021-01-07 21:17

    Try using the approved way in python3, where venv ia part of the stdlib:

    /usr/bin/python3 -m venv /home/isaac/.virtualenvs/foobar
    /home/isaac/.virtualenvs/foobar/bin/pip install django
    

提交回复
热议问题