Closed manuel-koch closed 5 years ago
@manuel-koch The error is about installing ortools
. The versions which your pip suggests are quite old, because the most recent one is 7.0.6546. Clear pip cache? Sometimes it is stuck.
Closing this since this is a problem with a third-party package.
Hm... pip install --no-cache-dir labours
failed with same error.
Anything else I can try ?
Seems like the latest version of ortools
is not available for my environment:
manuelkoch [~/tmp]
$ pip search ortools
ortools (7.0.6546) - Google OR-Tools python libraries and modules
manuelkoch [~/tmp]
$ pip install ortools
Collecting ortools
Downloading https://files.pythonhosted.org/packages/08/93/f3f35a5023a9b54d945f67a97e92e1d365ffa629e3eae1751963be03cc9c/ortools-6.7.4973-cp36-cp36m-macosx_10_13_x86_64.whl (7.6MB)
100% |████████████████████████████████| 7.6MB 4.6MB/s
Collecting six>=1.10 (from ortools)
Downloading https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Collecting protobuf>=3.5.1 (from ortools)
Downloading https://files.pythonhosted.org/packages/46/1e/c481d59760cded074d89ff51c99381708111c550ff698934cc296d27df2c/protobuf-3.7.1-cp36-cp36m-macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (1.3MB)
100% |████████████████████████████████| 1.3MB 11.6MB/s
Requirement already satisfied: setuptools in /Users/manuelkoch/.pyenv/versions/3.6.4/envs/hercules-3.6.4/lib/python3.6/site-packages (from protobuf>=3.5.1->ortools) (28.8.0)
Installing collected packages: six, protobuf, ortools
Successfully installed ortools-6.7.4973 protobuf-3.7.1 six-1.12.0
manuelkoch [~/tmp]
$ pip install ortools==7.0.6546
Collecting ortools==7.0.6546
Could not find a version that satisfies the requirement ortools==7.0.6546 (from versions: 6.5.4527, 6.6.4656, 6.6.4659, 6.7.4957, 6.7.4973)
No matching distribution found for ortools==7.0.6546
Created a ticket in ortools: https://github.com/google/or-tools/issues/1164
ortools doesn't seem to support Python 3.6 ( on Mac OSX ) currently.
@manuel-koch I will set the lower bound to 6.7.4973, hope it will help.
Done. seriate==1.0.1
has been published, you can force it by pip install seriate==1.0.1
and then labours
should install.
Thanks ! That fixed my install problem :-)
The issue has been resolved in ortools
too ( see ticket mentioned above ), thus your workaround may not be needed for python 3.6.4.
With latest ortools
package I was able to install labours
without your suggested workaround from scratch.
Anyway thanks for your quick response !
I'm trying to install labours as suggested by the README:
My env is
Any help appreciated !