Install Pyicu in python 3.x

前端 未结 2 1406
忘掉有多难
忘掉有多难 2021-02-19 10:13

My system is Windows 10 x64

Now I would like to install pyicu but I encounter with a problem like this

Collecting pyicu

Using cached Py

相关标签:
2条回答
  • 2021-02-19 10:29

    You can download a corresponding whl file from Unofficial Windows Binaries for Python Extension Packages

    For example, the latest version (as of Jan 13 2019) for your 64-bit Windows and Python3.7 version is PyICU‑2.2‑cp37‑cp37m‑win_amd64.whl

    Then open the Windows Powershell console as Administrator, cd to the directory where you put the whl file and execute the following command:

    python -m pip install .\PyICU‑2.2‑cp37‑cp37m‑win_amd64.whl
    

    or (if you already have a previous PyICU version installed)

    python -m pip install -U .\PyICU‑2.2‑cp37‑cp37m‑win_amd64.whl
    
    0 讨论(0)
  • 2021-02-19 10:35

    For the record:

    My system (Win 10, 64 bit, python 3.8) gave me the exact same error message.

    The solution was to install the 32-bit version of the PyICU whl file, not the 64 bit version.

    0 讨论(0)
提交回复
热议问题