Open jesuswasrasta opened 4 years ago
Same thing on Mac
here is osx catalina output
% pip3 install labours
Collecting labours
Using cached labours-10.7.2-py3-none-any.whl (69 kB)
Collecting fastdtw<2.0,>=0.3.2
Using cached fastdtw-0.3.4.tar.gz (133 kB)
Requirement already satisfied: protobuf<4.0,>=3.5.0 in /usr/local/lib/python3.9/site-packages (from labours) (3.14.0)
Collecting munch<3.0,>=2.0
Using cached munch-2.5.0-py2.py3-none-any.whl (10 kB)
Collecting matplotlib<4.0,>=2.0
Using cached matplotlib-3.3.3-cp39-cp39-macosx_10_9_x86_64.whl (8.5 MB)
Collecting lifelines<2.0,>=0.20.0
Using cached lifelines-0.25.6-py3-none-any.whl (347 kB)
Collecting PyYAML<6.0,>=3.0
Using cached PyYAML-5.3.1.tar.gz (269 kB)
Collecting numpy<2.0,>=1.12.0
Using cached numpy-1.19.4-cp39-cp39-macosx_10_9_x86_64.whl (15.4 MB)
Collecting hdbscan<2.0,>=0.8.0
Using cached hdbscan-0.8.26.tar.gz (4.7 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Collecting scipy<1.2.2,>=0.19.0
Using cached scipy-1.2.1.tar.gz (23.1 MB)
Collecting seriate<2.0,>=1.1.2
Using cached seriate-1.1.2-py3-none-any.whl (8.5 kB)
Collecting pandas<1.0,>=0.20.0
Using cached pandas-0.25.3.tar.gz (12.6 MB)
Collecting tqdm<5.0,>=4.3
Using cached tqdm-4.53.0-py2.py3-none-any.whl (70 kB)
Collecting python-dateutil<3.0,>=2.6.0
Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Requirement already satisfied: six>=1.9 in /usr/local/lib/python3.9/site-packages (from protobuf<4.0,>=3.5.0->labours) (1.15.0)
Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.3
Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Collecting cycler>=0.10
Using cached cycler-0.10.0-py2.py3-none-any.whl (6.5 kB)
Collecting kiwisolver>=1.0.1
Using cached kiwisolver-1.3.1-cp39-cp39-macosx_10_9_x86_64.whl (61 kB)
Collecting pillow>=6.2.0
Using cached Pillow-8.0.1-cp39-cp39-macosx_10_10_x86_64.whl (2.2 MB)
Collecting autograd>=1.3
Using cached autograd-1.3.tar.gz (38 kB)
Collecting autograd-gamma>=0.3
Using cached autograd-gamma-0.5.0.tar.gz (4.0 kB)
Collecting patsy>=0.5.0
Using cached patsy-0.5.1-py2.py3-none-any.whl (231 kB)
Collecting scikit-learn>=0.17
Using cached scikit-learn-0.23.2.tar.gz (7.2 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Collecting joblib
Using cached joblib-0.17.0-py3-none-any.whl (301 kB)
Collecting cython>=0.27
Using cached Cython-0.29.21-py2.py3-none-any.whl (974 kB)
ERROR: Could not find a version that satisfies the requirement ortools<8,>=6.7.4973 (from seriate<2.0,>=1.1.2->labours) (from versions: 8.0.8283)
ERROR: No matching distribution found for ortools<8,>=6.7.4973 (from seriate<2.0,>=1.1.2->labours)
I've the same problem on my Ubuntu 20.04 LTS
Same problem
Same problem, sudo apt-get install libatlas-base-dev gfortran
did not solve it.
On Ubuntu 20.04 installing the dependencies below works:
sudo apt-get install gfortran libopenblas-dev liblapack-dev
From https://github.com/scipy/scipy/issues/9005#issuecomment-623528512
Since Pip version of numpy depends on OpenBLAS, we must install OpenBLAS to build NumPy from scratch. This can be skipped using a wheel of numpy package. Details here: https://numpy.org/install/
The NumPy wheels on PyPI, which is what pip installs, are built with OpenBLAS. The OpenBLAS libraries are included in the wheel.
So first run pip3 install wheel
and then install labours. I can install labours by this method using Python 3.7.
Hi, Just tried to install labours on linux and also fails, using python 3.10
Need to change PyYAML dep version to >6
Collecting PyYAML<6.0,>=3.0 (from labours) Downloading PyYAML-5.4.1.tar.gz (175 kB)
I got it working using conda as package manager
I installed gfortran libopenblas-dev liblapack-dev libatlas-base-dev
and tried the workaround in https://github.com/yaml/pyyaml/issues/736 but now pandas and scipy fail to build.
I'm on KDE Neon (Ubuntu 20.04LTS based).
pip3 install labours
fails with the message below (sorry, it's long):Even
pip3 install scipy
fails.I solved installing these dependencies:
sudo apt-get install libatlas-base-dev gfortran