vscode + conda+ ffmpeg + numpy 的安装方式

Windows 搭建 环境

  1. 遇到的错误点: 解决,使用conda init
    conda activate myenv usage: conda-script.py [-h] [--no-plugins] [-V] COMMAND ... conda-script.py: error: argument COMMAND: invalid choice: 'activate' (choose from 'clean', 'compare', 'config', 'create', 'info', 'init', 'install', 'list', 'notices', 'package', 'remove', 'uninstall', 'rename', 'run', 'search', 'update', 'upgrade', 'build', 'content-trust', 'convert', 'debug', 'develop', 'doctor', 'index', 'inspect', 'metapackage', 'render', 'skeleton', 'token', 'env', 'repo', 'pack', 'server', 'verify')
cpp 复制代码
3. 先创建源: conda create -n py310 python=3.10 -c conda-forge -y 
4. conda init   # 一定要这个,不然会出现下面第一个错误
5. 其他安装的库, 使用conda install 即可了 
6. 需要用python调用ffmpeg  可以   conda install ffmpeg-python  才可以import
相关推荐
❀搜不到3 小时前
查询 conda + pip 装的包
windows·conda·pip
theRavensea6 小时前
在VSCode中使用Vim模式
ide·vscode·vim
不枯石10 小时前
Python实现点云法向量各种方向设定
python·计算机视觉·numpy
wangduqiang74714 小时前
VSCode 下 PlatformIO 的使用
ide·vscode·编辑器
ZKY_241 天前
【VsCode】离线状态下安装插件
vscode
Irene19911 天前
vscode 中通义灵码显示登录过期
vscode·通义灵码
guangzan1 天前
VS Code 操作 “Delete unused imports” 时,不删除 React 导入
vscode·typescript·eslint
嫣语岁月2 天前
【BMS电池管理】基于BQ76920与STM32的BMS设计开发
c语言·vscode·stm32·单片机·嵌入式硬件
njxiejing2 天前
Python NumPy安装、导入与入门
开发语言·python·numpy
996终结者2 天前
同类软件对比(四):Jupyter vs PyCharm vs VS Code:Python开发工具终极选择指南
vscode·python·jupyter·pycharm·visual studio code