venv doesn't create activate script python3

前端 未结 5 733
被撕碎了的回忆
被撕碎了的回忆 2020-12-23 00:02

When trying to create a virtulenv using venv with python 3 on ubuntu it isn’t creating an activate script. It conitunally exits with an error 1.

Following docs and o

5条回答
  •  南方客
    南方客 (楼主)
    2020-12-23 00:42

    Anaconda involucred.

    If you are using Anaconda or Miniconda this solution may help:

    Conda manages python itself as a package, so that conda update python is possible, in contrast to pip, which only manages Python packages. Conda is available in Anaconda and Miniconda (an easy-to-install download with just Python and conda).

    So, this command would help:

    conda update python
    

    very disturbing for me but well, hands to the keyboard in a terminal window: (click here, see the picture)

    Thanks for your attention, have a nice day!

提交回复
热议问题