![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
一些操作
今天好好优秀了么
Fake it until you make it.
展开
-
在虚拟环境中pip包不在虚拟环境里
结合网上多个大佬的方法终于解决了.首先修改自己虚拟环境目录下的site文件:把 USER_BASE 和 USER_SITE 改成虚拟环境目录.用检查是否修改成功.2. 接着在虚拟环境里更新pip,3. 用which pip和type pip看看两个地址是否一致.4. 不一致说明映射不对,pip发现目录不存在. 用hash -r重新映射, 再which pip和type pip发现一致, 解决.原创 2023-11-14 10:54:30 · 335 阅读 · 0 评论 -
Loading class `com.mysql.jdbc.Driver‘. This is deprecated.
在用java连接数据库时出现该错误:提示信息表明数据库驱动com.mysql.jdbc.Driver已经被弃用了、应当使用新的驱动com.mysql.cj.jdbc.Driver解决办法:在配置文件中将 com.mysql.jdbc.Driver改为 com.mysql.cj.jdbc.Driver...原创 2020-07-04 13:51:18 · 159 阅读 · 1 评论 -
Exception in thread “main“ java.sql.SQLException: The server time zone value……
用java连接数据库的时候出现该错误,是系统时间错误解决办法:在URL后加上?serverTimezone=GMT%2B8//原URL:jdbc:mysql://localhost:3306/test//现URLjdbc:mysql://localhost:3306/test?serverTimezone=GMT%2B8原创 2020-07-04 13:48:13 · 1244 阅读 · 2 评论 -
将写好的项目放到github上、删除文件夹、出现! [rejected] master (non-fast-forward)的问题
好久没用git了复习一下将写好的项目放到github上1、下载好git后在桌面右键选中git bash here 2、进入到项目所在文件夹如3、git init让该项目成为本地git仓库,之后会在该目录下生成一个.git文件。如4、git add .把本地项目中的所有文件添加到刚刚生成的git仓库5、git commit -m "这里是提交时候添加的注释"6、git remote add origin "github链接"7、 git pull origin master把本地仓原创 2020-06-30 18:08:48 · 274 阅读 · 1 评论 -
如何查看隐藏的文件夹
1.点击我的电脑2.点击左上角的查看3.点击右上角选项4.点击查看5.勾选"显示隐藏的文件、文件夹和驱动器"原创 2019-03-27 15:07:19 · 1392 阅读 · 1 评论 -
git命令出现fatal: Unable to create 'xxx/.git/index:File exists.问题
用git commit命令时,出现fatal: Unable to create 'xxx/.git/index:File exists.Another git process seems to be running in this repository, e.g. an editor opened by ‘git commit’. Please make sure all processe...原创 2019-04-11 14:52:35 · 12595 阅读 · 0 评论