Iklan1

Sunday, July 21, 2019

TIPS : Install Pip Python, Scikit Image Pada Windows

Install scikit_image pada windows :

software yang dibutuhkan
python
pip (peng-install paket python)untuk menginstal scikit_image
python package scikit_image yang sesuai versi python
python package scipy yang sesuai versi python

Jika setelah install pyhton command pip tidak bekerja
D:\Download>pip install scikit_image-0.15.0-cp38-cp38m-win_amd64.whl
scikit_image-0.15.0-cp38-cp38m-win_amd64.whl is not a supported wheel on this platform.
You are using pip version 19.0.3, however version 19.1.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
lakukan upgrade

D:\Download>python -m pip install --upgrade pip
Collecting pip
  Downloading https://files.pythonhosted.org/packages/5c/e0/be401c003291b56efc55aeba6a80ab790d3d4cece2778288d65323009420/pip-19.1.1-py2.py3-none-any.whl (1.4MB)
    100% |████████████████████████████████| 1.4MB 5.8MB/s
Installing collected packages: pip
  Found existing installation: pip 19.0.3
    Uninstalling pip-19.0.3:
      Successfully uninstalled pip-19.0.3
Successfully installed pip-19.1.1

jika sudah upgrade muncul error

D:\Download>pip install scikit_image-0.15.0-cp38-cp38m-win_amd64.whl
ERROR: scikit_image-0.15.0-cp38-cp38m-win_amd64.whl is not a supported wheel on this platform.

lakukan dengan get-py linknya di https://bootstrap.pypa.io/get-pip.py
D:\Download>python get-pip.py
Collecting pip
  Using cached https://files.pythonhosted.org/packages/5c/e0/be401c003291b56efc55aeba6a80ab790d3d4cece2778288d65323009420/pip-19.1.1-py2.py3-none-any.whl
Collecting wheel
  Downloading https://files.pythonhosted.org/packages/bb/10/44230dd6bf3563b8f227dbf344c908d412ad2ff48066476672f3a72e174e/wheel-0.33.4-py2.py3-none-any.whl
Installing collected packages: pip, wheel
  Found existing installation: pip 19.1.1
    Uninstalling pip-19.1.1:
      Successfully uninstalled pip-19.1.1
Successfully installed pip-19.1.1 wheel-0.33.4

jika masih muncul

D:\Download>pip install scipy-1.3.0-cp37-cp37m-win_amd64.whl
ERROR: scipy-1.3.0-cp37-cp37m-win_amd64.whl is not a supported wheel on this platform.

lakukan instal scipy yang sesuai paket pyhton-nya dan platformnya (32 atau 64 bit)
Processing d:\download\scipy-1.3.0-cp37-cp37m-win32.whl
Collecting numpy>=1.13.3 (from scipy==1.3.0)
  Downloading https://files.pythonhosted.org/packages/07/46/656c25b39fc152ea525eef14b641993624a6325a8ae815b200de57cff0bc/numpy-1.16.4-cp37-cp37m-win32.whl (10.0MB)
     |████████████████████████████████| 10.0MB 544kB/s
Installing collected packages: numpy, scipy
Successfully installed numpy-1.16.4 scipy-1.3.0

D:\Download>pip install scikit_image-0.15.0-cp37-cp37m-win32.whl
Processing d:\download\scikit_image-0.15.0-cp37-cp37m-win32.whl
Collecting imageio>=2.0.1 (from scikit-image==0.15.0)
  Downloading https://files.pythonhosted.org/packages/af/0a/943c965d372dae0b1f1482677d29030ab834351a61a9a632fd62f27f1523/imageio-2.5.0-py3-none-any.whl (3.3MB)
     |████████████████████████████████| 3.3MB 2.2MB/s
Collecting pillow>=4.3.0 (from scikit-image==0.15.0)
  Downloading https://files.pythonhosted.org/packages/a1/db/d855fe2625bf3fee24b0d6138b6d10ebaee9a36b104fa77b71713c1f669f/Pillow-6.1.0-cp37-cp37m-win32.whl (1.7MB)
     |████████████████████████████████| 1.8MB ...
Collecting networkx>=2.0 (from scikit-image==0.15.0)
  Downloading https://files.pythonhosted.org/packages/85/08/f20aef11d4c343b557e5de6b9548761811eb16e438cee3d32b1c66c8566b/networkx-2.3.zip (1.7MB)
     |████████████████████████████████| 1.8MB ...
Collecting PyWavelets>=0.4.0 (from scikit-image==0.15.0)
  Downloading https://files.pythonhosted.org/packages/e2/21/76b982c168b728dceed500ae716ac0433989e21ceeaddae184c98ca20fb1/PyWavelets-1.0.3-cp37-none-win32.whl (4.1MB)
     |████████████████████████████████| 4.1MB 6.4MB/s
Requirement already satisfied: numpy in c:\users\iocn-2017-pc-025\appdata\local\programs\python\python37-32\lib\site-packages (from imageio>=2.0.1->scikit-image==0.15.0) (1.16.4)
Collecting decorator>=4.3.0 (from networkx>=2.0->scikit-image==0.15.0)
  Downloading https://files.pythonhosted.org/packages/5f/88/0075e461560a1e750a0dcbf77f1d9de775028c37a19a346a6c565a257399/decorator-4.4.0-py2.py3-none-any.whl
Building wheels for collected packages: networkx
  Building wheel for networkx (setup.py) ... done
  Stored in directory: C:\Users\IOCN-2017-PC-025\AppData\Local\pip\Cache\wheels\de\63\64\3699be2a9d0ccdb37c7f16329acf3863fd76eda58c39c737af
Successfully built networkx
Installing collected packages: pillow, imageio, decorator, networkx, PyWavelets, scikit-image
Successfully installed PyWavelets-1.0.3 decorator-4.4.0 imageio-2.5.0 networkx-2.3 pillow-6.1.0 scikit-image-0.15.0

Semoga bermanfaat. Thanks

No comments:

Post a Comment