摘要:
pytest-env is a good module, allow you to set env variable in pytest.ini as for example, [pytest] env = SCM=git 阅读全文
摘要:
- conda append channels, $ conda config --append channels conda-forge then a simple conda config ~/.condarc should be, auto_activate_base: false show_ 阅读全文
摘要:
https://pypi.org/project/ply/ http://www.dabeaz.com/ply/ http://www.dalkescientific.com/writings/diary/archive/2007/11/03/antlr_java.html http://www.d 阅读全文
摘要:
解决方案: $ fsck -t ext4 /dev/sda1 ...#一路 yes...$ reboot (完) 阅读全文
摘要:
Refer To: https://www.x.org/releases/current/doc/man/man5/xorg.conf.5.xhtml For Device Section: DEVICE SECTIONThe config file may have multiple Device 阅读全文
摘要:
如下示例, import multiprocessing import random def worker(base_num, queue): for _ in range(1000): queue.put(base_num + random.randint(0, 99)) print('{} en 阅读全文
摘要:
安装 Pillow 出现问题,解决方法, $ sudo apt-get install libjpeg-dev (完) 阅读全文
摘要:
Closing as this looks like a mismatch between build library and Python versions;编译版本与实际版本不同导致。(完) 阅读全文
摘要:
编译安装 swig 或 nginx 时需要 pcre-config, 在 ubuntu 下可以这么安装, $ sudo apt-get install libpcre3-dev $ pcre-config --version (完) 阅读全文
摘要:
如题,虚拟机开机提示如下错误信息, 解决方案,修改显卡控制器为 VBoxVGA 如下,(注意,更改默认的推荐设置后,设置框底部可能出现无效设置的提示,没有影响,无需担心) (完) 阅读全文