Anaconda4.9.2安装python3.8.10运行SimpleFOCStudio

32 2022-09-22 09:42

conda --version

conda create -n python38 python=3.8.10

 

done
#
# To activate this environment, use
#
#     $ conda activate python38
#
# To deactivate an active environment, use
#
#     $ conda deactivate


C:\Users\21>conda info --envs
# conda environments:
#
base                  *  C:\ProgramData\Anaconda3
python38                 C:\ProgramData\Anaconda3\envs\python38


C:\Users\21>activate  python38

(python38) C:\Users\21>

 

conda create -n simplefoc python=3.8.10

yes确定

 

done
#
# To activate this environment, use
#
#     $ conda activate simplefoc
#
# To deactivate an active environment, use
#
#     $ conda deactivate


C:\Users\21>conda activate simplefoc

(simplefoc) C:\Users\21>e:

(simplefoc) E:\>cd E:\BaiduNetdiskDownload\denggeTest\SimpleFOCStudio

(simplefoc) E:\BaiduNetdiskDownload\denggeTest\SimpleFOCStudio>pip install -r "requirements.txt"

……

Successfully built shutils
Installing collected packages: pyserial, smmap, PyQt5-sip, pymysql, numpy, confi
gparser, shutils, pyqtgraph, PyQt5, gitdb, gitpython
Successfully installed PyQt5-5.15.2 PyQt5-sip-12.11.0 configparser-5.3.0 gitdb-4
.0.9 gitpython-3.1.27 numpy-1.23.3 pymysql-1.0.2 pyqtgraph-0.11.1 pyserial-3.5 s
hutils-0.1.0 smmap-5.0.0

(simplefoc) E:\BaiduNetdiskDownload\denggeTest\SimpleFOCStudio>conda install git

注意,首次使用之后要配置如下

C:\Users\21>conda init cmd.exe

关闭窗口

今后在使用时:

C:\Users\21>conda activate simplefoc

(simplefoc) C:\Users\21>

(simplefoc) C:\Users\21>e:

(simplefoc) E:\>cd E:\BaiduNetdiskDownload\denggeTest\SimpleFOCStudio

(simplefoc) E:\BaiduNetdiskDownload\denggeTest\SimpleFOCStudio>python simpleFOCStudio.py

 

全部评论

·