摘要:
以下代码演示Python怎么从网络下载一个文件至本地并保存在当前文件夹download import os import requests from urllib.parse import urlparse def download_file(url): response = requests.ge 阅读全文
摘要:
Windows安装MySQL后默认只能本机访问,怎么开启网络访问 mysql> create user 'root'@'%' identified by 'password'; Query OK, 0 rows affected (0.00 sec) mysql> grant all on *.* 阅读全文
摘要:
Windows安装MySQL后默认不会设置环境变量需要手动添加 已Windows11为例 我的电脑-右键-属性-高级系统设置 ![image](https://img2023.cnblogs.com/blog/1144139/202308/1144139-20230819134939238-2056 阅读全文
摘要:
参考:https://blog.csdn.net/qq_41664096/article/details/118961381 使用以下命令启动npm只能本机访问 ``` npm run dev ``` 如果需要网络访问则需要加参数--host ``` npm run dev --host 0.0.0 阅读全文
摘要:
参考:https://zhuanlan.zhihu.com/p/348120084 下载Anaconda 下载地址 https://www.anaconda.com/ https://repo.anaconda.com/archive/Anaconda3-2023.07-2-Windows-x86_ 阅读全文
摘要:
参考:https://www.cnblogs.com/lizm166/p/16468953.html 原因:未设置源跟 解决方法:设置源跟 ![image](https://img2023.cnblogs.com/blog/1144139/202308/1144139-202308101616573 阅读全文
摘要:
Windows11安装python模块transformers报错,报错信息如下 ``` ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: 'C:\\Users\\274 阅读全文
摘要:
创建一个vue3项目 ``` npm init vue@latest ``` ![image](https://img2023.cnblogs.com/blog/1144139/202308/1144139-20230807185737703-1190650631.png) 启动 ``` cd vu 阅读全文
摘要:
报错如下 ``` Loaded plugins: fastestmirror, update-motd Loading mirror speeds from cached hostfile http://mirrors.163.com/centos/7-7.1908.0.el7.centos/os/ 阅读全文
摘要:
参考:https://blog.csdn.net/zaizuxuan/article/details/126950788 1. 根据进程名找到进程 例如python进程 ``` PS C:\Users\27467> tasklist | findstr python python.exe 7088 阅读全文