SheffieldML / GPyOpt

Gaussian Process Optimization using GPy
BSD 3-Clause "New" or "Revised" License
927 stars 261 forks source link

How to install GPyOpt in Windows 10 #110

Open debipe20 opened 7 years ago

debipe20 commented 7 years ago

I was trying to install GPyOpt package by using pip command at my python 27/scripts folder. But it doesn't work. It states the following:

from numpy._distributor_init import NUMPY_MKL # requires numpy+mkl

ImportError: cannot import name NUMPY_MKL

Command "python setup.py egg_info" failed with error code 1 in c:\users\debip\appdata\local\temp\pip-build-rsio3n\gpyopt\ C:\Python27\Scripts>

Can you suggest me something? I am using python 2.7(32bit). I will also like to link GPyOpt with anaconda

tinutjoy commented 6 years ago

Here is a pointer which might help you, https://stackoverflow.com/questions/37267399/importerror-cannot-import-name-numpy-mkl. I have installed GPyOpt in windows 10 under Ananaconda python 3.5 without any problem.

apaleyes commented 6 years ago

Hey @debipe20 , did you have any luck following the tip from @tinutjoy ?

debipe20 commented 6 years ago

Hello, I have tried it but unfortunately it didn't work for me.

Regards, Debashis Das Graduate Assistant Systems and Industrial Engineering The University of Arizona

On Mon, Nov 6, 2017 at 6:57 AM, Andrei Paleyes notifications@github.com wrote:

Hey @debipe20 https://github.com/debipe20 , did you have any luck following the tip from @tinutjoy https://github.com/tinutjoy ?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/SheffieldML/GPyOpt/issues/110#issuecomment-342155569, or mute the thread https://github.com/notifications/unsubscribe-auth/AdtX-7fjDb0np_aSkdoSxS2kMF3E2O9Hks5szxAvgaJpZM4PPUns .

tinutjoy commented 6 years ago

Hey @debipe20 ,

Are you using anaconda environment? If you are using anaconda, create a python 3.x virtual environment under it and install the package there.

However, I have installed it on both 2.7 and 3.x without any issues. Direct might not work on python 3.x but you can use any other optimization algorithm.

Cheers, Tinu

debipe20 commented 6 years ago

Currently, I am using python 2.7. I will try one more time. Thanks for the assistance.

Regards, Debashis Das Graduate Assistant Systems and Industrial Engineering The University of Arizona

On Mon, Nov 6, 2017 at 10:30 PM, Tinu notifications@github.com wrote:

Hey @debipe20 https://github.com/debipe20 ,

Are you using anaconda environment? If you are using anaconda, create a python 3.x virtual environment under it and install the package there.

However, I have installed it on both 2.7 and 3.x.

Cheers, Tinu

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/SheffieldML/GPyOpt/issues/110#issuecomment-342379830, or mute the thread https://github.com/notifications/unsubscribe-auth/AdtX-53mB6LIyWjJZOY2IAzB5p_4HjbAks5sz-rdgaJpZM4PPUns .

javiergonzalezh commented 6 years ago

Hi @debipe20, did you managed to install?

XRarach commented 6 years ago

Hi, do you have these 3 dependencies already installed?

GPy (>=1.0.8) numpy (>=1.7) scipy (>=0.16)

pip install GPy pip install numpy pip install scipy

debipe20 commented 6 years ago

Yes, I have installed GPy (>=1.0.8) numpy (>=1.7) scipy (>=0.16).

Regards, Debashis Das Graduate Assistant Systems and Industrial Engineering The University of Arizona

On Mon, Dec 4, 2017 at 11:19 AM, XRarach notifications@github.com wrote:

Hi, do you have these 3 dependencies already installed?

GPy (>=1.0.8) numpy (>=1.7) scipy (>=0.16)

pip install GPy pip install numpy pip install scipy

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/SheffieldML/GPyOpt/issues/110#issuecomment-349054377, or mute the thread https://github.com/notifications/unsubscribe-auth/AdtX-5gVVsXp7DmFgyiKgD0UGe0fUCKlks5s9DetgaJpZM4PPUns .