Have been running Python 2.7.2 for several months, was using the 32-bit version on my 64-bit computer.
Today ran the installer for 2.7.3, 64-bit. Now I cannot get idle to start. I see answers here for Python in program files, I am running Win7, and I believe the correct location for this machine is in C:\, not in program files. At least that is where I had 2.7.2 and it worked.
So trying
C:\Python27\Lib\idlelib\idle.py
or
C:\Python27\Lib\idlelib\idle.pyw
neither of those would open Idle. With the .py one a console window flashes open for a split second and disappears. On the .pyw one, nothing at all happens as far as I can see. And the pyw one says right on the screen in File Type: "no console"
The old shortcut in the Start menu, under properties says 'target: python 2.7.2', but I don't see a way to change the target.
Also tried opening from Powershell, command line, Python command line, run. None of those worked.
When I downloaded 2.7.3, it said it was overwriting the files in Python27.
Now uninstall offers two programs to uninstall: 2.7.3 and 2.7.2 , but as far as I can tell there is a single Python program on disk and that one thinks it is 2.7.3. I started to uninstall and try a fresh install, but thought I'd ask first rather than risk further screwing up my machine. Thanks in advance for any help. I did read and try to use all the answers in similar questions here on the site.
I ran in to this today. Basically there was already an older version installed and installing over it (I think it was 2.7.2) with 2.7.3 64 bit broke it bad.
At first the CLI python would work but IDLE refused to launch without even an error. Uninstalling/reinstalling did nothing several times, and the problems got weirder as it couldn't find the msi's it had just downloaded, etc. Then I noticed that it wasn't deleting everything in the Python27 folder.
Manually deleting the folder wasn't enough and I found that it was storing another folder under App Data\Roaming (Windows 7). Removing this one finally allowed the re-installation to work (and show up as a newly installed program instead of acting like it had always been there by not highlighting it).
I was about to give up on the 64 bit version and try the 32 but it seems like the Python uninstaller/installer aren't cleaning everything up properly file wise (if it were registry entries I'd still be digging).
Related
Trying to update my 32-bit Cygwin install on a Windows 10 64-bit fresh install and every setup-x86 I have tried fails with errors.
I had it all working on my old system, which was a Windows 7 upgrade to Windows 10. My 3rd party SDK with Cygwin plus an upgrade was installed a good few years ago while on Windows 7 then did the Windows 10 upgrade thing. I could still compile my code for an embedded processor device with no errors after that.
But Microsoft corrupted my system with the last update (December 2022) so my system was unbootable and irreparable by any of their troubleshooting Advanced methods.
So I put a new hard drive in and installed windows 10 from scratch.
Two weeks later I have reinstalled much software but now I am at my SDK re-install and cannot get any Cygwin version to download.
I have a 3rd party SDK which instructs me to install their Cygwin first (version 1.5.18) then remove some environment variables, then go to http://www.crouchingtigerhiddenfruitbat.org/Cygwin/timemachine.html and Follow the “Dead Simple Instructions" and go for "any version 2017 +".
After downloading the files I must copy the directory to my original install directory, thus upgrading the install.
I just cannot download anything though.
I went to that time machine page and was totally confused. I noticed they said "this is the last 32 bit install" on several places, so I tried clicking on all those setup-x86 links.
I tried running the downloaded setup-x86 files from the download directory but each one failed.
On most of the more recent setup-x86 files,(like 2.924) it shows a small blue square telling me Windows protected me etc. I click Run anyway and then it says "Cygwin is not supported on 32-bit windows".
So I tried earlier versions like 2.909 and they show the interface; I choose download, then choose the download directory ( a folder on my desktop) then I have tried both direct connection and use system proxy; then I select a mirror (tried all of them, I think) and it begins some action then stops with errors like:
"https:\cygwin.mirror.constant.com\x86\setup.ini line 12: The current ini file requires at least version 2.924 of setup. Please download a newer version from https://cygwin.com/setup-x86.exe"
But I have already tried 2.924 and it gives the "Cygwin is not supported on 32-bit windows" error!
With setup-x86-2.874.exe, it shows the interface etc. but in the mirror list all I see is http://update.setup.invalid.
With 2.774 it does the interface then "Unable to get setup.ini from 'my selected mirror url'.
Then I tried that page https://cygwin.com/install.html#unsupported, where I tried the circa urls and did these from an Administrator command line, as they say. No good- errors.
Under "Dead Simple Instructions"(no they are not) I followed the link to the machine top level snapshot index, but each link their only gives a plain text list of files- nothing downloadable!
Anyway, copied a url link and then at step 4 it says click for setup-x86. So I did but that blue windows protection square appears. I say run anyway but then it says "Cygwin is not supported on 32-bit windows"!
I am at my wits end! It all worked fine on my old system until Microsoft ruined it with their updates.
How can I get a newer cygwin update for my v1.5, s the 3rd party instructions say???
Aha! I believe I have finally got this to work.
I just found a new release of the instructions for the 3rd party software SDK. They mention version 2.9.0 as the new version they are moving to.
I cannot access their download but I went back and read the Cygwin Time Machine page carefully again (http://www.crouchingtigerhiddenfruitbat.org/Cygwin/timemachine.html).
Under "Dead Simple Instructions", I looked through the list of dates and versions (http://ctm.crouchingtigerhiddenfruitbat.org/pub/cygwin/circa/index.html) and found 2.9.0-1; surely close enough, eh?
So I copied the URL shown there.
Step 4 Run setup-x86.exe downloaded the setup file and Itried it from an Admin CMD prompt, adding the -X and -D switches. It failed with the 32 bit error, as before.
OK so I read again and near the bottom of the page I spotted "Cygwin Setup Archive".
Ah... I went to the link provided there (http://ctm.crouchingtigerhiddenfruitbat.org/pub/cygwin/setup/setup.html) and found setup-x86-2.901.exe.
After it downloaded, I again used the command prompt to run this and an interface appeared.
I was able to choose the existing install directory, the temporary download directory and add the URL I had copied earlier.
It proceeded to get the list of packages correctly.
I then selected to view files that were installed but may need updating and clicked Next.
It all went correctly. Thanks to Doug who offered help already.
So there is a way to do this.
If anyone was looking for the solution, I found the answer in the Cygwin mailing list. You must launch the setup-x86.exe (setup-x86-2.924.exe) with the --allow-unsupported-windows option --site circa_URL arguments, much like the -X switch was used on prior legacy installers to disable signature checking. circa_URL here is a mirror of legacy repos for Cygwin, where http://ctm.crouchingtigerhiddenfruitbat.org/pub/cygwin/circa/2022/11/23/063457 is the suggested url in the mailing listing post.
Apparently, if you are on a true x86, non-64-bit, Windows OS, this flag is not necessary, though I think the repo mirror may be required.
I don't know if anyone else has had this issue? Python 3.5.2, 3.5.5 and now agian using 3.6.0a3.Sudden unexplained python failure to start. Ide Idle Shows Fatal when trying to start when hours earlier all was fine. Have had this happen now three times. Details Below.
pythonw.exe
3.6.150.1013
585cd097
ucrtbase.DLL
10.0.10586.9
5642c5f8
40000015
0008469a
9a0
01d29a9be7dc282e
C:-----my path to it
C:\Windows\system32\ucrtbase.DLL
261c485f-068f-11e7-a405-c80aa953b2de
I will re install again and may have to revert back to earlier versions at 3.3. Any help in Preventing this or knowing what causes it would be great Thanks.
Don't try to use the development version, get 3.6.0. If python does not start, no python application can run, so IDLE is not relevant.
I strongly suspect your ucrtbase.dll is either corrupt or out-of-date. On my Win10 system, I have version 10.0.14393.0. I don't know if it should be the same on Win 7. Do you have Windows Update turned on?
In any case, other people have had problems with ucrtbase.dll. See for example, this tracker issue. It refers to this ucrtbase.dll update download page.
I just recently upgraded to Windows 10 and ever since I have upgraded I can't get into VB6. I keep getting the System Registry error. I have googled and tried about everything and nothing seems to work. Running VB6 as Administrator is not an option, don't ask but we can't have admin to our computers we have to be logged in as users. The way we use to fix it was to trick Windows 7 log on as Admin run VB6 as Admin then switch me back to user and it worked, but this no longer works. Does anyone have any suggestions that currently have VB6 working as a user and not admin? I really don't want to resort to have to run it out of my virtual machine :( Thanks in advance!
Amanda,
I know it is 3 years later and I wonder what you did. and my solution may be late.
I moved VB6 Enterprise to a Windows10 machine, I did not upgrade the machine to Win10 with the IDE. However to make it work for some of my clients with Win10 machines I:
Back up all the VB6 files, folder and directories.
Using control panel in Win10, uninstall VB6 app. That's right, uninstall!
Using the original install disk, running it as an Administrator, install the program.
If the program has been updated to a later version, you need to get a copy of the latest version and copy over the one that was installed.
Or, Sweet Talk your IT guy into making you a new install disk with the latest version you are supposed to be running.
Go to the folder where the exe file is installed, Right Click on it and open the Properties, and go to the Compatibility tab.
Choose run as an administrator, and also click the Run this program in compatibility mode for Windows XP Service Pack3, or if it shows Latest version of Windows XP try that. You may need to check with your IT department.
Warning: if the VB6 program uses any non-Microsoft tools you may need to register them by hand.
I suspect this has already been worked out for you, but I put it here for anyone that may stumble across it, needing it.
I want to install Cygwin on Windows 8.1 64bit but got no success using any variant.
I tried:
1) I downloaded fresh setup-x86_x64 from cygwin site and then tried to install from Internet but got empty mirror list.
2) The I tried manually add mirror from https://cygwin.com/mirrors.lst (this file accessible from my computer) but got "unable to get setup.ini" error.
3) then I tried to download WHOLE package manually from one of the mirrors (all mirrors normally accessible from my computer via FTP or HTTP) to setup from local package. When I downloaded all packages (about 30 Gigs) I ran setup with local package option. Package folder was scanned and I got list of categories. But there was no package in any category.
4) also I tried to run setup on my Windows 7 notebook. It got mirror list normally. Also I downloaded packages by setup program using my notebook, then transfered them to my Win 8.1 desktop, but the story was the same: I saw list of categories without packages. But on Win7 notebook I saw packages in categoies when I tried to install from the same directory.
5) Also I tried to turn off or even uninstall my firewall and antivirus software, but all results was the same.
6) I tried to run setup with administrator rights, tried to use different folders and HDD paths, tried to use x86 setup instead of x64 setup.
But nothing helped me.
Any ideas?
Define "didn't work". Post whatever error message the installer presents to you. Every little bit of information helps.
A common issue people experience while installing cygwin are outdated mirrors, i.e., websites who'd usually mirror the cygwin stack, but failed to keep it updated, which explains your issue regarding a missing/bad setup.ini file.
In any case, you most definitely would never want to actually download the entire cygwin stack, as it also includes past-, current-, and beta-versions.
As far as I know, "local installation" is a remnant of the days where one could acquire CDs containing the cygwin stack, but feel free to correct me if I'm wrong.
I need a line by line debugger for Python. I thought I should start with idle. I went to python.org and downloaded Python 3.2.3 for 64 bit Windows. Most Python documentation states that all installations automatically download IDLE. I installed Python in c:\Python32. I don't see idle.exe or any folder named idle in this folder or any of its subfolders. I then searched Google and tried to see how I could download idle. It seems that there is no separate download for idle--or not one that matches 64 bit.
Can you recommend quickest solution?
Install a different version for Windows 64 bit(will this ruin my 3.2.3 installation?)
Give up on IDLE install a different IDE (tried PyScripter and couldn't figure out how to do line by line debugging in one step. PyScripter is far inferior to Visual Studio but it's free.) Tried pythonfiddle and couldn't figure out how to set breakpoints. Tried pythontutor and couldn't figure out how to set breakpoints.
ANSWER TO THIS QUESTION (I can't post this answer because of low reputation.)
Someone on www.udacity.com provided me with the answer! The answer was that you launch idle by typing pythonw c:\python32\lib\idlelib\idle.py
I would never have thought of this in a million years! I assumed that idle was an executable. Instead, it is a python script.
Also I learned that other versions of python don't ruin your installation, they just end up in a different folder.
I learned about Aptana studio with Pydev and Visual Studio 10 with Python from stack overflow. So I will try these idle applications if idle isn't working for me.