windows平台应用/开发python project


windows平台应用/开发python:
1. windows平台下搭建简单的python环境:
2. 安装所需模块:
右键管理员打开command prompt:
pip3 install scipy
pip3 install matplotlib
pip3 install wxpython
pip3 install pyyaml
pip3 install seaborn
pip3 install colorama
pip3 install Cython
pip3 install pyknotid
3. 下载并安装visual studio code编辑器:
4. 下载并安装git:
在最后一步finish后,打开git bash,输入:
git config --global user.name "Your Name" 
git config --global user.email "email@example.com"
5. 用git下载gtihub仓库:
git clone 仓库中的指定文件(此方法还是会下载整个项目,如果仓库较大,会耗时较长,但最后出现在本地项目文件下里只有需要的那个文件夹存在。类似先下载,再过滤。):
具体操作:
在目标文件夹下打开git bash;
zhangjunchuan@DESKTOP-D2MQTEL MINGW64 ~/workplace/src
$ git init
Initialized empty Git repository in C:/Users/zhangjunchuan/workplace/src/.git/
zhangjunchuan@DESKTOP-D2MQTEL MINGW64 ~/workplace/src (master)
$ git remote add -f origin https://github.com/XXX/YYY.git
Updating origin
remote: Enumerating objects: 429, done.
remote: Counting objects: 100% (429/429), done.
remote: Compressing objects: 100% (280/280), done.
remote: Total 7674 (delta 258), reused 282 (delta 140), pack-reused 7245
Receiving objects: 100% (7674/7674), 231.83 MiB | 96.00 KiB/s, done.
Resolving deltas: 100% (4890/4890), done.
From https://github.com/XXX/YYY
 * [new branch]     
autotest         -> origin/autotest
 * [new branch]      master           -> origin/master
 * [new branch]      multi            -> origin/multi
 * [new branch]      v1.0             -> origin/v1.0
zhangjunchuan@DESKTOP-D2MQTEL MINGW64 ~/workplace/src (master)
$ git config core.sparseCheckout true
zhangjunchuan@DESKTOP-D2MQTEL MINGW64 ~/workplace/src (master)
$ echo "subfolder_name/sub_subfolder" >> .git/info/sparse-checkout
zhangjunchuan@DESKTOP-D2MQTEL MINGW64 ~/workplace/src (master)
$ git pull origin autotest
From https://github.com/XXX/YYY
 * branch            autotest   -> FETCH_HEAD
6. 从wxFormBuilder的github页面下载release 3.6.1的windows安装exe程序,双击打开安装即可使用。
7. code UTF8转码问题:
在windows下,需要把coding UTF8全部替换为coding UTF-8

 
  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

寒墨阁

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值