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’)


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

你可能感兴趣的:(vscode,conda,numpy)