or-tools python - challenging installation

260 views
Skip to first unread message

Gil-Arnaud COCHE

unread,
Sep 13, 2017, 12:02:07 AM9/13/17
to or-tools-discuss
Hey guys,

I am back... I thought python would be easier, but I am having an issue again. Actually issues.

(i) First I tried installing from source. I got a version issue for libstdc++6 and after few tricks tested from forums, etc, I resigned myself to install from binaries.
(ii) With binaries, I get another error (see below).

Anyone would have a clue of what I am doing wrong?

Many thanks in advance,
Gil-Arnaud



python setup.py install --user
running install
running bdist_egg
running egg_info
creating ortools_examples.egg-info
writing requirements to ortools_examples.egg-info/requires.txt
writing ortools_examples.egg-info/PKG-INFO
writing top-level names to ortools_examples.egg-info/top_level.txt
writing dependency_links to ortools_examples.egg-info/dependency_links.txt
writing manifest file 'ortools_examples.egg-info/SOURCES.txt'
reading manifest file 'ortools_examples.egg-info/SOURCES.txt'
writing manifest file 'ortools_examples.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
warning: install_lib: 'build/lib.linux-x86_64-2.7' does not exist -- no Python modules to install

creating build
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying ortools_examples.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying ortools_examples.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying ortools_examples.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying ortools_examples.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying ortools_examples.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating dist
creating 'dist/ortools_examples-6.3.4431-py2.7.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing ortools_examples-6.3.4431-py2.7.egg
Removing /home/gacoche/.local/lib/python2.7/site-packages/ortools_examples-6.3.4431-py2.7.egg
Copying ortools_examples-6.3.4431-py2.7.egg to /home/gacoche/.local/lib/python2.7/site-packages
Removing ortools-examples 6.4.4495 from easy-install.pth file
Adding ortools-examples 6.3.4431 to easy-install.pth file

Installed /home/gacoche/.local/lib/python2.7/site-packages/ortools_examples-6.3.4431-py2.7.egg
Processing dependencies for ortools-examples==6.3.4431
Searching for ortools==6.3.4431
Reading https://pypi.python.org/simple/ortools/
No local packages or download links found for ortools==6.3.4431
error: Could not find suitable distribution for Requirement.parse('ortools==6.3.4431')
Makefile:51: recipe for target 'install' failed
make: *** [install] Error 1

Laurent Perron

unread,
Sep 13, 2017, 1:11:28 AM9/13/17
to or-tools-discuss

Please use version 6.4


--
You received this message because you are subscribed to the Google Groups "or-tools-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to or-tools-discu...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Evgeni Makarov

unread,
Sep 28, 2017, 6:22:53 AM9/28/17
to or-tools-discuss
try installing via pip. no issues for now with pip installation

среда, 13 сентября 2017 г., 12:02:07 UTC+8 пользователь Gil-Arnaud COCHE написал:
Reply all
Reply to author
Forward
0 new messages