Hi,
I pure wish; conda package for or-tools (win-64)...
Anaconda python is starting to become popular as a python distribution for science and analysis. It has a packaging system called conda.
A conda package for or-tools would ease installation, especially for windows.
https://store.continuum.io/cshop/anaconda/
http://conda.pydata.org/docs/building/bpp.html
https://anaconda.org/
Definately this. I heard about Anaconda at SciPy 2015 (Keynote: "State of the Tools"). Would be also nice to have a Python 3 version (#63) for Anaconda3.
+1
Just a comment on this.
I have no time to work on anaconda.
One use proposed to do it, so vote for this wish.
On the python3 front, or-tools now supports python3.
Status:
ubuntu: install python3 python3-dev, python3-setuptools. Change
UNIX_PYTHON_VERSION to 3.4 (in 14.04), recompile.
Mac OS X: Install python (3.5.1?), change UNIX_PYTHON_VERSION to 3.5,
tweak manually PYTHON_INC in makefiles/Makefile.unix to reflect the path
(/Library/Framework/...) to the python3 install.
Windows: Install python 3.5.1 (32 or 64 bit), set the correct path in
Makefile.local
Hopefully, everything should work.
--Laurent
Laurent Perron | Operations Research | [email protected] | (33) 1 42 68 53
00
2015-12-03 5:53 GMT+01:00 Luca Fiaschi [email protected]:
+1
—
Reply to this email directly or view it on GitHub
https://github.com/google/or-tools/issues/92#issuecomment-161513789.
does pypi package of ortools not sufficient ?
Also it seems there is a way to wrap pypi package in anaconda
@Mizux as for my part regarding:
"does pypi package of ortools not sufficient ?"
Yes, for me working on my own personal machine it is sufficient. However, I do research in a secure environment with a very bureaucratic process for installing new software. They have an anaconda license, and thus all conda install package requests are automatically approved with any pip install package requests needing a long process of justification (which has a good chance not being approved in the end).
I love using ortools and very much appreciate all the work that goes into this project. Being able to get ortools into my work environment and use it on my dissertation would be awesome.
it seems that creating a conda package from wheel package is straight forward:
+1
+1
it seems that creating a conda package from wheel package is straight forward
Repackaging wheels into conda packages might break the user environment, see for example this issue with the conda-forge tensorflow package.
From the upstream numpy issue:
Mixing numpy wheels with conda should never be done. Conda special-cases numpy and builds all packages against the numpy version that is going to be installed. For pip wheels that's not the case, so that has the potential for serious breakage.
However, unlike tensorflow, ortools wheels do not depend on NumPy (by checking the METADATA), so this should be feasible.
As a conclusion, there may be a process in place to use OR-Tools in Conda.
And I have report of multiple users doing it.
Still, we only support official python releases.