Update and rename MorphoCut_Installation.sh to MorphoCut_Installation.txt
This commit is contained in:
parent
b45e0babfe
commit
ea5163d37b
|
@ -17,19 +17,6 @@ Collecting git+https://github.com/morphocut/morphocut.git
|
||||||
----------------------------------------
|
----------------------------------------
|
||||||
Command "/usr/bin/python -m pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-e4DHrk --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple --extra-index-url https://www.piwheels.org/simple -- setuptools wheel" failed with error code 1 in None
|
Command "/usr/bin/python -m pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-e4DHrk --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple --extra-index-url https://www.piwheels.org/simple -- setuptools wheel" failed with error code 1 in None
|
||||||
|
|
||||||
#########################################################
|
|
||||||
Test if MorphoCut is properly installed on Python3.7
|
|
||||||
#########################################################
|
|
||||||
|
|
||||||
$ python3.7
|
|
||||||
Python 3.7.3 (default, Apr 3 2019, 05:39:12)
|
|
||||||
[GCC 8.2.0] on linux
|
|
||||||
Type "help", "copyright", "credits" or "license" for more information.
|
|
||||||
>>> from morphocut import Call, Pipeline
|
|
||||||
Traceback (most recent call last):
|
|
||||||
File "<stdin>", line 1, in <module>
|
|
||||||
ModuleNotFoundError: No module named 'morphocut'
|
|
||||||
|
|
||||||
#########################################################
|
#########################################################
|
||||||
Installation of MorphoCut packaged on PyPI via pip
|
Installation of MorphoCut packaged on PyPI via pip
|
||||||
#########################################################
|
#########################################################
|
||||||
|
@ -179,147 +166,6 @@ Installing collected packages: PyWavelets, decorator, networkx, imageio, scikit-
|
||||||
|
|
||||||
----------------------------------------
|
----------------------------------------
|
||||||
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-vrivsnzz/scipy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-s4uxcq_l/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-install-vrivsnzz/scipy/
|
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-vrivsnzz/scipy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-s4uxcq_l/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-install-vrivsnzz/scipy/
|
||||||
|
|
||||||
#########################################################
|
|
||||||
Installation of MorphoCut packaged on PyPI via pip3 using sudo
|
|
||||||
#########################################################
|
|
||||||
|
|
||||||
$ sudo pip3 install morphocut
|
|
||||||
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
|
|
||||||
Collecting morphocut
|
|
||||||
Downloading https://files.pythonhosted.org/packages/7e/c7/1addaf867234dd30db6d1f4bf8d3b685d93b743023a863814451abd5cef8/morphocut-0.1.1-py3-none-any.whl
|
|
||||||
Collecting scikit-image>=0.16.0 (from morphocut)
|
|
||||||
Downloading https://www.piwheels.org/simple/scikit-image/scikit_image-0.16.2-cp37-cp37m-linux_armv7l.whl (39.7MB)
|
|
||||||
100% |████████████████████████████████| 39.7MB 10kB/s
|
|
||||||
Collecting tqdm (from morphocut)
|
|
||||||
Downloading https://files.pythonhosted.org/packages/72/c9/7fc20feac72e79032a7c8138fd0d395dc6d8812b5b9edf53c3afd0b31017/tqdm-4.41.1-py2.py3-none-any.whl (56kB)
|
|
||||||
100% |████████████████████████████████| 61kB 839kB/s
|
|
||||||
Requirement already satisfied: numpy in /usr/lib/python3/dist-packages (from morphocut) (1.16.2)
|
|
||||||
Collecting pandas (from morphocut)
|
|
||||||
Downloading https://www.piwheels.org/simple/pandas/pandas-0.25.3-cp37-cp37m-linux_armv7l.whl (33.1MB)
|
|
||||||
100% |████████████████████████████████| 33.1MB 12kB/s
|
|
||||||
Collecting scipy (from morphocut)
|
|
||||||
Downloading https://files.pythonhosted.org/packages/04/ab/e2eb3e3f90b9363040a3d885ccc5c79fe20c5b8a3caa8fe3bf47ff653260/scipy-1.4.1.tar.gz (24.6MB)
|
|
||||||
100% |████████████████████████████████| 24.6MB 17kB/s
|
|
||||||
Installing build dependencies ... done
|
|
||||||
Requirement already satisfied: pillow>=4.3.0 in /usr/lib/python3/dist-packages (from scikit-image>=0.16.0->morphocut) (5.4.1)
|
|
||||||
Collecting PyWavelets>=0.4.0 (from scikit-image>=0.16.0->morphocut)
|
|
||||||
Downloading https://www.piwheels.org/simple/pywavelets/PyWavelets-1.1.1-cp37-cp37m-linux_armv7l.whl (6.1MB)
|
|
||||||
100% |████████████████████████████████| 6.1MB 51kB/s
|
|
||||||
Collecting networkx>=2.0 (from scikit-image>=0.16.0->morphocut)
|
|
||||||
Downloading https://files.pythonhosted.org/packages/41/8f/dd6a8e85946def36e4f2c69c84219af0fa5e832b018c970e92f2ad337e45/networkx-2.4-py3-none-any.whl (1.6MB)
|
|
||||||
100% |████████████████████████████████| 1.6MB 247kB/s
|
|
||||||
Collecting imageio>=2.3.0 (from scikit-image>=0.16.0->morphocut)
|
|
||||||
Downloading https://files.pythonhosted.org/packages/1a/de/f7f985018f462ceeffada7f6e609919fbcc934acd9301929cba14bc2c24a/imageio-2.6.1-py3-none-any.whl (3.3MB)
|
|
||||||
100% |████████████████████████████████| 3.3MB 123kB/s
|
|
||||||
Collecting pytz>=2017.2 (from pandas->morphocut)
|
|
||||||
Downloading https://files.pythonhosted.org/packages/e7/f9/f0b53f88060247251bf481fa6ea62cd0d25bf1b11a87888e53ce5b7c8ad2/pytz-2019.3-py2.py3-none-any.whl (509kB)
|
|
||||||
100% |████████████████████████████████| 512kB 793kB/s
|
|
||||||
Collecting python-dateutil>=2.6.1 (from pandas->morphocut)
|
|
||||||
Downloading https://files.pythonhosted.org/packages/d4/70/d60450c3dd48ef87586924207ae8907090de0b306af2bce5d134d78615cb/python_dateutil-2.8.1-py2.py3-none-any.whl (227kB)
|
|
||||||
100% |████████████████████████████████| 235kB 1.5MB/s
|
|
||||||
Collecting decorator>=4.3.0 (from networkx>=2.0->scikit-image>=0.16.0->morphocut)
|
|
||||||
Downloading https://files.pythonhosted.org/packages/8f/b7/f329cfdc75f3d28d12c65980e4469e2fa373f1953f5df6e370e84ea2e875/decorator-4.4.1-py2.py3-none-any.whl
|
|
||||||
Requirement already satisfied: six>=1.5 in /usr/lib/python3/dist-packages (from python-dateutil>=2.6.1->pandas->morphocut) (1.12.0)
|
|
||||||
Building wheels for collected packages: scipy
|
|
||||||
Running setup.py bdist_wheel for scipy ... error
|
|
||||||
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-ki6gsz87/scipy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-sfawkwpg --python-tag cp37:
|
|
||||||
Traceback (most recent call last):
|
|
||||||
File "/tmp/pip-build-env-p6ljhcs4/lib/python3.7/site-packages/numpy/core/__init__.py", line 16, in <module>
|
|
||||||
from . import multiarray
|
|
||||||
ImportError: libf77blas.so.3: cannot open shared object file: No such file or directory
|
|
||||||
|
|
||||||
During handling of the above exception, another exception occurred:
|
|
||||||
|
|
||||||
Traceback (most recent call last):
|
|
||||||
File "<string>", line 1, in <module>
|
|
||||||
File "/tmp/pip-install-ki6gsz87/scipy/setup.py", line 540, in <module>
|
|
||||||
setup_package()
|
|
||||||
File "/tmp/pip-install-ki6gsz87/scipy/setup.py", line 516, in setup_package
|
|
||||||
from numpy.distutils.core import setup
|
|
||||||
File "/tmp/pip-build-env-p6ljhcs4/lib/python3.7/site-packages/numpy/__init__.py", line 142, in <module>
|
|
||||||
from . import add_newdocs
|
|
||||||
File "/tmp/pip-build-env-p6ljhcs4/lib/python3.7/site-packages/numpy/add_newdocs.py", line 13, in <module>
|
|
||||||
from numpy.lib import add_newdoc
|
|
||||||
File "/tmp/pip-build-env-p6ljhcs4/lib/python3.7/site-packages/numpy/lib/__init__.py", line 8, in <module>
|
|
||||||
from .type_check import *
|
|
||||||
File "/tmp/pip-build-env-p6ljhcs4/lib/python3.7/site-packages/numpy/lib/type_check.py", line 11, in <module>
|
|
||||||
import numpy.core.numeric as _nx
|
|
||||||
File "/tmp/pip-build-env-p6ljhcs4/lib/python3.7/site-packages/numpy/core/__init__.py", line 26, in <module>
|
|
||||||
raise ImportError(msg)
|
|
||||||
ImportError:
|
|
||||||
Importing the multiarray numpy extension module failed. Most
|
|
||||||
likely you are trying to import a failed build of numpy.
|
|
||||||
If you're working with a numpy git repo, try `git clean -xdf` (removes all
|
|
||||||
files not under version control). Otherwise reinstall numpy.
|
|
||||||
|
|
||||||
Original error was: libf77blas.so.3: cannot open shared object file: No such file or directory
|
|
||||||
|
|
||||||
|
|
||||||
----------------------------------------
|
|
||||||
Failed building wheel for scipy
|
|
||||||
Running setup.py clean for scipy
|
|
||||||
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-ki6gsz87/scipy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" clean --all:
|
|
||||||
|
|
||||||
`setup.py clean` is not supported, use one of the following instead:
|
|
||||||
|
|
||||||
- `git clean -xdf` (cleans all files)
|
|
||||||
- `git clean -Xdf` (cleans all versioned files, doesn't touch
|
|
||||||
files that aren't checked into the git repo)
|
|
||||||
|
|
||||||
Add `--force` to your command to use it anyway if you must (unsupported).
|
|
||||||
|
|
||||||
|
|
||||||
----------------------------------------
|
|
||||||
Failed cleaning build dir for scipy
|
|
||||||
Failed to build scipy
|
|
||||||
Installing collected packages: PyWavelets, decorator, networkx, imageio, scikit-image, tqdm, pytz, python-dateutil, pandas, scipy, morphocut
|
|
||||||
Running setup.py install for scipy ... error
|
|
||||||
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-ki6gsz87/scipy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-hdghzezx/install-record.txt --single-version-externally-managed --compile:
|
|
||||||
|
|
||||||
Note: if you need reliable uninstall behavior, then install
|
|
||||||
with pip instead of using `setup.py install`:
|
|
||||||
|
|
||||||
- `pip install .` (from a git repo or downloaded source
|
|
||||||
release)
|
|
||||||
- `pip install scipy` (last SciPy release on PyPI)
|
|
||||||
|
|
||||||
|
|
||||||
Traceback (most recent call last):
|
|
||||||
File "/tmp/pip-build-env-p6ljhcs4/lib/python3.7/site-packages/numpy/core/__init__.py", line 16, in <module>
|
|
||||||
from . import multiarray
|
|
||||||
ImportError: libf77blas.so.3: cannot open shared object file: No such file or directory
|
|
||||||
|
|
||||||
During handling of the above exception, another exception occurred:
|
|
||||||
|
|
||||||
Traceback (most recent call last):
|
|
||||||
File "<string>", line 1, in <module>
|
|
||||||
File "/tmp/pip-install-ki6gsz87/scipy/setup.py", line 540, in <module>
|
|
||||||
setup_package()
|
|
||||||
File "/tmp/pip-install-ki6gsz87/scipy/setup.py", line 516, in setup_package
|
|
||||||
from numpy.distutils.core import setup
|
|
||||||
File "/tmp/pip-build-env-p6ljhcs4/lib/python3.7/site-packages/numpy/__init__.py", line 142, in <module>
|
|
||||||
from . import add_newdocs
|
|
||||||
File "/tmp/pip-build-env-p6ljhcs4/lib/python3.7/site-packages/numpy/add_newdocs.py", line 13, in <module>
|
|
||||||
from numpy.lib import add_newdoc
|
|
||||||
File "/tmp/pip-build-env-p6ljhcs4/lib/python3.7/site-packages/numpy/lib/__init__.py", line 8, in <module>
|
|
||||||
from .type_check import *
|
|
||||||
File "/tmp/pip-build-env-p6ljhcs4/lib/python3.7/site-packages/numpy/lib/type_check.py", line 11, in <module>
|
|
||||||
import numpy.core.numeric as _nx
|
|
||||||
File "/tmp/pip-build-env-p6ljhcs4/lib/python3.7/site-packages/numpy/core/__init__.py", line 26, in <module>
|
|
||||||
raise ImportError(msg)
|
|
||||||
ImportError:
|
|
||||||
Importing the multiarray numpy extension module failed. Most
|
|
||||||
likely you are trying to import a failed build of numpy.
|
|
||||||
If you're working with a numpy git repo, try `git clean -xdf` (removes all
|
|
||||||
files not under version control). Otherwise reinstall numpy.
|
|
||||||
|
|
||||||
Original error was: libf77blas.so.3: cannot open shared object file: No such file or directory
|
|
||||||
|
|
||||||
|
|
||||||
----------------------------------------
|
|
||||||
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-ki6gsz87/scipy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-hdghzezx/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-ki6gsz87/scipy/
|
|
||||||
|
|
||||||
#########################################################
|
#########################################################
|
||||||
Installation of Scipy using sudo apt-get
|
Installation of Scipy using sudo apt-get
|
||||||
#########################################################
|
#########################################################
|
Loading…
Reference in a new issue