- 博客(11)
- 资源 (1)
- 收藏
- 关注
原创 Downloading torch-2.3.0-cp38-cp38-manylinux1_x86_64.whl No space left on device
因为服务器多人使用,df -h 发现空间不够了,但又没法删东西,可用 --no-cache-dir,会直接安装torch,而不把缓存放在 /home目录下导致报错。安装 torch 时发现很慢,可用清华源 -i https://pypi.tuna.tsinghua.edu.cn/simple。
2024-05-22 16:13:22
201
原创 ImportError: cannot import name ‘AES‘ from ‘Crypto.Cipher‘ (unknown location)
ImportError: cannot import name 'AES' from 'Crypto.Cipher'
2023-03-14 13:54:50
1284
原创 ImportError: cannot import name ‘NoReturn‘
ImportError: cannot import name 'NoReturn'
2022-06-03 20:34:15
1457
原创 阿里云部署rabbitMQ报错Err:1 http://mirrors.cloud.aliyuncs.com/ubuntu focal-updates/
Err:1 http://mirrors.cloud.aliyuncs.com/ubuntu focal-updates/main amd64 locales-all amd64 2.31-0ubuntu9.2 404 Not Found [IP: 100.100.2.148 80]E: Failed to fetch http://mirrors.cloud.aliyuncs.com/ubuntu/pool/main/g/glibc/locales-all_2.31-0ubuntu9.2_amd.
2022-05-22 00:03:12
111
原创 快速排序(C语言实现)
将int型数组快排,数组大小为n.快排算法见《算法导论》第七章,关键是PARTITION过程,然后递归调用QUICKSORT. 这里为了更快,PARTITION采用随机化的RANDOMIZED-PARTITION(《算法导论》7.3节).代码如下:#include<stdio.h>//数组排序int partition(int a[],int p,int r){ int i=p-1; int temp,j; int piv=rand()% (r - p + 1) + p
2021-12-25 18:21:18
3135
原创 怎样删除管理员账户
在非管理员账户里点击“Win+X”,再点“Windows PowerShell(管理员)”,输入“net user administrator /active:no”,回车即可。若要打开管理员账户,则把“no”换成“yes”。
2021-11-29 21:19:51
1845
WifiInfoView
2022-07-15
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人