I am a complete beginner in coding.
So, I'm new to the programming jargons and processes and installations.
Please excuse me if I have misunderstood something.
I have tried to install, uninstall apps completely .. and reinstall.. and update .. Phew! It feels like a mess to me and I'm a little lost without proper direction.
And I feel that the below issues are a part of this installing, and reinstalling.
Current situation:
I tried to download Anaconda and at the end of the installation process I got an error message saying installation failed and that I had to contact the manufacturer.
But, I saw Anaconda navigator in the apps section!
I had tried to remove all the system files before reinstalling Anaconda.
How do I know if its installed properly?
Related to this: can I download/access Atom and PyCharm environments through this Anaconda navigator instead of downloading these two interpreters separately?
What does that mean to link Conda interpreter in PyCharm? How is this different?
Because when I used PyCharm previously I had issues assigning an interpreter to the PyCharm projects.
I tried to update the Python version on the Mac terminal through the Excode and Homebrew process. And during installation I got a message saying installation had failed.
But, now when I check on the bash terminal for the Python version it shows Python 3.8.8 !
How is this possible even after the error with the installation?
Now, can I uninstall Excode and Homebrew from my computer?
Firstly, my anaconda got corrupted with error along the line of activate.bat is not recognized as internal or external code.
Then, I read about the error, and conclude that the easiest and most common way to solve is to reinstall. So, I reinstalled it 4 times. Everytime, it failed after I entered conda install python=3.6 or conda install python=3.5
I also run it with administrator privileges. Also, I deleted all python and anaconda versions.
Additional information that may be helpful. Before anaconda corrupted for the first time, I was running running conda install tensorflow on python 3.6 or 3.5 version. But while it was running in pycharm's terminal. I accidentally closed Pycharm. That's when I realised my anaconda had been corrupted.
Below is a screenshot of the error.
And this is what happen when I open anaconda prompt after the error appeared.
Any clues or helps to get me in the right direction would help. I really need to make it work. I have deadline coming up next week!!!!
for now, I can use "conda create name_of_env python=3.6." to create virtual environment. But if anyone can provide me with a way to fix this problem. I still want to read about it.
I think i somehow messed up installing packages for python and the whole environment. Whenever i want to install something i run into problems like:
directory is not owned by the current user and the cache has been disabled
Also PyCharm thinks i still need to install referenced packages (no modules. Which is wrong since i can use them. When i click on 'install referenced packages' i get the mentioned warning from above plus:
OSError: [Errno 1] Operation not permitted
Hopefully one of you can help! :(
Best regards
Matthias
Edit: At some point i also installed a venv for python. Maybe this relates to my problem. I'm rly sorry i am new to it and have no idea what i'm doing.
You have an issue with your permissions, if you run
which python
you will see where your current version of python is installed. If you're on osx, I seriously recommend downloading brew here: https://brew.sh/. Just paste that command into your terminal, then you should install python by running:
brew install python
This will give you some later instructions, but the brew bundled version of python is alot more robust than the one that gets bundled with your system. Another note is that if you're using virtual environments, consider using virtualenvwrapper here. This should make things run alot more smoothly for you :)
Hope that helps.
For some reason I messed up my install in python a while ago and I recently tried to repair the install but I am getting an error saying: "The specified account already exists." I then decided to rerun the install package and instead of repairing it decided to delete python so I clicked uninstall and got the error message saying: "There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor." The only package I installed (if it is a package) was VPython and for some reason that does not open whenever I try opening it so I assumed I messed up the download for that also. I decided to go ahead and delete everything in my C directory that had the keyword Python including the Python27 folder but it still gave me the same error.
i have same problem and i use advanced system optimizer and clean registery and repair python then uninstall and it work for me
I can confirm that this works. Use Ccleaner to fix the registry, then use installer to "Repair" 2.7.10 the installation, then use installer to "Remove" the installation.
I tried installing Python 3.5.0 on my laptop, running Windows 7, and it would keep returning with a "Setup failed" with 0x80240017 - Unspecified Error.
I've tried running as admin and with the three different installers on the site.
Here is the log file: http://pastebin.com/9yuXv1qK
I have faced the same issue -unspecified error during installation
Package: python-3.6.0-amd64.exe
Platform: Windows Embedded standard, 64-bit.
Solution that worked for me:
Uninstall the corrupted Python installation.
Install KB2999226.
Install Python as Administrator.
It is throwing that error because it is trying to install that KB (2999.. something) and failing. If you try to install that KB yourself, it might fail too, as it has some minimum OS requirements. In my case, it was Service Pack 1 for Windows 7. After installing Service Pack 1 I was able to install Python 3.5.x fine.
I collected the required update packages to install python on win 8.1
This topc is related to the following one as well:
Python install failed windows 8.1- Error 0x80240017: Failed to execute MSU package
the packages (I did not check the subset of packages, but if you install the all, python can be installed. There are some packages that requires another one before install, the required one is listed here as well.
So if the install says "this upgrade is not suitable for this machine" just go on, install other packages, and when you finished, install the remaining packages that you were not able to install before.
clearcompressionflag.exe
Windows8.1-KB2887595-v2-x64.msu
Windows8.1-KB2898514-x64.msu
Windows8.1-KB2901101-x64.msu
Windows8.1-KB2906956-x64.msu
Windows8.1-KB2908174-x64.msu
Windows8.1-KB2919355-x64.msu
Windows8.1-KB2919442-x64.msu
Windows8.1-KB2932046-x64.msu
Windows8.1-KB2934018-x64.msu
Windows8.1-KB2937592-x64.msu
Windows8.1-KB2938439-x64.msu
Windows8.1-KB2959977-x64.msu
Windows8.1-KB2999226-x64.msu
As it can be seen I used win 8.1 x64. The total size of these packages is about 1 GB. These all are downloadable from microsoft update center.
BR,
George
I am also using win 7 home premium SP1 and encountered this problem, I solved it by:
Go the Windows Update in the Control Panel
Search for the installed update named KB2999226
Uninstall that update
And DONE!!!
Honestly, use this method at your own risk as I am just a newbie in programming and have no idea what that Windows Update was for. But I did it anyways.
I was trying to install Python 3.6.0 on Windows 7 64x laptop and kept getting stuck on installing KB2999226. So, I read what others did on this forum(Fabio Consultant). A previous post mentioned Visual Studio. So, I went to Programs and Features (where you Uninstall a Program), right clicked on the most recent install of Visual Studio, selected "Change" and did a "repair". Once that completed, I installed Python as an Administrator (right click on the .exe file and "run as Administrator") and Python installed without a problem. I didn't see that the install tried to install KB2999226.
Details on KB2999226 (https://support.microsoft.com/en-us/kb/2999226). It looks like repairing Visual Studio corrects issues with CRT. Someone correct me if Im wrong.
Hope this helps.
Just in case are facing it with Windows 7 for PCs:
Very simple, reinstall Windows Service Pack and repair the Visual C++ Redistributable and bingo, the error disappears.
In case of difficulties, uninstall all the software involved (Visual C++, etc.) and reinstall as the proper sequence.
In my case, I have an application installed in my computer which has python installation in it. I was not able to search it from normal PC search. Just try installing "everything" software if you have complex installation of software like me.
Once you get the path for python installation, add this path to environment (System's) variable and you are good to go.
Go to https://www.microsoft.com/en-us/download/details.aspx?id=5842
Click Download button and Scroll down to see all files
Select windows6.1-KB976932-X86.exe (32-bit) or windows6.1-KB976932-X64.exe (64-bit).
Click Next
Install this and then install Python
Happy Coding :)