python - 视觉工作室代码蟒蛇问题
问题描述
我正在尝试在 Visual Studio 代码上运行 python 代码,但为此我需要 ta-lib。有人建议我使用 anaconda 安装 ta-lib,所以我得到了 anaconda,它要求我将其设置为我的主要 python,所以我这样做了。这样做之后,我尝试运行我的代码,但它给出了:
conda activate base
conda : The term 'conda' is not recognized as the name of a
cmdlet, function, script
file, or operable program. Check the spelling of the name,
or if a path was included,
verify that the path is correct and try again.
At line:1 char:1
+ conda activate base
+ ~
+ CategoryInfo : ObjectNotFound:
(conda:String) [], CommandNotFoundExceptio
n
+ FullyQualifiedErrorId : CommandNotFoundException
然后我尝试卸载 anaconda,但这样做之后它仍然被设置为我的主要 python。
有谁知道让 Visual Studio 代码不参考 anaconda 作为主要 python 或让 Visual Studio 代码与 anaconda 一起使用的方法?
解决方案
推荐阅读
- magento - Magento 1.9 - Mage::log() 没有创建日志文件
- vba - 删除文件夹中未在 Excel 电子表格中找到的文件
- php - 如何删除奏鸣曲管理类中的操作?
- java - DynamoDB 继承没有映射父哈希
- git - 如何用主分支历史覆盖开发分支
- c# - 从 Ubuntu 使用 C# 访问网络路径
- c# - 参数化 SQL 命令以更改包含的 DB 用户的密码
- typescript - Typescript 版本 3 中的编译器错误,但版本 2 中没有
- reactjs - Redux-form 字段类属性而不是名称
- nativescript - NativeScript 的 Angular BrowserModule