摘要: 1.显示python的版本号 python --version 2.Python解释器的位数(32/64) python -c "import struct; print(struct.calcsize('P') * 8)" 阅读全文
posted @ 2024-02-19 14:21 nate_pan 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 1.pipenv的安装 pip install pipenv或pip3 install pipenv(取决于你的pip版本) 2.配置虚拟环境 pipenv install 3.进入虚拟环境 pipenv shell 提示:不同的项目会有不同的虚拟环境,需要注意进入的是否正确 4.若打包exe,需要 阅读全文
posted @ 2024-01-10 12:23 nate_pan 阅读(26) 评论(0) 推荐(0) 编辑
摘要: sudo chmod -R a+r folder_name/ chmod -R 755 ../material 阅读全文
posted @ 2023-11-28 12:05 nate_pan 阅读(31) 评论(0) 推荐(0) 编辑
摘要: ## 问题信息 xcode 版本 14.3 真机运行和模拟器运行都没有问题,但是打包会报错 报错信息如下 ![image](https://img2023.cnblogs.com/blog/2034332/202308/2034332-20230828173237730-1042003336.png 阅读全文
posted @ 2023-08-28 17:37 nate_pan 阅读(513) 评论(0) 推荐(0) 编辑
摘要: 1.找出报错文件地址 2.定位至const os = require('os'); 3.添加内容os.hostname = () => 'localhost'; 4.保存,重试 阅读全文
posted @ 2023-07-13 16:39 nate_pan 阅读(1002) 评论(0) 推荐(1) 编辑
摘要: const arra = ['a', 'b', 'c', 'd', 'e']; const arrb = ['b', 'e']; console.log("some: " + arra.filter(v => !arrb.some((item) => item v))); console.log(" 阅读全文
posted @ 2023-02-03 14:46 nate_pan 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 1.网易云项目 Vue-NeteaseCloud-WebMusicApp 哔哩哔哩 gitee github music播客 NeteaseCloudMusic-vue 2.豆瓣电影 阅读全文
posted @ 2023-01-24 14:16 nate_pan 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 1.启动apache sudo apachectl start 2.重启apache sudo apachectl restart 3.停止apache sudo apachectl stop 阅读全文
posted @ 2023-01-20 11:41 nate_pan 阅读(88) 评论(0) 推荐(0) 编辑
摘要: 1.使用mysqladmin修改密码 使用 mysqladmin 命令修改 MySQL 的 root 用户密码格式为: mysqladmin -u用户名 -p旧密码 password 新密码 例如(root用户,root密码,修改密码为1234): mysqladmin -uroot -proot 阅读全文
posted @ 2022-12-30 14:54 nate_pan 阅读(396) 评论(0) 推荐(0) 编辑
摘要: ###问题根源: 罪魁祸首是git的一个配置属性:core.autocrlf 由于历史原因,windows下和linux下的文本文件的换行符不一致。 Windows在换行的时候,同时使用了回车符CR(carriage-return character)和换行符LF(linefeed characte 阅读全文
posted @ 2022-12-29 17:35 nate_pan 阅读(369) 评论(0) 推荐(0) 编辑