Python3.7.0 以上版本安装 pip模块 报错 ModuleNotFoundError: No module named '_ctypes' 解决方法
Python 工具软件 Linux
问题所在环境CentOS 7.0Python 3.8.0错误描述在给CentOS 的 Python 安装 pip模块 的时候出现如下错误:错误原因Python3 中有个内置模块叫 ctypes,它是 Python3 的外部函数库模块,它提供兼容C语言的数据类型,并通过它调用 Linux 系统下的共享库(Shared library),此模块需要使用 CentOS7 系统中外部函数库(Foreign function library)的开发链接库(头文件和链接库)。由于在 CentOS7 系统中没有安装外部函数库(libffi)的开发链接库软件包,所以在安装 pip 的时候就报了"Mo... ...
阅读全文
virtualbox 新建虚拟机 用老的磁盘挂载 uuid of the medium 'xxx' does not match the value
工具软件 Windows
一般用老盘会报下面错误点击 复制, 将内容复制到文本里面,取挂载的盘:D:\VirtualBox VMs\dzcx_yunwei_default_1596176735542_73384\box-disk001.vmdk老的uuid :0c158cb1-4d36-47c7-93de-c26a7ff8acf1用下面命令设置即可。VBoxManage.exe internalcommands sethduuid "D:\box-disk001.vmdk" ff23f38f-72fe-42e9-a573-a6682e9c2e10(注意:演示的命令和上图对不上,这里只是演示... ...
阅读全文
virtualbox 磁盘空间不足 磁盘转移位置 already exists 错误解决
工具软件 Windows
解决:VBoxManage.exe internalcommands setvdiuuid "D:\box-disk001.vmdk"virtualbox 4.0.4+ 执行下面VBoxManage.exe internalcommands sethduuid "D:\box-disk001.vmdk"出现 UUID changed 再挂载磁盘 就 ok 了... ...
阅读全文
bat 批处理 交互选择 菜单 执行函数
工具软件 Windows
@echo off
echo 1.function 1
echo 2.function 2
echo 3.function 3
echo.&echo.
set /p a=input choice:
if "%a%"=="1" Goto function1
if "%a%"=="2" Goto function2
if "%a%&... ...
阅读全文