Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wish: conda package for or-tools #92

Closed
petrushy opened this issue Sep 2, 2015 · 10 comments
Closed

wish: conda package for or-tools #92

petrushy opened this issue Sep 2, 2015 · 10 comments
Assignees
Labels
Feature Request Missing Feature/Wrapper Lang: Python Python wrapper issue
Milestone

Comments

@petrushy
Copy link

petrushy commented Sep 2, 2015

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/

@hastebrot
Copy link

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.

@lfiaschi
Copy link

lfiaschi commented Dec 3, 2015

+1

@lperron
Copy link
Collaborator

lperron commented Dec 11, 2015

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
#92 (comment).

@Mizux Mizux added the Feature Request Missing Feature/Wrapper label Jan 9, 2018
@Mizux
Copy link
Collaborator

Mizux commented Jan 9, 2018

does pypi package of ortools not sufficient ?

Also it seems there is a way to wrap pypi package in anaconda

@Mizux Mizux added the Lang: Python Python wrapper issue label Mar 12, 2018
@jGaboardi
Copy link

jGaboardi commented Aug 13, 2018

@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.

@Mizux
Copy link
Collaborator

Mizux commented Sep 7, 2018

it seems that creating a conda package from wheel package is straight forward:

https://github.com/conda/conda-recipes/blob/a796713805ac8eceed191c0cb475b51f4d00718c/python/tensorflow/build.sh

@dublx
Copy link

dublx commented Sep 21, 2018

+1

1 similar comment
@swayson
Copy link

swayson commented Oct 18, 2018

+1

@astrojuanlu
Copy link

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.

@lperron
Copy link
Collaborator

lperron commented Aug 6, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Missing Feature/Wrapper Lang: Python Python wrapper issue
Projects
None yet
Development

No branches or pull requests

9 participants