
PyCharm
seamanj
这个作者很懒,什么都没留下…
展开
-
import python file in currently folder
when importing python file in currently folder, pycharm may not find the links. just right click on the folder and set as sources root, then pycharm can validate the links.原创 2020-10-20 17:16:26 · 238 阅读 · 0 评论 -
解决PyCharm调试查看变量时一直显示collecting data并报错Timeout waiting for response且看不到任何内容
问题描述如题,在用PyCharm进行Python代码调试查看具体变量时,会随机遇到一直显示collecting data,到最后报错Timeout waiting for response,在界面中看不到变量内部的内容解决办法在PyCharm,打开Setting界面,在如下设置项中勾选“Gevent compatible”即可,如下图所示:至此,问题得到解决。—————————...转载 2020-01-17 03:58:24 · 2377 阅读 · 2 评论 -
如何在pycharm debug类似python -m的命令
python3 -m joeynmt train configs/small.yaml如果我们直接执行 joeynmt里面的__main__.py 函数的话, 很有可能整个目录结构会不对。但是如果我们在命令行里面执行 该命令又不能用pycharm里面的调试功能。怎么 办呢?这样就可以了...原创 2019-12-13 02:26:13 · 1293 阅读 · 0 评论 -
pycharm TabError: inconsistent use of tabs and spaces in indentation
https://stackoverflow.com/questions/53264075/pycharm-taberror-inconsistent-use-of-tabs-and-spaces-in-indentationIn the “Settings | Editor | Code Style” – try disabling “Detect and use existing file i...转载 2019-10-23 05:55:11 · 230 阅读 · 0 评论 -
pycharm shortcuts
vertical selection: alt + shift + mouse left drag原创 2019-10-15 12:39:48 · 270 阅读 · 0 评论 -
add script param in pycharm
choose the script you want to rungo to menu Run->Edit Configurations…原创 2019-10-14 22:42:44 · 183 阅读 · 0 评论 -
pycharm 里面配置pip,安装库
在pycharm里面选择terminal然后,python -m pip install --upgrade pip然后安装想要的库, 可以指定名字或者从文件夹安装pip install scipy sudo pip install /home/seamanj/Software/chumpy-0.68...原创 2019-08-11 01:32:28 · 5006 阅读 · 0 评论 -
ConnectionRefusedError: [Errno 111] Connection refused in pycharm
ConnectionRefusedError: [Errno 111] Connection refusedhttps://github.com/junyanz/pytorch-CycleGAN-and-pix2pix/issues/24This problem is related to visdom. You can start the visdom visualizatoin serve...转载 2019-10-09 18:44:46 · 3161 阅读 · 0 评论