摘要: 安装好ubuntu后, su - 切换不到root, 提示密码错误 密码未初始化导致的, 需要配置密码: sudo passwd 这个新密码就是root的密码, 可以与当前用户的密码不同. 在终端中输入 su root,然后输入root的密码, 验证成功即可切换到root用户. 在root用户下做完 阅读全文
posted @ 2020-12-27 23:23 awr2sdgae 阅读(97) 评论(0) 推荐(0)
摘要: 近年来, powershell 得到了许多cloud/硬件厂商的设备支持, 且具备了跨平台的特性(win/linux), 是时候替换批处理脚本了. 版本: powershell > 7 windows terminal: https://docs.microsoft.com/en-us/window 阅读全文
posted @ 2020-12-27 18:07 awr2sdgae 阅读(90) 评论(0) 推荐(0)
摘要: windows下开启wsl2参考官方文档: 系统版本要求: (For x64 systems) Version 1903 or higher, with Build 18362 or higher. https://docs.microsoft.com/en-us/windows/wsl/insta 阅读全文
posted @ 2020-12-23 20:22 awr2sdgae 阅读(3400) 评论(0) 推荐(0)
摘要: 打包工具 setuptools 文档: https://setuptools.readthedocs.io/en/latest/index.html# 一个例子: #以mmcv的setup为例 from setuptools import Extension, dist, find_packages 阅读全文
posted @ 2020-12-05 20:16 awr2sdgae 阅读(212) 评论(0) 推荐(0)
摘要: 文档见: https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#creating-an-environment-with-commands conda create -n py 阅读全文
posted @ 2020-12-01 17:08 awr2sdgae 阅读(1930) 评论(0) 推荐(0)