简体   繁体   English

在我的 Windows 64 位机器上安装 Python 时出错

[英]Error installing Python on my Windows 64-bit Machine

I am on a 64-bit Intel Core i3 7th generation machine.我在 64 位 Intel Core i3 第 7 代机器上。 I installed python there and after which when I typed python on the command line to make sure that it is properly installed I found that it has installed the 32 bit version of the same.我在那里安装了 python ,然后当我在命令行上键入python以确保它正确安装时,我发现它已经安装了相同的 32 位版本。 The shell prompt displayed something like this - MSC v.1916 32 bit (Intel)] on win32 . shell 提示MSC v.1916 32 bit (Intel)] on win32 Is it fine or is there some issue which can be fixed?很好还是有一些可以解决的问题? Thanks in advance.提前致谢。

Try to go to python web-site and download windows x86-64 executable installer and then run the installation again.尝试 go 到python 网站并下载 windows x86-64 可执行安装程序,然后再次运行安装。 Make sure the installation wizard shows you 64-bit Setup.确保安装向导显示 64 位安装程序。

After the installation complete you might have to check the windows environmental variables(go to Control Panel - System and Security - System, here you need to select Advanced system settings and go to Environment variables) to point a variable to a new x64 folder.安装完成后你可能需要检查 windows 环境变量(进入控制面板 - 系统和安全 - 系统,这里你需要 select 高级系统设置和 Z34D1F91FB2E514B8576FAB1A75A89A6 新的环境变量指向 a 变量到 x64 文件夹)

After that when you start python from the cmd or PowerShell, you should see that you are running a 64-bit version of it.之后,当您从 cmd 或 PowerShell 启动 python 时,您应该看到您正在运行它的 64 位版本。

There could be only a single problem that is the performance.可能只有一个问题,那就是性能。 Else everything will go good.否则一切都会 go 好。 The speed may be a bit low.速度可能有点低。 Anyway you can simply uninstall the 32 bit and install 64 bit if you want.无论如何,如果需要,您可以简单地卸载 32 位并安装 64 位。

You need to download the 64-bit installation file to install 64-bit Python.您需要下载64位安装文件来安装64位Python。 The 32-bit and 64-bit installation files are different. 32 位和 64 位安装文件不同。 Be sure to install the 64-bit file.请务必安装 64 位文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM