【问题标题】:Why can't I activate my Django virtual environment now?为什么我现在不能激活我的 Django 虚拟环境?
【发布时间】:2018-11-06 14:20:06
【问题描述】:

我不得不关闭我的电脑,因此 windows 生成了一个没有我的 django 虚拟环境的新命令行终端。现在我无法再激活我的 django 虚拟环境了

当我键入命令“activate myDjangoEnv”时,它不再将我带到我的 django 虚拟环境:

enter image description here

我已经安装了 Miniconda,我认为我需要再次安装它,对吗?

【问题讨论】:

标签: django miniconda


【解决方案1】:

在屏幕截图中,您似乎在运行“命令提示符”。您应该运行“Anaconda Prompt”才能访问您的 miniconda 安装和您创建的所有环境。

documentation 声明:

Installing on Windows

Download the installer:
    Miniconda installer for Windows.
    Anaconda installer for Windows.

Double-click the .exe file.

Follow the instructions on the screen.

If you are unsure about any setting, accept the defaults. You can change them later.

When installation is finished, from the Start menu, open the Anaconda Prompt.

Test your installation.

【讨论】:

    猜你喜欢
    • 2020-08-02
    • 1970-01-01
    • 2022-10-17
    • 2018-07-15
    • 1970-01-01
    • 2021-02-02
    • 2021-11-04
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多