"The TARGETDIR variable must be provided when invoking this installer"的解决方案

简介: "The TARGETDIR variable must be provided when invoking this installer"的解决方案

一、问题出现


在安装Python客户端的过程中出现这个问题,百度上很少有解决方案,好不容易找到了才解决,所以自己记录下来,以后有人遇到就可以解决了。


二、问题展示


20181210203006653.jpg

2018121020284095.jpg


日志如下:


[1E298:22034][2018-12-10T20:04:30]i001: Burn v3.10.0.2103, Windows v10.0 (Build 14393: Service Pack 0), path: E:\浏览器下载\安装包\python-3.5.1-amd64.exe

[1E298:22034][2018-12-10T20:04:30]i000: Initializing string variable 'ActionLikeInstalling' to value 'Installing'

[1E298:22034][2018-12-10T20:04:30]i000: Initializing string variable 'ActionLikeInstallation' to value 'Setup'

[1E298:22034][2018-12-10T20:04:30]i000: Initializing string variable 'ShortVersion' to value '3.5'

[1E298:22034][2018-12-10T20:04:30]i000: Initializing numeric variable 'ShortVersionNoDot' to value '35'

[1E298:22034][2018-12-10T20:04:30]i000: Initializing string variable 'WinVer' to value '3.5'

[1E298:22034][2018-12-10T20:04:30]i000: Initializing numeric variable 'WinVerNoDot' to value '35'

[1E298:22034][2018-12-10T20:04:30]i000: Initializing numeric variable 'InstallAllUsers' to value '0'

[1E298:22034][2018-12-10T20:04:30]i000: Initializing numeric variable 'InstallLauncherAllUsers' to value '1'

[1E298:22034][2018-12-10T20:04:30]i000: Initializing string variable 'TargetDir' to value ''

[1E298:22034][2018-12-10T20:04:30]i000: Initializing string variable 'DefaultAllUsersTargetDir' to value '[ProgramFiles64Folder]Python[WinVerNoDot]'

[1E298:22034][2018-12-10T20:04:30]i000: Initializing string variable 'TargetPlatform' to value 'x64'

[1E298:22034][2018-12-10T20:04:30]i000: Initializing string variable 'DefaultJustForMeTargetDir' to value '[LocalAppDataFolder]Programs\Python\Python[WinVerNoDot]'

[1E298:22034][2018-12-10T20:04:30]i000: Initializing string variable


三、解决方案


单选安装包,右键选择以管理员身份运行,然后就可以安装成功了。


备注:https://www.cnblogs.com/suogasus/p/4894172.html这个网址是我找到解决方案的博客,谢谢博主。

相关文章
|
Linux C语言
Linux These critical programs are missing or too old: compiler
Linux These critical programs are missing or too old: compiler
2525 0
Linux These critical programs are missing or too old: compiler
kali2022.1The following packages were automatically installed and are no longer required
kali2022.1The following packages were automatically installed and are no longer required
103 1
|
编译器 Linux C++
当你安装包遇到【 error: Microsoft Visual C++ 14.0 or greater is required】怎么办?
当你安装包遇到【 error: Microsoft Visual C++ 14.0 or greater is required】怎么办?
1190 0
|
Java Maven
Error running ‘ssm [clean]‘: No valid Maven installation found. Either set the home directory in the
Error running ‘ssm [clean]‘: No valid Maven installation found. Either set the home directory in the
142 0
|
Java Linux Maven
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
205 0
Xcode12适配The linked library is missing one or more architectures required by thi
升级到Xcode12后,运行Release模式后,会提示以下信息
206 0
codeblocks中出现#error This file requires compiler and library support for the错误时的解决方案
codeblocks中出现#error This file requires compiler and library support for the错误时的解决方案
753 0
codeblocks中出现#error This file requires compiler and library support for the错误时的解决方案
|
Java
No compiler is provided in this environment. Perhaps you are running on a JRE
No compiler is provided in this environment. Perhaps you are running on a JRE
132 0
CMake 3.7.2 or higher is required. You are running version 2.8.12.2
CMake 3.7.2 or higher is required. You are running version 2.8.12.2
295 0
configure: error: Library requirements (libpcre >= 7.8) not met
configure: error: Library requirements (libpcre >= 7.8) not met
149 0

热门文章

最新文章