pyqt5 spyder 项目 记录

156 篇文章 21 订阅

pyqt5 spyder 项目 记录
在这里插入图片描述
在这里插入图片描述
地址:
https://www.spyder-ide.org/
https://docs.spyder-ide.org/current/index.html

https://docs.spyder-ide.org/current/installation.html

https://github.com/spyder-ide/spyder
https://gitee.com/mirrors/Spyder

Spyder (前身是 Pydee) 是一个强大的交互式 Python 语言开发环境,提供高级的代码编辑、交互测试、调试等特性,支持包括 Windows、Linux 和 OS X 系统。

Development builds

If you want to try the next Spyder version before it is released, you can! You may want to do this for fixing bugs in Spyder, adding new features, learning how Spyder works or just getting a taste of what the IDE can do. For more information, please see the Contributing Guide included with the Spyder source or on Github, and for further detail consult the Spyder development wiki.

编译 过程:

https://github.com/spyder-ide/spyder/blob/master/CONTRIBUTING.md

下载代码zip包:
https://github.com/spyder-ide/spyder

win7下 conda 方式 编译方法

If you use Anaconda you can create a conda environment with the following commands:

$ conda create -n spyder-dev python=3
$ conda activate spyder-dev

Installing dependencies
After you have created your development environment, you need to install Spyder’s necessary dependencies. The easiest way to do so (with Anaconda) is

$ conda install -c spyder-ide/label/alpha --file requirements/conda.txt

win7 下面 virtualenv方式 编译方法

mkvirtualenv -p C:/python367_64/python.exe spyder-dev
或者
mkvirtualenv spyder-dev

workon spyder-dev

python -m pip install --upgrade pip

进入源码目录:
cd /D F:\pyqt5\work\pyqt5_code_collection_jack\running\spyder-master
pip install -e .

直接从源码运行Spyder

直接运行:
python bootstrap.py

以debug 模式运行
python bootstrap.py --debug

遇到问题

*. Installing PyLS locally
Fatal Python error: _Py_HashRandomization_Init: failed to get random numbers to initialize Python

把对应的地方 给注释掉了,看起来是没有什么影响

# # Install PyLS locally
# print("*. Installing PyLS locally")
# subprocess.check_output(
#     [sys.executable,
#      '-W',
#      'ignore',
#      'setup.py',
#      'develop',
#      '--no-deps',
#      '--install-dir',
#      pyls_installation_dir],
#     env={'PYTHONPATH': pyls_installation_dir},
#     cwd=pyls_submodule
# )
  • 2
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值