Installing and running Auto-Sklearn in Windows 10 - python

I am trying to install Auto-Sklearn so I can finish my research on Auto-ML
I tried installing Virtual Box on my computer and use Ubuntu but it made my computer die.
So I had to find another solution
I found this page on how to install AutoSklearn on Windows 10
https://github.com/automl/auto-sklearn/issues/431
Being following this step by step still these issues stopped me
While installing AutoSklearn I got this error
ValueError: SMAC requires Python 3.4 or newer.
when I checked python version it was 3.6.7
Why am I getting this error??
another question,
I am using Spyder from Anaconda on my windows. can I still use that for AutoSklearn? i mean using bash on Windows will allow Anaconda access AutoSklearn??
if not then how can I use Python from bash??

I got success installing auto-sklearn in Windows.
You should try this:
https://medium.com/#gracy.f/automl-for-python-on-windows-314ca8ea6955

Related

Python 3.8.6 says I have a newer version of Python installed, but I don't

I just installed Python 3.9.0 and I found out Pygame hasn't been fully released yet in this Python version. I then tried to uninstall Python and it said it uninstalled with no errors. Then, I tried to reinstall Python 3.8.6, and I got the following error message.
A newer version of Python has already been installed on this device.
I checked the control panel to see if Python 3.9.0 was still on my computer, and it wasn't. The only Python app was the Python launcher, and I got an error message when I tried to uninstall it. If I type py in the start menu a Python command prompt appears, but I can't open it. Can anyone help with this problem?
First check the version of Python by entering to the console using the command "python" in Command Prompt or Terminal to see if Python still shows the 3.9.0 version, if it does go to Control Panel and uninstall it from there, then try restarting the PC as the comment refers. If running the command throws you to the Windows Store try "python3".
If that doesn't work then uninstall Python completely and delete it's folder from the PC, restart and install again. I highly recommend Python installer from their website. To me the store edition gave problems with modules.
If the installer from the website does not work, then try version from the Windows Store, this version will give from the installer even CMD access.
I solved it this way on Windows 11:
First, download the installer of 3.9. Run it, do a repair installation, after that run the installer again, this time choose uninstall.
Next, run the installer of 3.8 to install, installation went successfully.

python3 pip fails to install jupyter on windows 10

I want to install jupyter on Win 10. I have been using python on linux, but this is my first time on Win 10.
when I execute python -m pip install jupyter on administrator, I got errors like this:
The package setup script has attempted to modify files on your system
that are not within the EasyInstall build area, and has been aborted.
This package cannot be safely installed by EasyInstall, and may not
support alternate installation locations even if you run its setup
script by hand. Please inform the package's author and the EasyInstall
maintainers to find out if a fix or workaround is available.
any idea?
I have been able to get around this error by installing Anaconda, uninstalling Python 3.8.0 and installing Python 3.7.5 instead.
The Jupyter installation then ran successfully when I executed pip install jupyter with Git Bash in my C:\ drive using pip 19.2.3 (the default with Python 3.7.5).
For those who encounter this and need to use Python 3.8+, make sure to update you setuptools to version 42.0.0 (or later).
Install a version earlier than python 3.8 and the installation will work. Use CMD.
I had the same problem, I am using 64-bit windows 10 but downloaded the 32-bit python installer because it is the default that appears on the 'downloads' page on the python.org site. Uninstalled python 3.8.1, downloaded the 64-bit installer instead, and then ran 'pip install jupyterlab' using the pip version 19.2.3 that got installed with the 64-bit python instead of upgrading to pip version 19.3.1. So if you are running a 64-bit version of windows, make sure you download the 64-bit python installer!

Python error in installing package 'hpelm' via pip on windows

I am trying to install hpelm on my machine via pip install hpelm but getting this error - image of the error thrown in commandline while installing. I tried lots of things to solve it like:
1.Installing anaconda
2.Uninstalling anaconda and installing python 3.7 (64-bit) from python.org and then installing numpy+mkl, scipy, scikitlearn from the windows binary hosted by Christoph Gohlke (link).
3.Installing numpy, scipy, scikit-learn via pip install 'package_name'
None of the above methods worked. I'm using Windows-10 (64-bit), Python 3.7.1 (64-bit). I have wasted hours on it. Is there something basic that I might be missing? I'm kinda new to this. Please help me install this package.
This is a problem with Python3.7, as seen in this Github thread. It works fine if you try on Python 3.6. I installed it fine on Python3.6.7.

Upgrading python from 32 bit to 64 bit messed up pip (Windows)

I upgraded python from 32-bit version to the 64-bit one, I did this by uninstalling python using add or remove programs and installing a new one from the official installer. While doing so, I also upgraded it from python 3.6 to 3.7.
Now when I try running pip I get the following error
The code execution cannot proceed because python36.dll was not found. Reinstalling the program may fix this problem.
It didn't.
python -m pip works for me but I would still like to fix the original functionality.
This happened with me too and I didn't get any solution to it. But when I installed Python 3.7 then I did not face any problem. And the pip too was working.
Maybe there was an error in the bindings of Python 3.6.

Python Windows 7 - Installation Fail 0x80240017

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 :)

Categories

Resources