An error occured executing the microsoft VC++ runtime installer

在安装postgreSQL的时候遇到了一下问题:

There has been an error.

an error occured executing the Microsoft VC++ runtime installer

解决办法是:

 

在窗口中输入如下类似的Dos命令,将当前目录切换到程序的安装文件目录下

我的程序安装目录文件在

D:\3A软件备份>

 

运行 postgresql-10.1-2-windows-x64.exe --install_runtimes 0 

回车

An error occured executing the microsoft VC++ runtime installer_第1张图片

然后会弹出此窗口,按照提示就可安装成功!

An error occured executing the microsoft VC++ runtime installer_第2张图片

 

安装完成后 记得启动

 

键盘输入win+r,打开窗口,然后进行下一步

打开的窗口中输入services.msc ,单击确定。然后进入下一步

在打开的窗口中,找到postgresql ,然后进行下一步。

 

 

 

如图,在打开的窗口中,找到postgresql ,然后进行下一步。

An error occured executing the microsoft VC++ runtime installer_第3张图片

5

此处有两种方式启动服务。一、如图,选中此项后,点击右侧的启动按钮,然后进行下一步。

An error occured executing the microsoft VC++ runtime installer_第4张图片

6

二,如图,选中该项,单击鼠标右键,点击启动。然后进行下一步

An error occured executing the microsoft VC++ runtime installer_第5张图片

7

出现下图所示,表示正在启动,然后进行下一步

An error occured executing the microsoft VC++ runtime installer_第6张图片

8

如图,出现已启动字样,表示启动完成。

An error occured executing the microsoft VC++ runtime installer_第7张图片

END

方法/步骤2

  1. 1

    在任务管理器中启动,在任务栏,点击鼠标右键——点击任务管理器,然后进行下一步

    An error occured executing the microsoft VC++ runtime installer_第8张图片

  2. 2

    如图,在打开的窗口中,找到服务。然后进行下一步

    An error occured executing the microsoft VC++ runtime installer_第9张图片

  3. 3

    找到postgresql,,点击鼠标右键,启动服务。然后进行下一步

    An error occured executing the microsoft VC++ runtime installer_第10张图片

    An error occured executing the microsoft VC++ runtime installer_第11张图片

  4. 4

    最后启动成功,显示正在运行。

    An error occured executing the microsoft VC++ runtime installer_第12张图片

  5.  

 

 

 

 

 

 

  1. 如图,在打开的窗口中,找到postgresql ,然后进行下一步。

    An error occured executing the microsoft VC++ runtime installer_第13张图片

  2. 5

    此处有两种方式启动服务。一、如图,选中此项后,点击右侧的启动按钮,然后进行下一步。

    An error occured executing the microsoft VC++ runtime installer_第14张图片

  3. 6

    二,如图,选中该项,单击鼠标右键,点击启动。然后进行下一步

    An error occured executing the microsoft VC++ runtime installer_第15张图片

  4. 7

    出现下图所示,表示正在启动,然后进行下一步

    An error occured executing the microsoft VC++ runtime installer_第16张图片

  5. 8

    如图,出现已启动字样,表示启动完成。

    An error occured executing the microsoft VC++ runtime installer_第17张图片

    END

方法/步骤2

  1. 1

    在任务管理器中启动,在任务栏,点击鼠标右键——点击任务管理器,然后进行下一步

    An error occured executing the microsoft VC++ runtime installer_第18张图片

  2. 2

    如图,在打开的窗口中,找到服务。然后进行下一步

    An error occured executing the microsoft VC++ runtime installer_第19张图片

  3. 3

    找到postgresql,,点击鼠标右键,启动服务。然后进行下一步

    An error occured executing the microsoft VC++ runtime installer_第20张图片

    An error occured executing the microsoft VC++ runtime installer_第21张图片

  4. 4

    最后启动成功,显示正在运行。

    An error occured executing the microsoft VC++ runtime installer_第22张图片

  5.  

你可能感兴趣的:(python)