aspuru-guzik-group / phoenics

Phoenics: Bayesian optimization for efficient experiment planning
Apache License 2.0
89 stars 19 forks source link

Can't install in Windows #3

Open hududed opened 5 years ago

hududed commented 5 years ago

Describe the bug Unable to install via conda env create -f environment.yml or pip install phoenics. Using yml file, none of the packages were found (error ResolvePackageNotFound). Using pip, after having numpy and latest microsoft visual studio installed, an error came up building wheel for phoenics (setup.py) and clean install

To Reproduce Steps to reproduce the behavior: In Anaconda Prompt base environment, run conda env create -f environment.yml with yml-file downloaded. Or, in an empty new environment, run pip install phoenics.

Expected behavior Clean installation.

Desktop (please complete the following information):

Additional context Unsure if installation is okay in Windows. Also unsure what the prerequisites are for installation.

Please advise.

maclean-alexander commented 5 years ago

Hello. I am experiencing similar issues when trying to install phoenics. I initially tried to install on Windows as well, but my company's firewall doesn't allow installation of Visual Studio (at the moment) so I've moved to using the unix system on Google Colab.

Calling pip install phoenics from Google Colab, the ERROR: Failed building wheel for phoenics error comes up, followed by the long setup.py error as well.

When trying to pip install directly from the github, the error becomes ERROR: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-req-build-yjso1wjq/

Google Colab comes with Python 3.6.7, but I'm not sure of the rest of the information about the environment.