python在安装第三方模块时候,需要将python的路径写入注册表,否则会提示 'python version 3.8-32 required,which was not found in the registry.'此时需要查看你的注册表 以下为检查及写入方法. 一.第一步先检查python路径是否已经写入注册表: 如果已经写入路径,用如下步骤即可安装win32成功: 按下键盘的win+R弹出运行框,输入'regedit'回车弹出注册表编辑器,如下: 二.再次去执行,安装win32 三.C
Option Explicit '声明要加载的函数 Private Declare Function RegCreateKey Lib "advapi32.dll" Alias "RegCreateKeyA" (ByVal hKey As Long, ByVal lpSubKey As String, phkResult As Long) As Long Private Declare Function RegCloseKey Lib "advapi32.