docker-tts
docker-tts copied to clipboard
Cannot uninstall Numpy 1.8.2
When building on Docker for Mac I ran into the following issue.
Requirement already satisfied: setuptools in /usr/local/lib/python2.7/dist-packages (from kiwisolver>=1.0.1->matplotlib) (39.1.0)
Building wheels for collected packages: Theano, bandmat, subprocess32
Running setup.py bdist_wheel for Theano: started
Running setup.py bdist_wheel for Theano: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/a7/8a/6c/aad33a6144dc30cc65d437c444090076136d2c0f289f3ce183
Running setup.py bdist_wheel for bandmat: started
Running setup.py bdist_wheel for bandmat: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/81/36/06/d77eb931d1707b1f4c0c417f9dfe3cde9a7f9a3074c8f9e9ce
Running setup.py bdist_wheel for subprocess32: started
Running setup.py bdist_wheel for subprocess32: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/cf/88/46/7ebf99e844dcd82536d2d361b9e1a0aa4fb4f64abb0c38fa2c
Successfully built Theano bandmat subprocess32
Installing collected packages: numpy, scipy, six, Theano, lxml, cycler, kiwisolver, python-dateutil, pytz, subprocess32, backports.functools-lru-cache, pyparsing, matplotlib, bandmat
Found existing installation: numpy 1.8.2
Cannot uninstall 'numpy'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
The command '/bin/sh -c pip install Theano lxml matplotlib bandmat' returned a non-zero code: 1
here's what helped me to make it work:
RUN pip install --ignore-installed six Theano lxml pyparsing matplotlib bandmat