Install Shapely on Windows

更新 發佈閱讀 4 分鐘

[ Original post is @ https://towardsdatascience.com/install-shapely-on-windows-72b6581bb46c ]

Shapely is a Python package full of wonderful possibilities for geometric stuff to do with your data.
Though, if you are working on Windows OS, installing Shapely is not a trivial task.

Installing with conda

Now this is really simple! For more information on why conda install shapely sometimes does not work, and why the first line is needed, go here.

conda config --add channels conda-forge
conda install shapely

And that’s it!

Another method is :
Go to Settings => System => About => System Type .
Find out your whether you are using Windows 32-bit or 64-bit.

  1. Find out your python version. Open Command prompt, enter python --version and remember the first two numbers. For example my version is Python 3.7.3 so I should remember the number 37 .
  2. pip install wheel
  3. Go here and download the wheel corresponding to items 1–2. For example, I have 64-bit OS and Python 3.7.3 so I need to download file Shapely-1.6.4.post2-cp37-cp37m-win_amd64.whl .
  4. pip install <path-to-Downloads>\<filename_from_item_3> .
    For example in my case I entered
    pip install C:\Users\Dalya\Downloads\Shapely-1.6.4.post2-cp37-cp37m-win_amd64.whl .

And that’s it!

留言
avatar-img
留言分享你的想法!
avatar-img
Jackie Lin的沙龍
0會員
36內容數
幾何觀世界,中心定元圓。 對抽象的熱情,對和諧的追求,對天空的關切,是伊斯蘭藝術擁抱幾何的心理動力。 (此專題可學到幾何、數學、藝術與運算思維。)
Jackie Lin的沙龍的其他內容
2021/01/05
01.如果圖案形成平面密鋪, 可稱為伊斯蘭幾何圖案 02.如果圖案很美, 就是藝術 03.學習的目標是繪製伊斯蘭幾何藝術 04.傳統的方法是使用圓規與直尺, 現代的方法是使用軟體繪製幾何圖案.
2021/01/05
01.如果圖案形成平面密鋪, 可稱為伊斯蘭幾何圖案 02.如果圖案很美, 就是藝術 03.學習的目標是繪製伊斯蘭幾何藝術 04.傳統的方法是使用圓規與直尺, 現代的方法是使用軟體繪製幾何圖案.
2021/01/05
something about RGB
Thumbnail
2021/01/05
something about RGB
Thumbnail
2021/01/05
Anaconda Windows Individual Edition contains conda and Anaconda Navigator, as well as Python and hundreds of scientific packages.
Thumbnail
2021/01/05
Anaconda Windows Individual Edition contains conda and Anaconda Navigator, as well as Python and hundreds of scientific packages.
Thumbnail
看更多
你可能也想看
Thumbnail
還在煩惱平凡日常該如何增添一點小驚喜嗎?全家便利商店這次聯手超萌的馬來貘,推出黑白配色的馬來貘雪糕,不僅外觀吸睛,層次豐富的雙層口味更是讓人一口接一口!本文將帶你探索馬來貘雪糕的多種創意吃法,從簡單的豆漿燕麥碗、藍莓果昔,到大人系的奇亞籽布丁下午茶,讓可愛的馬來貘陪你度過每一餐,增添生活中的小確幸!
Thumbnail
還在煩惱平凡日常該如何增添一點小驚喜嗎?全家便利商店這次聯手超萌的馬來貘,推出黑白配色的馬來貘雪糕,不僅外觀吸睛,層次豐富的雙層口味更是讓人一口接一口!本文將帶你探索馬來貘雪糕的多種創意吃法,從簡單的豆漿燕麥碗、藍莓果昔,到大人系的奇亞籽布丁下午茶,讓可愛的馬來貘陪你度過每一餐,增添生活中的小確幸!
Thumbnail
pip 的安裝、使用,多種功能一一展示,完整教學
Thumbnail
pip 的安裝、使用,多種功能一一展示,完整教學
Thumbnail
在 Linux 系統創建 python 虛擬環境的詳細流程 (完全不需要 Anaconda)
Thumbnail
在 Linux 系統創建 python 虛擬環境的詳細流程 (完全不需要 Anaconda)
Thumbnail
創建 python 虛擬環境 (不需要安裝 Anaconda)
Thumbnail
創建 python 虛擬環境 (不需要安裝 Anaconda)
Thumbnail
1. 詳細的 python 安裝流程(不需要 anaconda) 2. 透過「命令提示字元」啟動 python 的方法
Thumbnail
1. 詳細的 python 安裝流程(不需要 anaconda) 2. 透過「命令提示字元」啟動 python 的方法
Thumbnail
  環境佈置很重要!!所以按照這樣的方法下去安裝未來使用的時候才不會很麻煩,而且python會有很多外來模組要安裝,因此安裝路徑一定要設定好,未來找尋的時候才找的到,版本的差異沒有調整好也有可能用到最後有些會出現各種錯誤。所以環境佈置這真的很重要!!很重要!!很重要!!
Thumbnail
  環境佈置很重要!!所以按照這樣的方法下去安裝未來使用的時候才不會很麻煩,而且python會有很多外來模組要安裝,因此安裝路徑一定要設定好,未來找尋的時候才找的到,版本的差異沒有調整好也有可能用到最後有些會出現各種錯誤。所以環境佈置這真的很重要!!很重要!!很重要!!
Thumbnail
AI 每天每週都在進步,我寫在 繪圖0能者的AI藝術入門手冊 的推薦軟體安裝,很快就推出新版了,所以,我把 Automatic1111 最新版本安裝方式寫在這裡,以便盡我所能為各位讀者更新。 建議使用 windows 桌機PC,具有 Nvidia GTX1660以上等級的獨立顯示卡,算圖會比較容易。
Thumbnail
AI 每天每週都在進步,我寫在 繪圖0能者的AI藝術入門手冊 的推薦軟體安裝,很快就推出新版了,所以,我把 Automatic1111 最新版本安裝方式寫在這裡,以便盡我所能為各位讀者更新。 建議使用 windows 桌機PC,具有 Nvidia GTX1660以上等級的獨立顯示卡,算圖會比較容易。
追蹤感興趣的內容從 Google News 追蹤更多 vocus 的最新精選內容追蹤 Google News