在 Visual Studio Code 中,我希望查看和自定义我的 Jupyter 笔记本快捷方式,例如ctrl-shift-c清除单元格内容等,类似于使用典型的基于浏览器的界面所提供的功能。
然而,我没能找到一种方法来做到这一点。 https://code.visualstudio.com/docs/python/jupyter-support-py
我正在尝试在Google Colab中安装theano进行测试。我已经安装virtualenv并创建了一个环境:
!pip3 install virtualenv
!virtualenv theanoEnv
Run Code Online (Sandbox Code Playgroud)
但是,即使明确提到了“ activate”命令的位置,也无法激活虚拟环境。
!source /content/theanoEnv/bin/activate theanoEnv
Run Code Online (Sandbox Code Playgroud)
错误消息是:
/bin/sh: 1: source: not found
Run Code Online (Sandbox Code Playgroud)
甚至有可能做?
source /[SomeVirtualEnv]/bin/activate SomeVirtualEnv
Run Code Online (Sandbox Code Playgroud)