Open richardmyu opened 2 years ago
Ubuntu v20.04 pycharm v.2021.2.3
有一定概率,当输入一两个中文后,再输入中文,会被强制输入成字母,不论是否主动切换输入法,始终表现为英文输入。
解决方法:
Help -> Edit Custom VM options...
;-Drecreate.x11.input.method=true
;参考:
1.使用 requirements.txt
文件为中介,写入需要删除的包,再批量删除
pip freeze > requirements.txt
pip uninstall -r requirements.txt -y
2.如遇权限问题,以管理员身份打开 cmd
运行上述命令。
1.venv 虚拟环境
今天尝试 venv 虚拟环境:
我的默认终端是 powershell,在这一步激活报错:
而切换成 cmd,则激活正常。
根据 venv --- 创建虚拟环境 提示:
但我的电脑,设置过后,还是无法启动该: