C:\pytest>conda env list 查看 当前虚拟环境 conda env list 激活环境 conda activate pymain-dev 查看包 pip list 导出包 python -m pip freeze > requirements.txt 安装包 pip install -r requirements.txt pymain-dev C:\condas\envs\pymain-dev pytest-devs C:\condas\envs\pytest-devs conda activate pymain-dev python ScanwX1.py C:\pytest\scanxrs\target\debug> .\scanxrs.exe cargro run 或者 .\scanxrs.exe