multiprocessing、logging模块安装

如果使用在cmd中使用 pip install multiprocessing 会报错,
将命令改为 pip3 install multiprocessing就可以了

shutil -->https://blog.csdn.net/why123wh/article/details/103562122

hashlib,md5

md5现在是在hashlib中的函数,所以不需要安装md5, 而hashlib是python内置包,所以不需要安装hashlib,直接导入就可以了

imagededup

我是用python3.8安装失败,使用python3.7安装成功
运行:报错:RunTimeError:implement_array_function method already has a docstring
将numpy版本升到1.21.5, 问题解决

skimage (python3.7)

更新pip:python -m pip install --upgrade pip
安装:pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple/ scikit-image

如何在虚拟python中安装包

打开pycharm的终端

之后通过cd命令进入到venv/Scripts中,使用pip进行安装

pip install pycocotools==2.0.2

提前安装好VS即可,选择左上角第一个,。。。开发工具安装
vs下载地址: https://visualstudio.microsoft.com/visual-cpp-build-tools/

torch-gpu离线安装包

教程: https://blog.csdn.net/qq_37541097/article/details/117993519
下载地址: https://download.pytorch.org/whl/torch_stable.html

RuntimeError: cuDNN error: CUDNN_STATUS_INTERNAL_ERROR

我重新安装了低于显卡标准的torch-cu111,之后还是报错,然后我就重启计算机,就好了(我已经好几天没关机了)

posted on 2021-11-22 18:36  低八度  阅读(611)  评论(0)    收藏  举报