![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
PyCharm
米饭的白色
这个作者很懒,什么都没留下…
展开
-
Error #15: Initializing libiomp5.dylib, but found libiomp5.dylib already initialized.
OMP: Error #15: Initializing libomp.dylib, but found libiomp5.dylib already initialized.原创 2022-08-20 16:43:47 · 1953 阅读 · 0 评论 -
python 中添加临时路径
记录一下, python 添加临时路径原创 2022-08-15 16:52:04 · 652 阅读 · 0 评论 -
Python 中添加搜索路径
文章目录1. 程序中添加2. 利用 `.pth` 文件进行添加1. 程序中添加利用 sys.path 进行添加, 例如:import syssys.path.append('/Users/username/Documents/')sys.path以及可以利用 sys.path 输出目前所包含的目录.2. 利用 .pth 文件进行添加在 lib/python 所安装的目录下的 lib/python/site-packages/ 目录下增加一个 .pth 文件.这里需要注意的 python原创 2022-05-16 18:19:34 · 2847 阅读 · 0 评论 -
收集一下 python plot 画图
python用matplotlib画图(单个,多个子图)(颜色,线型,线粗细)python如何使用Matplotlib画图(基础篇)转载 2022-05-04 22:23:10 · 320 阅读 · 0 评论 -
PyCharm 取消 git 关联
PyCharm -> Preferences -> Version Control -> Directory Mappings -> "VCS" 对应的 'git' 改为 'none'原创 2022-02-27 17:03:57 · 2334 阅读 · 1 评论 -
PyCharm 一些整理
PyCharm 如何自动生成签名:自己百度PyCharm 快速插入当前时间和日期:https://blog.csdn.net/mouday/article/details/90052854PyCharm 官网介绍自己定义模板:原创 2019-08-16 15:00:59 · 123 阅读 · 0 评论 -
PyCharm -- “Instantiating tests...“, “No tests were found“
问题PyCharm 中尽量避免用 test_ 开头的文件作为自己的测试文件,可能 PyCharm 把它默认当成一个单元测试的方法。例如新建一个 test_Poisson.py 的文件,右键 文件 Debug 时会出现 pytest 的字样,当 Debug 时 Console 中会一直出卡在 “Instantiating tests…”当你结束 Debug 时,又会有 “No tests ...原创 2019-08-21 07:25:41 · 2515 阅读 · 0 评论 -
PyCharm 设置签名
#!/anaconda3/envs/FEALPy/bin python3.7# -*- coding: utf-8 -*-# ---# @Software: ${PRODUCT_NAME}# @Site: ${SITE}# @File: ${NAME}.py# @Author: ---# @E-mail: ---@126.com# @Time: ${MONTH_NAME_SHORT...原创 2019-08-20 13:30:18 · 4866 阅读 · 0 评论 -
MacOS 中 Pycharm 调整代码长度分割线
Pycharm -> Preferences -> Editor -> Code Style -> Python -> Wrapping and Braces -> Hard wrap at原创 2020-06-13 10:06:21 · 697 阅读 · 0 评论 -
PyCharm 同级目录 import module
在 PyCharm 中同目录下 import module, 会出现 No model named ... 的报错, 但实际可以运行, 我们需要将当前文件目录加入 source_path, 具体操作如下:在当前目录右键 Make Directory As --> Sources Root如下图...原创 2020-01-31 18:03:35 · 651 阅读 · 0 评论