如何控制“更新骨骼” PyCharm 中 IronPython 解释器的后台任务?
有没有办法抑制、停止或以其他方式控制 PyCharm 中后台任务的设置或显示?选择 IronPython 解释器会导致它每次选择解释器时都会更新框架,通常需要 20-30 分钟才能完成,导致 IDE 几乎无法使用。大多数时候,我什至无法继续正常工作,因为大多数上下文菜单在操作过程中都被禁用。
Is there a way to suppress, stop or, otherwise, control the settings for, or display of, background tasks in PyCharm? Selecting the IronPython interpreter causes it to update skeletons (seemingly) every time the interpreter is selected and usually takes 20-30 minutes to complete, rendering the IDE nearly unusable. Most times, I can't even carry on with normal work as most of the context menus are disabled during the operation.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
因为今天 2013 年 11 月 14 日星期四,你的 bug 已经过去 2 年了,而且没有其他人抱怨 pycharm(现在 3.0)的问题,我相信这实际上可能是 Mac OSX 的问题。我的全新 10.8.5 机器上的许多程序运行速度都超过 100%。 Pycharm 更新骨骼只占用了 330%,让我的粉丝疯狂旋转。
从之前的大量谷歌搜索中,我发现了一个可以暂时解决问题的小脚本;
http://www.willnolan.com/cputhrottle/cputhrottle.html
像这样运行它;
其中 xxx = 每个活动监视器的进程 ID,25 = 您希望将其限制为的任何 %cpu。单击 return 后,只有不单击 ctrl-c 时,它才会持续。我在 mac 板上读到关于代码中的一个错误,它会寻求使用所有可用资源来寻找系统更新,就像这件事所做的一样。所以我想,唉,我们必须忍受它。至少我们有这个小工具。叹。
Because today 2013-11-14Thu, it's 2 years after your bug and no other people are complaining about the pycharm, now 3.0, problem, I believe it is actually probably a Mac OSX issue. Numerous programs on my brand new 10.8.5 machine run way way over 100%. Pycharm updating skeletons was just taking 330% and making my fan spin crazily.
From lots of previous googling I found a little script that can temporarily fix the problem;
http://www.willnolan.com/cputhrottle/cputhrottle.html
Run it as so;
where xxx = your process ID per Activity Monitor, and 25 = whatever %cpu you wish to limit it to. Upon clicking return, it will only last as long as one does not click ctrl-c. I read on the mac boards about a bug in the code where it would seek to use all available resources in looking for system updates, the same as this thing is doing. So I guess, alas we have to live with it. At least we have the little tool. Sigh.
这给我带来了问题,因为当这个进程运行时,Jupyter-in-Intellij 不会显示可以打印内容的侧面板。所以它几乎是一个阻碍者。
我做了几件事共同解决了这个问题:
的是,我不能 100% 确定什么修复了这个问题,因为我的 IDE 恢复后就删除了该文件。希望这个答案能对将来的人有所帮助,因为 Intellij/PyCharm 中的 Jupyter 服务器非常棒!
This was causing me problems because while this process is running, Jupyter-in-Intellij doesn't display the side panel where you can print things out. So it's pretty much a blocker.
I did several things which together resolved the problem:
Unfortunately, I am not 100% certain what fixed it because I deleted the file as soon as my IDE came back up. Hopefully this answer will help someone in the future because Jupyter server within Intellij/PyCharm is excellent!
请升级到 PyCharm 2.0。生成二进制模块骨架的问题可能已经得到解决。
Please upgrade to PyCharm 2.0. It's likely that the problem with generating skeletons of binary modules is already fixed.