Assalamualaykum,
Berikut adalah proses instalasi scikit-image pasca install python sampai tahap tes.
E:\tesScikit-image>python -V
Python 3.7.4
E:\tesScikit-image>python get-pip.py
Collecting pip
Downloading https://files.pythonhosted.org/packages/62/ca/94d32a6516ed197a491d
17d46595ce58a83cbb2fca280414e57cd86b84dc/pip-19.2.1-py2.py3-none-any.whl (1.4MB)
|████████████████████████████████| 1.4MB 182kB/s
Collecting wheel
Using cached https://files.pythonhosted.org/packages/bb/10/44230dd6bf3563b8f22
7dbf344c908d412ad2ff48066476672f3a72e174e/wheel-0.33.4-py2.py3-none-any.whl
Installing collected packages: pip, wheel
Found existing installation: pip 19.0.3
Uninstalling pip-19.0.3:
Successfully uninstalled pip-19.0.3
Successfully installed pip-19.2.1 wheel-0.33.4
E:\tesScikit-image>pip -V
pip 19.2.1 from c:\users\pcname\appdata\local\programs\python\python37-32\lib\sit
e-packages\pip (python 3.7)
E:\tesScikit-image>pip install scikit-image
Collecting scikit-image
Downloading https://files.pythonhosted.org/packages/68/49/46dc899a804fc4ed19f5
0708c64bcc6e7323529c960721dfe935c279f933/scikit_image-0.15.0-cp37-none-win32.whl
(24.8MB)
|████████████████████████████████| 24.8MB 113kB/s
Collecting imageio>=2.0.1 (from scikit-image)
Downloading https://files.pythonhosted.org/packages/af/0a/943c965d372dae0b1f14
82677d29030ab834351a61a9a632fd62f27f1523/imageio-2.5.0-py3-none-any.whl (3.3MB)
|████████████████████████████████| 3.3MB 192kB/s
Collecting PyWavelets>=0.4.0 (from scikit-image)
Downloading https://files.pythonhosted.org/packages/e2/21/76b982c168b728dceed5
00ae716ac0433989e21ceeaddae184c98ca20fb1/PyWavelets-1.0.3-cp37-none-win32.whl (4
.1MB)
|████████████████████████████████| 4.1MB 198kB/s
Collecting pillow>=4.3.0 (from scikit-image)
Downloading https://files.pythonhosted.org/packages/a1/db/d855fe2625bf3fee24b0
d6138b6d10ebaee9a36b104fa77b71713c1f669f/Pillow-6.1.0-cp37-cp37m-win32.whl (1.7M
B)
|████████████████████████████████| 1.8MB 168kB/s
Collecting networkx>=2.0 (from scikit-image)
Downloading https://files.pythonhosted.org/packages/85/08/f20aef11d4c343b557e5
de6b9548761811eb16e438cee3d32b1c66c8566b/networkx-2.3.zip (1.7MB)
|████████████████████████████████| 1.8MB 126kB/s
Collecting numpy (from imageio>=2.0.1->scikit-image)
Downloading https://files.pythonhosted.org/packages/07/46/656c25b39fc152ea525e
ef14b641993624a6325a8ae815b200de57cff0bc/numpy-1.16.4-cp37-cp37m-win32.whl (10.0
MB)
|████████████████████████████████| 10.0MB 164kB/s
Collecting decorator>=4.3.0 (from networkx>=2.0->scikit-image)
Downloading https://files.pythonhosted.org/packages/5f/88/0075e461560a1e750a0d
cbf77f1d9de775028c37a19a346a6c565a257399/decorator-4.4.0-py2.py3-none-any.whl
Building wheels for collected packages: networkx
Building wheel for networkx (setup.py) ... done
Created wheel for networkx: filename=networkx-2.3-py2.py3-none-any.whl size=15
56414 sha256=cb839e06732ac262baac6634690f8ae7723e9d6612957ea4074d1d252fe7e616
Stored in directory: C:\Users\pcname\AppData\Local\pip\Cache\wheels\de\63\64\36
99be2a9d0ccdb37c7f16329acf3863fd76eda58c39c737af
Successfully built networkx
Installing collected packages: numpy, pillow, imageio, PyWavelets, decorator, ne
tworkx, scikit-image
Successfully installed PyWavelets-1.0.3 decorator-4.4.0 imageio-2.5.0 networkx-2
.3 numpy-1.16.4 pillow-6.1.0 scikit-image-0.15.0
E:\tesScikit-image>pip install scipy
Collecting scipy
Downloading https://files.pythonhosted.org/packages/be/cc/6f7842a4d9aa7f51155f
849185631e1201df255742de84d724ac33bff723/scipy-1.3.0-cp37-cp37m-win32.whl (27.1M
B)
|████████████████████████████████| 27.1MB 142kB/s
Requirement already satisfied: numpy>=1.13.3 in c:\users\pcname\appdata\local\pro
grams\python\python37-32\lib\site-packages (from scipy) (1.16.4)
Installing collected packages: scipy
Successfully installed scipy-1.3.0
E:\tesScikit-image>pip install PyQt5
Collecting PyQt5
Downloading https://files.pythonhosted.org/packages/c9/e3/302602473ad0997d9a86
b69324350bcfd13ac137ffa76806d6f58bda1e1d/PyQt5-5.13.0-5.13.0-cp35.cp36.cp37.cp38
-none-win32.whl (41.9MB)
|████████████████████████████████| 42.0MB 93kB/s
Collecting PyQt5_sip<13,>=4.19.14 (from PyQt5)
Downloading https://files.pythonhosted.org/packages/38/10/4ee0be6337eddcdf9070
659b314416c66b73198505d61995684ff5538e69/PyQt5_sip-4.19.18-cp37-none-win32.whl (
44kB)
|████████████████████████████████| 51kB 297kB/s
Installing collected packages: PyQt5-sip, PyQt5
Successfully installed PyQt5-5.13.0 PyQt5-sip-4.19.18
E:\tesScikit-image>pip install pyqt
Collecting pyqt
ERROR: Could not find a version that satisfies the requirement pyqt (from vers
ions: none)
ERROR: No matching distribution found for pyqt
E:\tesScikit-image>pip install PyQt
Collecting PyQt
ERROR: Could not find a version that satisfies the requirement PyQt (from vers
ions: none)
ERROR: No matching distribution found for PyQt
E:\tesScikit-image>pip3 install pyqt
Collecting pyqt
ERROR: Could not find a version that satisfies the requirement pyqt (from vers
ions: none)
ERROR: No matching distribution found for pyqt
E:\tesScikit-image>python
Python 3.7.4 (tags/v3.7.4:e09359112e, Jul 8 2019, 19:29:22) [MSC v.1916 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from skimage import data
>>> from skimage.viewer import ImageViewer
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\pcname\AppData\Local\Programs\Python\Python37-32\lib\site-packag
es\skimage\viewer\__init__.py", line 2, in <module>
from .viewers import ImageViewer, CollectionViewer
File "C:\Users\pcname\AppData\Local\Programs\Python\Python37-32\lib\site-packag
es\skimage\viewer\viewers\__init__.py", line 1, in <module>
from .core import ImageViewer, CollectionViewer
File "C:\Users\pcname\AppData\Local\Programs\Python\Python37-32\lib\site-packag
es\skimage\viewer\viewers\core.py", line 10, in <module>
from ..widgets import Slider
File "C:\Users\pcname\AppData\Local\Programs\Python\Python37-32\lib\site-packag
es\skimage\viewer\widgets\__init__.py", line 19, in <module>
from .core import *
File "C:\Users\pcname\AppData\Local\Programs\Python\Python37-32\lib\site-packag
es\skimage\viewer\widgets\core.py", line 2, in <module>
from ..utils import RequiredAttr
File "C:\Users\pcname\AppData\Local\Programs\Python\Python37-32\lib\site-packag
es\skimage\viewer\utils\__init__.py", line 1, in <module>
from .core import *
File "C:\Users\pcname\AppData\Local\Programs\Python\Python37-32\lib\site-packag
es\skimage\viewer\utils\core.py", line 4, in <module>
import matplotlib as mpl
ModuleNotFoundError: No module named 'matplotlib'
>>> from skimage.viewer imp^Z
File "<stdin>", line 1
from skimage.viewer imp→
^
SyntaxError: invalid syntax
>>> ^Z
E:\tesScikit-image>pip install matplotlib
Collecting matplotlib
Downloading https://files.pythonhosted.org/packages/71/13/0720e50bd8988299137f
d7e936e4d494b45a473c5fe70d72cd6c1bd79163/matplotlib-3.1.1-cp37-cp37m-win32.whl (
8.9MB)
|████████████████████████████████| 8.9MB 160kB/s
Requirement already satisfied: numpy>=1.11 in c:\users\pcname\appdata\local\progr
ams\python\python37-32\lib\site-packages (from matplotlib) (1.16.4)
Collecting kiwisolver>=1.0.1 (from matplotlib)
Downloading https://files.pythonhosted.org/packages/20/6a/e5fff2ed776ab0cd11d7
c1d5d3e5e549952464a6f1b9084b7ecbd8341352/kiwisolver-1.1.0-cp37-none-win32.whl (4
4kB)
|████████████████████████████████| 51kB 172kB/s
Collecting cycler>=0.10 (from matplotlib)
Downloading https://files.pythonhosted.org/packages/f7/d2/e07d3ebb2bd7af696440
ce7e754c59dd546ffe1bbe732c8ab68b9c834e61/cycler-0.10.0-py2.py3-none-any.whl
Collecting python-dateutil>=2.1 (from matplotlib)
Downloading https://files.pythonhosted.org/packages/41/17/c62faccbfbd163c7f57f
3844689e3a78bae1f403648a6afb1d0866d87fbb/python_dateutil-2.8.0-py2.py3-none-any.
whl (226kB)
|████████████████████████████████| 235kB 252kB/s
Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 (from matplotlib)
Downloading https://files.pythonhosted.org/packages/ff/2c/afc36631a9e0dc9f2b8b
d4c19fa2d330cbe07d6679a1c0910418a200acad/pyparsing-2.4.1.1-py2.py3-none-any.whl
(64kB)
|████████████████████████████████| 71kB 306kB/s
Requirement already satisfied: setuptools in c:\users\pcname\appdata\local\progra
ms\python\python37-32\lib\site-packages (from kiwisolver>=1.0.1->matplotlib) (40
.8.0)
Collecting six (from cycler>=0.10->matplotlib)
Downloading https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe8
98238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Installing collected packages: kiwisolver, six, cycler, python-dateutil, pyparsi
ng, matplotlib
Successfully installed cycler-0.10.0 kiwisolver-1.1.0 matplotlib-3.1.1 pyparsing
-2.4.1.1 python-dateutil-2.8.0 six-1.12.0
E:\tesScikit-image>python
Python 3.7.4 (tags/v3.7.4:e09359112e, Jul 8 2019, 19:29:22) [MSC v.1916 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from skimage import data
>>> from skimage.viewer import ImageViewer
>>> image = data.coins()
>>> viewer = ImageViewer(image)
>>> viewer.show()
Demikian semoga bermanfaat.
Wassalamualaykum
Berikut adalah proses instalasi scikit-image pasca install python sampai tahap tes.
E:\tesScikit-image>python -V
Python 3.7.4
E:\tesScikit-image>python get-pip.py
Collecting pip
Downloading https://files.pythonhosted.org/packages/62/ca/94d32a6516ed197a491d
17d46595ce58a83cbb2fca280414e57cd86b84dc/pip-19.2.1-py2.py3-none-any.whl (1.4MB)
|████████████████████████████████| 1.4MB 182kB/s
Collecting wheel
Using cached https://files.pythonhosted.org/packages/bb/10/44230dd6bf3563b8f22
7dbf344c908d412ad2ff48066476672f3a72e174e/wheel-0.33.4-py2.py3-none-any.whl
Installing collected packages: pip, wheel
Found existing installation: pip 19.0.3
Uninstalling pip-19.0.3:
Successfully uninstalled pip-19.0.3
Successfully installed pip-19.2.1 wheel-0.33.4
E:\tesScikit-image>pip -V
pip 19.2.1 from c:\users\pcname\appdata\local\programs\python\python37-32\lib\sit
e-packages\pip (python 3.7)
E:\tesScikit-image>pip install scikit-image
Collecting scikit-image
Downloading https://files.pythonhosted.org/packages/68/49/46dc899a804fc4ed19f5
0708c64bcc6e7323529c960721dfe935c279f933/scikit_image-0.15.0-cp37-none-win32.whl
(24.8MB)
|████████████████████████████████| 24.8MB 113kB/s
Collecting imageio>=2.0.1 (from scikit-image)
Downloading https://files.pythonhosted.org/packages/af/0a/943c965d372dae0b1f14
82677d29030ab834351a61a9a632fd62f27f1523/imageio-2.5.0-py3-none-any.whl (3.3MB)
|████████████████████████████████| 3.3MB 192kB/s
Collecting PyWavelets>=0.4.0 (from scikit-image)
Downloading https://files.pythonhosted.org/packages/e2/21/76b982c168b728dceed5
00ae716ac0433989e21ceeaddae184c98ca20fb1/PyWavelets-1.0.3-cp37-none-win32.whl (4
.1MB)
|████████████████████████████████| 4.1MB 198kB/s
Collecting pillow>=4.3.0 (from scikit-image)
Downloading https://files.pythonhosted.org/packages/a1/db/d855fe2625bf3fee24b0
d6138b6d10ebaee9a36b104fa77b71713c1f669f/Pillow-6.1.0-cp37-cp37m-win32.whl (1.7M
B)
|████████████████████████████████| 1.8MB 168kB/s
Collecting networkx>=2.0 (from scikit-image)
Downloading https://files.pythonhosted.org/packages/85/08/f20aef11d4c343b557e5
de6b9548761811eb16e438cee3d32b1c66c8566b/networkx-2.3.zip (1.7MB)
|████████████████████████████████| 1.8MB 126kB/s
Collecting numpy (from imageio>=2.0.1->scikit-image)
Downloading https://files.pythonhosted.org/packages/07/46/656c25b39fc152ea525e
ef14b641993624a6325a8ae815b200de57cff0bc/numpy-1.16.4-cp37-cp37m-win32.whl (10.0
MB)
|████████████████████████████████| 10.0MB 164kB/s
Collecting decorator>=4.3.0 (from networkx>=2.0->scikit-image)
Downloading https://files.pythonhosted.org/packages/5f/88/0075e461560a1e750a0d
cbf77f1d9de775028c37a19a346a6c565a257399/decorator-4.4.0-py2.py3-none-any.whl
Building wheels for collected packages: networkx
Building wheel for networkx (setup.py) ... done
Created wheel for networkx: filename=networkx-2.3-py2.py3-none-any.whl size=15
56414 sha256=cb839e06732ac262baac6634690f8ae7723e9d6612957ea4074d1d252fe7e616
Stored in directory: C:\Users\pcname\AppData\Local\pip\Cache\wheels\de\63\64\36
99be2a9d0ccdb37c7f16329acf3863fd76eda58c39c737af
Successfully built networkx
Installing collected packages: numpy, pillow, imageio, PyWavelets, decorator, ne
tworkx, scikit-image
Successfully installed PyWavelets-1.0.3 decorator-4.4.0 imageio-2.5.0 networkx-2
.3 numpy-1.16.4 pillow-6.1.0 scikit-image-0.15.0
E:\tesScikit-image>pip install scipy
Collecting scipy
Downloading https://files.pythonhosted.org/packages/be/cc/6f7842a4d9aa7f51155f
849185631e1201df255742de84d724ac33bff723/scipy-1.3.0-cp37-cp37m-win32.whl (27.1M
B)
|████████████████████████████████| 27.1MB 142kB/s
Requirement already satisfied: numpy>=1.13.3 in c:\users\pcname\appdata\local\pro
grams\python\python37-32\lib\site-packages (from scipy) (1.16.4)
Installing collected packages: scipy
Successfully installed scipy-1.3.0
E:\tesScikit-image>pip install PyQt5
Collecting PyQt5
Downloading https://files.pythonhosted.org/packages/c9/e3/302602473ad0997d9a86
b69324350bcfd13ac137ffa76806d6f58bda1e1d/PyQt5-5.13.0-5.13.0-cp35.cp36.cp37.cp38
-none-win32.whl (41.9MB)
|████████████████████████████████| 42.0MB 93kB/s
Collecting PyQt5_sip<13,>=4.19.14 (from PyQt5)
Downloading https://files.pythonhosted.org/packages/38/10/4ee0be6337eddcdf9070
659b314416c66b73198505d61995684ff5538e69/PyQt5_sip-4.19.18-cp37-none-win32.whl (
44kB)
|████████████████████████████████| 51kB 297kB/s
Installing collected packages: PyQt5-sip, PyQt5
Successfully installed PyQt5-5.13.0 PyQt5-sip-4.19.18
E:\tesScikit-image>pip install pyqt
Collecting pyqt
ERROR: Could not find a version that satisfies the requirement pyqt (from vers
ions: none)
ERROR: No matching distribution found for pyqt
E:\tesScikit-image>pip install PyQt
Collecting PyQt
ERROR: Could not find a version that satisfies the requirement PyQt (from vers
ions: none)
ERROR: No matching distribution found for PyQt
E:\tesScikit-image>pip3 install pyqt
Collecting pyqt
ERROR: Could not find a version that satisfies the requirement pyqt (from vers
ions: none)
ERROR: No matching distribution found for pyqt
E:\tesScikit-image>python
Python 3.7.4 (tags/v3.7.4:e09359112e, Jul 8 2019, 19:29:22) [MSC v.1916 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from skimage import data
>>> from skimage.viewer import ImageViewer
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\pcname\AppData\Local\Programs\Python\Python37-32\lib\site-packag
es\skimage\viewer\__init__.py", line 2, in <module>
from .viewers import ImageViewer, CollectionViewer
File "C:\Users\pcname\AppData\Local\Programs\Python\Python37-32\lib\site-packag
es\skimage\viewer\viewers\__init__.py", line 1, in <module>
from .core import ImageViewer, CollectionViewer
File "C:\Users\pcname\AppData\Local\Programs\Python\Python37-32\lib\site-packag
es\skimage\viewer\viewers\core.py", line 10, in <module>
from ..widgets import Slider
File "C:\Users\pcname\AppData\Local\Programs\Python\Python37-32\lib\site-packag
es\skimage\viewer\widgets\__init__.py", line 19, in <module>
from .core import *
File "C:\Users\pcname\AppData\Local\Programs\Python\Python37-32\lib\site-packag
es\skimage\viewer\widgets\core.py", line 2, in <module>
from ..utils import RequiredAttr
File "C:\Users\pcname\AppData\Local\Programs\Python\Python37-32\lib\site-packag
es\skimage\viewer\utils\__init__.py", line 1, in <module>
from .core import *
File "C:\Users\pcname\AppData\Local\Programs\Python\Python37-32\lib\site-packag
es\skimage\viewer\utils\core.py", line 4, in <module>
import matplotlib as mpl
ModuleNotFoundError: No module named 'matplotlib'
>>> from skimage.viewer imp^Z
File "<stdin>", line 1
from skimage.viewer imp→
^
SyntaxError: invalid syntax
>>> ^Z
E:\tesScikit-image>pip install matplotlib
Collecting matplotlib
Downloading https://files.pythonhosted.org/packages/71/13/0720e50bd8988299137f
d7e936e4d494b45a473c5fe70d72cd6c1bd79163/matplotlib-3.1.1-cp37-cp37m-win32.whl (
8.9MB)
|████████████████████████████████| 8.9MB 160kB/s
Requirement already satisfied: numpy>=1.11 in c:\users\pcname\appdata\local\progr
ams\python\python37-32\lib\site-packages (from matplotlib) (1.16.4)
Collecting kiwisolver>=1.0.1 (from matplotlib)
Downloading https://files.pythonhosted.org/packages/20/6a/e5fff2ed776ab0cd11d7
c1d5d3e5e549952464a6f1b9084b7ecbd8341352/kiwisolver-1.1.0-cp37-none-win32.whl (4
4kB)
|████████████████████████████████| 51kB 172kB/s
Collecting cycler>=0.10 (from matplotlib)
Downloading https://files.pythonhosted.org/packages/f7/d2/e07d3ebb2bd7af696440
ce7e754c59dd546ffe1bbe732c8ab68b9c834e61/cycler-0.10.0-py2.py3-none-any.whl
Collecting python-dateutil>=2.1 (from matplotlib)
Downloading https://files.pythonhosted.org/packages/41/17/c62faccbfbd163c7f57f
3844689e3a78bae1f403648a6afb1d0866d87fbb/python_dateutil-2.8.0-py2.py3-none-any.
whl (226kB)
|████████████████████████████████| 235kB 252kB/s
Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 (from matplotlib)
Downloading https://files.pythonhosted.org/packages/ff/2c/afc36631a9e0dc9f2b8b
d4c19fa2d330cbe07d6679a1c0910418a200acad/pyparsing-2.4.1.1-py2.py3-none-any.whl
(64kB)
|████████████████████████████████| 71kB 306kB/s
Requirement already satisfied: setuptools in c:\users\pcname\appdata\local\progra
ms\python\python37-32\lib\site-packages (from kiwisolver>=1.0.1->matplotlib) (40
.8.0)
Collecting six (from cycler>=0.10->matplotlib)
Downloading https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe8
98238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Installing collected packages: kiwisolver, six, cycler, python-dateutil, pyparsi
ng, matplotlib
Successfully installed cycler-0.10.0 kiwisolver-1.1.0 matplotlib-3.1.1 pyparsing
-2.4.1.1 python-dateutil-2.8.0 six-1.12.0
E:\tesScikit-image>python
Python 3.7.4 (tags/v3.7.4:e09359112e, Jul 8 2019, 19:29:22) [MSC v.1916 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from skimage import data
>>> from skimage.viewer import ImageViewer
>>> image = data.coins()
>>> viewer = ImageViewer(image)
>>> viewer.show()
Demikian semoga bermanfaat.
Wassalamualaykum
No comments:
Post a Comment