Python 32 or 64 on 64-bit Windows 7? How will this affect the installation of easy_install?

I wrote python code on my mac and how do I transfer it to a Windows computer. It disappoints the words. I installed Python 2.7 x32, then I uninstalled it, and then installed Python 2.7 x64. My python script depends on xlrd and xlwt and some other loaded modules. I would like to install those that use easy_install or pip, or any way that is easy for those who don’t know too much about the really messy work of a computer. For now, if I do this:

C:\Windows\System32> python 

I get:

 'python' is not recognized as an internal or external command operable program or batch file. 

This is my python folder

This is the Scripts folder

These are my environment variables

Anyone suggest me the next step?

I did a bunch of google-ing and stackoverflow-ing and it seems to have landed here , I'm not sure how to download something from here. For example, how can I download Pip, as well as which one to download?

People say that a person should download and install this , how would I do it?

I am familiar with the terminal, what would I type in cmd?

+4
source share
1 answer

The reason I was not feeling good was because I used a mixture of Python 2.7 (32-bit) and Python 2.7 (64-bit). After several studies, I found that although my Windows 7 was 64-bit, I did not have to download 64-bit python. In fact, 32-bit python was more compatible with other programs. So I clicked and uninstalled python and everything else that had the name "Python" in it from my Add or Remove Programs menu. It took about 10 minutes. Then I downloaded 32-bit Python 2.7. After that, all the packages that I download, I made sure that they are 32-bit, not 64-bit.

Also, very important, I went to my "Environment Variables" (google how to get there) and added the directory where Python27 was installed. You can follow this guide for this . The last thing I did was add: .PY to the end of PATHEXT.

+9
source

All Articles