0% found this document useful (0 votes)
29 views10 pages

Install Cython and Geospatial Packages

The document details the installation process of the Cython package, which was successfully installed. It also outlines the installation of the segment-geospatial package along with its dependencies, indicating various packages that were either installed or already satisfied. The output includes logs of the installation steps and requirements for building the necessary components.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views10 pages

Install Cython and Geospatial Packages

The document details the installation process of the Cython package, which was successfully installed. It also outlines the installation of the segment-geospatial package along with its dependencies, indicating various packages that were either installed or already satisfied. The output includes logs of the installation steps and requirements for building the necessary components.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

{

"cells": [
{
"cell_type": "code",
"execution_count": 3,
"id": "31b05782-eaaf-459d-a951-b07d77c7e9ac",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Collecting cython\n",
" Using cached Cython-3.0.10-cp312-cp312-win_amd64.[Link] (3.2 kB)\n",
"Using cached Cython-3.0.10-cp312-cp312-win_amd64.whl (2.8 MB)\n",
"Installing collected packages: cython\n",
"Successfully installed cython-3.0.10\n"
]
}
],
"source": [
"!pip install cython"
]
},
{
"cell_type": "code",
"execution_count": 4,
"id": "5304299a-e691-4492-b577-8cd085c67cd6",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Collecting segment-geospatial\n",
" Using cached segment_geospatial-[Link] (10
kB)\n",
"Collecting gdown (from segment-geospatial)\n",
" Using cached [Link] (5.7 kB)\n",
"Requirement already satisfied: geopandas in c:\\users\\rangga\\appdata\\
local\\programs\\python\\python312\\lib\\site-packages (from segment-geospatial)
(0.14.3)\n",
"Collecting huggingface-hub (from segment-geospatial)\n",
" Using cached huggingface_hub-[Link] (12 kB)\n",
"Collecting leafmap (from segment-geospatial)\n",
" Using cached [Link] (17 kB)\n",
"Collecting localtileserver (from segment-geospatial)\n",
" Using cached [Link] (5.2 kB)\n",
"Requirement already satisfied: matplotlib in c:\\users\\rangga\\appdata\\
local\\programs\\python\\python312\\lib\\site-packages (from segment-geospatial)
(3.8.3)\n",
"Requirement already satisfied: opencv-python-headless in c:\\users\\rangga\\
appdata\\roaming\\python\\python312\\site-packages (from segment-geospatial)
([Link])\n",
"Collecting patool (from segment-geospatial)\n",
" Using cached [Link] (4.0 kB)\n",
"Collecting pycocotools (from segment-geospatial)\n",
" Using cached [Link] (24 kB)\n",
" Installing build dependencies: started\n",
" Installing build dependencies: finished with status 'done'\n",
" Getting requirements to build wheel: started\n",
" Getting requirements to build wheel: finished with status 'done'\n",
" Preparing metadata ([Link]): started\n",
" Preparing metadata ([Link]): finished with status 'done'\n",
"Requirement already satisfied: pyproj in c:\\users\\rangga\\appdata\\local\\
programs\\python\\python312\\lib\\site-packages (from segment-geospatial) (3.6.1)\
n",
"Requirement already satisfied: rasterio in c:\\users\\rangga\\appdata\\
local\\programs\\python\\python312\\lib\\site-packages (from segment-geospatial)
(1.3.9)\n",
"Collecting segment-anything-hq (from segment-geospatial)\n",
" Using cached segment_anything_hq-[Link] (17 kB)\n",
"Collecting segment-anything-py (from segment-geospatial)\n",
" Using cached segment_anything_py-[Link] (10.0 kB)\
n",
"Collecting timm (from segment-geospatial)\n",
" Using cached [Link] (38 kB)\n",
"Requirement already satisfied: tqdm in c:\\users\\rangga\\appdata\\local\\
programs\\python\\python312\\lib\\site-packages (from segment-geospatial) (4.66.2)\
n",
"Collecting xyzservices (from segment-geospatial)\n",
" Using cached [Link] (4.0 kB)\n",
"Requirement already satisfied: beautifulsoup4 in c:\\users\\rangga\\
appdata\\local\\programs\\python\\python312\\lib\\site-packages (from gdown-
>segment-geospatial) (4.12.3)\n",
"Requirement already satisfied: filelock in c:\\users\\rangga\\appdata\\
local\\programs\\python\\python312\\lib\\site-packages (from gdown->segment-
geospatial) (3.13.4)\n",
"Requirement already satisfied: requests[socks] in c:\\users\\rangga\\
appdata\\local\\programs\\python\\python312\\lib\\site-packages (from gdown-
>segment-geospatial) (2.31.0)\n",
"Requirement already satisfied: fiona>=1.8.21 in c:\\users\\rangga\\appdata\\
local\\programs\\python\\python312\\lib\\site-packages (from geopandas->segment-
geospatial) (1.9.6)\n",
"Requirement already satisfied: packaging in c:\\users\\rangga\\appdata\\
local\\programs\\python\\python312\\lib\\site-packages (from geopandas->segment-
geospatial) (24.0)\n",
"Requirement already satisfied: pandas>=1.4.0 in c:\\users\\rangga\\appdata\\
local\\programs\\python\\python312\\lib\\site-packages (from geopandas->segment-
geospatial) (2.2.1)\n",
"Requirement already satisfied: shapely>=1.8.0 in c:\\users\\rangga\\
appdata\\local\\programs\\python\\python312\\lib\\site-packages (from geopandas-
>segment-geospatial) (2.0.3)\n",
"Requirement already satisfied: certifi in c:\\users\\rangga\\appdata\\
local\\programs\\python\\python312\\lib\\site-packages (from pyproj->segment-
geospatial) (2024.2.2)\n",
"Requirement already satisfied: fsspec>=2023.5.0 in c:\\users\\rangga\\
appdata\\local\\programs\\python\\python312\\lib\\site-packages (from huggingface-
hub->segment-geospatial) (2024.3.1)\n",
"Requirement already satisfied: pyyaml>=5.1 in c:\\users\\rangga\\appdata\\
local\\programs\\python\\python312\\lib\\site-packages (from huggingface-hub-
>segment-geospatial) (6.0.1)\n",
"Requirement already satisfied: typing-extensions>=[Link] in c:\\users\\
rangga\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from
huggingface-hub->segment-geospatial) (4.10.0)\n",
"Requirement already satisfied: colorama in c:\\users\\rangga\\appdata\\
local\\programs\\python\\python312\\lib\\site-packages (from tqdm->segment-
geospatial) (0.4.6)\n",
"Collecting bqplot (from leafmap->segment-geospatial)\n",
" Using cached [Link] (6.4 kB)\n",
"Collecting colour (from leafmap->segment-geospatial)\n",
" Using cached [Link] (18 kB)\n",
"Collecting duckdb (from leafmap->segment-geospatial)\n",
" Using cached duckdb-0.10.2-cp312-cp312-win_amd64.[Link] (782 bytes)\
n",
"Collecting folium (from leafmap->segment-geospatial)\n",
" Using cached [Link] (3.6 kB)\n",
"Collecting geojson (from leafmap->segment-geospatial)\n",
" Using cached [Link] (16 kB)\n",
"Collecting ipyevents (from leafmap->segment-geospatial)\n",
" Using cached [Link] (2.9 kB)\n",
"Collecting ipyfilechooser (from leafmap->segment-geospatial)\n",
" Using cached [Link] (6.4 kB)\n",
"Collecting ipyleaflet (from leafmap->segment-geospatial)\n",
" Using cached [Link] (4.0 kB)\n",
"Collecting ipywidgets (from leafmap->segment-geospatial)\n",
" Using cached [Link] (2.4 kB)\n",
"Requirement already satisfied: numpy in c:\\users\\rangga\\appdata\\local\\
programs\\python\\python312\\lib\\site-packages (from leafmap->segment-geospatial)
(1.26.4)\n",
"Requirement already satisfied: plotly in c:\\users\\rangga\\appdata\\local\\
programs\\python\\python312\\lib\\site-packages (from leafmap->segment-geospatial)
(5.21.0)\n",
"Collecting pyshp (from leafmap->segment-geospatial)\n",
" Using cached [Link] (55 kB)\n",
"Collecting pystac-client (from leafmap->segment-geospatial)\n",
" Using cached pystac_client-[Link] (5.2 kB)\n",
"Collecting python-box (from leafmap->segment-geospatial)\n",
" Using cached python_box-[Link] (7.8 kB)\n",
"Collecting scooby (from leafmap->segment-geospatial)\n",
" Using cached [Link] (15 kB)\n",
"Collecting whiteboxgui (from leafmap->segment-geospatial)\n",
" Using cached [Link] (5.7 kB)\n",
"Requirement already satisfied: click in c:\\users\\rangga\\appdata\\local\\
programs\\python\\python312\\lib\\site-packages (from localtileserver->segment-
geospatial) (8.1.7)\n",
"Collecting flask<4,>=2.0.0 (from localtileserver->segment-geospatial)\n",
" Using cached [Link] (3.2 kB)\n",
"Collecting Flask-Caching (from localtileserver->segment-geospatial)\n",
" Using cached Flask_Caching-[Link] (2.2 kB)\n",
"Collecting flask-cors (from localtileserver->segment-geospatial)\n",
" Using cached Flask_Cors-[Link] (5.5 kB)\n",
"Collecting flask-restx>=0.5.0 (from localtileserver->segment-geospatial)\n",
" Using cached flask_restx-[Link] (9.3 kB)\n",
"Collecting rio-tiler (from localtileserver->segment-geospatial)\n",
" Using cached rio_tiler-[Link] (11 kB)\n",
"Collecting rio-cogeo (from localtileserver->segment-geospatial)\n",
" Using cached rio_cogeo-[Link] (4.7 kB)\n",
"Collecting server-thread (from localtileserver->segment-geospatial)\n",
" Using cached server_thread-[Link] (3.8 kB)\n",
"Requirement already satisfied: werkzeug in c:\\users\\rangga\\appdata\\
local\\programs\\python\\python312\\lib\\site-packages (from localtileserver-
>segment-geospatial) (3.0.1)\n",
"Requirement already satisfied: contourpy>=1.0.1 in c:\\users\\rangga\\
appdata\\local\\programs\\python\\python312\\lib\\site-packages (from matplotlib-
>segment-geospatial) (1.2.0)\n",
"Requirement already satisfied: cycler>=0.10 in c:\\users\\rangga\\appdata\\
local\\programs\\python\\python312\\lib\\site-packages (from matplotlib->segment-
geospatial) (0.12.1)\n",
"Requirement already satisfied: fonttools>=4.22.0 in c:\\users\\rangga\\
appdata\\local\\programs\\python\\python312\\lib\\site-packages (from matplotlib-
>segment-geospatial) (4.50.0)\n",
"Requirement already satisfied: kiwisolver>=1.3.1 in c:\\users\\rangga\\
appdata\\local\\programs\\python\\python312\\lib\\site-packages (from matplotlib-
>segment-geospatial) (1.4.5)\n",
"Requirement already satisfied: pillow>=8 in c:\\users\\rangga\\appdata\\
local\\programs\\python\\python312\\lib\\site-packages (from matplotlib->segment-
geospatial) (10.2.0)\n",
"Requirement already satisfied: pyparsing>=2.3.1 in c:\\users\\rangga\\
appdata\\local\\programs\\python\\python312\\lib\\site-packages (from matplotlib-
>segment-geospatial) (3.1.2)\n",
"Requirement already satisfied: python-dateutil>=2.7 in c:\\users\\rangga\\
appdata\\local\\programs\\python\\python312\\lib\\site-packages (from matplotlib-
>segment-geospatial) (2.9.0.post0)\n",
"Requirement already satisfied: affine in c:\\users\\rangga\\appdata\\local\\
programs\\python\\python312\\lib\\site-packages (from rasterio->segment-geospatial)
(2.4.0)\n",
"Requirement already satisfied: attrs in c:\\users\\rangga\\appdata\\local\\
programs\\python\\python312\\lib\\site-packages (from rasterio->segment-geospatial)
(23.2.0)\n",
"Requirement already satisfied: cligj>=0.5 in c:\\users\\rangga\\appdata\\
local\\programs\\python\\python312\\lib\\site-packages (from rasterio->segment-
geospatial) (0.7.2)\n",
"Requirement already satisfied: snuggs>=1.4.1 in c:\\users\\rangga\\appdata\\
local\\programs\\python\\python312\\lib\\site-packages (from rasterio->segment-
geospatial) (1.4.7)\n",
"Requirement already satisfied: click-plugins in c:\\users\\rangga\\appdata\\
local\\programs\\python\\python312\\lib\\site-packages (from rasterio->segment-
geospatial) (1.1.1)\n",
"Requirement already satisfied: setuptools in c:\\users\\rangga\\appdata\\
local\\programs\\python\\python312\\lib\\site-packages (from rasterio->segment-
geospatial) (69.2.0)\n",
"Requirement already satisfied: torch>=1.7 in c:\\users\\rangga\\appdata\\
local\\programs\\python\\python312\\lib\\site-packages (from segment-anything-hq-
>segment-geospatial) (2.2.2)\n",
"Requirement already satisfied: torchvision>=0.8 in c:\\users\\rangga\\
appdata\\local\\programs\\python\\python312\\lib\\site-packages (from segment-
anything-hq->segment-geospatial) (0.17.2)\n",
"Collecting safetensors (from timm->segment-geospatial)\n",
" Using cached safetensors-0.4.3-cp312-none-win_amd64.[Link] (3.9 kB)\
n",
"Requirement already satisfied: six in c:\\users\\rangga\\appdata\\local\\
programs\\python\\python312\\lib\\site-packages (from fiona>=1.8.21->geopandas-
>segment-geospatial) (1.16.0)\n",
"Requirement already satisfied: Jinja2>=3.1.2 in c:\\users\\rangga\\appdata\\
local\\programs\\python\\python312\\lib\\site-packages (from flask<4,>=2.0.0-
>localtileserver->segment-geospatial) (3.1.3)\n",
"Collecting itsdangerous>=2.1.2 (from flask<4,>=2.0.0->localtileserver-
>segment-geospatial)\n",
" Using cached [Link] (1.9 kB)\n",
"Collecting blinker>=1.6.2 (from flask<4,>=2.0.0->localtileserver->segment-
geospatial)\n",
" Using cached [Link] (1.6 kB)\n",
"Collecting aniso8601>=0.82 (from flask-restx>=0.5.0->localtileserver-
>segment-geospatial)\n",
" Using cached [Link] (23 kB)\n",
"Requirement already satisfied: jsonschema in c:\\users\\rangga\\appdata\\
local\\programs\\python\\python312\\lib\\site-packages (from flask-restx>=0.5.0-
>localtileserver->segment-geospatial) (4.21.1)\n",
"Requirement already satisfied: pytz in c:\\users\\rangga\\appdata\\local\\
programs\\python\\python312\\lib\\site-packages (from flask-restx>=0.5.0-
>localtileserver->segment-geospatial) (2024.1)\n",
"Collecting importlib-resources (from flask-restx>=0.5.0->localtileserver-
>segment-geospatial)\n",
" Using cached importlib_resources-[Link] (3.9 kB)\
n",
"Requirement already satisfied: tzdata>=2022.7 in c:\\users\\rangga\\
appdata\\local\\programs\\python\\python312\\lib\\site-packages (from
pandas>=1.4.0->geopandas->segment-geospatial) (2024.1)\n",
"Requirement already satisfied: sympy in c:\\users\\rangga\\appdata\\local\\
programs\\python\\python312\\lib\\site-packages (from torch>=1.7->segment-anything-
hq->segment-geospatial) (1.12)\n",
"Requirement already satisfied: networkx in c:\\users\\rangga\\appdata\\
local\\programs\\python\\python312\\lib\\site-packages (from torch>=1.7->segment-
anything-hq->segment-geospatial) (3.2.1)\n",
"Requirement already satisfied: MarkupSafe>=2.1.1 in c:\\users\\rangga\\
appdata\\local\\programs\\python\\python312\\lib\\site-packages (from werkzeug-
>localtileserver->segment-geospatial) (2.1.5)\n",
"Requirement already satisfied: soupsieve>1.2 in c:\\users\\rangga\\appdata\\
local\\programs\\python\\python312\\lib\\site-packages (from beautifulsoup4->gdown-
>segment-geospatial) (2.5)\n",
"Requirement already satisfied: traitlets>=4.3.0 in c:\\users\\rangga\\
appdata\\local\\programs\\python\\python312\\lib\\site-packages (from bqplot-
>leafmap->segment-geospatial) (5.14.2)\n",
"Collecting traittypes>=0.0.6 (from bqplot->leafmap->segment-geospatial)\n",
" Using cached [Link] (1.0 kB)\n",
"Requirement already satisfied: comm>=0.1.3 in c:\\users\\rangga\\appdata\\
local\\programs\\python\\python312\\lib\\site-packages (from ipywidgets->leafmap-
>segment-geospatial) (0.2.2)\n",
"Requirement already satisfied: ipython>=6.1.0 in c:\\users\\rangga\\
appdata\\local\\programs\\python\\python312\\lib\\site-packages (from ipywidgets-
>leafmap->segment-geospatial) (8.22.2)\n",
"Collecting widgetsnbextension~=4.0.10 (from ipywidgets->leafmap->segment-
geospatial)\n",
" Using cached [Link] (1.6 kB)\
n",
"Collecting jupyterlab-widgets~=3.0.10 (from ipywidgets->leafmap->segment-
geospatial)\n",
" Using cached jupyterlab_widgets-[Link] (4.1 kB)\
n",
"Collecting cachelib<0.10.0,>=0.9.0 (from Flask-Caching->localtileserver-
>segment-geospatial)\n",
" Using cached [Link] (1.9 kB)\n",
"Collecting branca>=0.6.0 (from folium->leafmap->segment-geospatial)\n",
" Using cached [Link] (1.5 kB)\n",
"Collecting jupyter-leaflet<0.20,>=0.19 (from ipyleaflet->leafmap->segment-
geospatial)\n",
" Using cached jupyter_leaflet-[Link] (1.1 kB)\n",
"Requirement already satisfied: tenacity>=6.2.0 in c:\\users\\rangga\\
appdata\\local\\programs\\python\\python312\\lib\\site-packages (from plotly-
>leafmap->segment-geospatial) (8.2.3)\n",
"Collecting pystac>=1.10.0 (from pystac[validation]>=1.10.0->pystac-client-
>leafmap->segment-geospatial)\n",
" Using cached [Link] (6.4 kB)\n",
"Requirement already satisfied: charset-normalizer<4,>=2 in c:\\users\\
rangga\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from
requests[socks]->gdown->segment-geospatial) (3.3.2)\n",
"Requirement already satisfied: idna<4,>=2.5 in c:\\users\\rangga\\appdata\\
local\\programs\\python\\python312\\lib\\site-packages (from requests[socks]-
>gdown->segment-geospatial) (3.6)\n",
"Requirement already satisfied: urllib3<3,>=1.21.1 in c:\\users\\rangga\\
appdata\\local\\programs\\python\\python312\\lib\\site-packages (from
requests[socks]->gdown->segment-geospatial) (2.2.1)\n",
"Collecting PySocks!=1.5.7,>=1.5.6 (from requests[socks]->gdown->segment-
geospatial)\n",
" Using cached [Link] (13 kB)\n",
"Collecting morecantile<6.0,>=5.0 (from rio-cogeo->localtileserver->segment-
geospatial)\n",
" Using cached [Link] (6.9 kB)\n",
"Collecting pydantic~=2.0 (from rio-cogeo->localtileserver->segment-
geospatial)\n",
" Using cached [Link] (107 kB)\n",
"Collecting cachetools (from rio-tiler->localtileserver->segment-geospatial)\
n",
" Using cached [Link] (5.3 kB)\n",
"Collecting color-operations (from rio-tiler->localtileserver->segment-
geospatial)\n",
" Using cached color_operations-0.1.3-cp312-cp312-win_amd64.[Link]
(5.8 kB)\n",
"Requirement already satisfied: httpx in c:\\users\\rangga\\appdata\\local\\
programs\\python\\python312\\lib\\site-packages (from rio-tiler->localtileserver-
>segment-geospatial) (0.27.0)\n",
"Collecting numexpr (from rio-tiler->localtileserver->segment-geospatial)\n",
" Using cached numexpr-2.10.0-cp312-cp312-win_amd64.[Link] (8.1 kB)\
n",
"Collecting uvicorn (from server-thread->localtileserver->segment-
geospatial)\n",
" Using cached [Link] (6.3 kB)\n",
"Collecting ipytree (from whiteboxgui->leafmap->segment-geospatial)\n",
" Using cached [Link] (849 bytes)\n",
"Collecting whitebox (from whiteboxgui->leafmap->segment-geospatial)\n",
" Using cached [Link] (11 kB)\n",
"Requirement already satisfied: decorator in c:\\users\\rangga\\appdata\\
local\\programs\\python\\python312\\lib\\site-packages (from ipython>=6.1.0-
>ipywidgets->leafmap->segment-geospatial) (5.1.1)\n",
"Requirement already satisfied: jedi>=0.16 in c:\\users\\rangga\\appdata\\
local\\programs\\python\\python312\\lib\\site-packages (from ipython>=6.1.0-
>ipywidgets->leafmap->segment-geospatial) (0.19.1)\n",
"Requirement already satisfied: matplotlib-inline in c:\\users\\rangga\\
appdata\\local\\programs\\python\\python312\\lib\\site-packages (from
ipython>=6.1.0->ipywidgets->leafmap->segment-geospatial) (0.1.6)\n",
"Requirement already satisfied: prompt-toolkit<3.1.0,>=3.0.41 in c:\\users\\
rangga\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from
ipython>=6.1.0->ipywidgets->leafmap->segment-geospatial) (3.0.43)\n",
"Requirement already satisfied: pygments>=2.4.0 in c:\\users\\rangga\\
appdata\\local\\programs\\python\\python312\\lib\\site-packages (from
ipython>=6.1.0->ipywidgets->leafmap->segment-geospatial) (2.17.2)\n",
"Requirement already satisfied: stack-data in c:\\users\\rangga\\appdata\\
local\\programs\\python\\python312\\lib\\site-packages (from ipython>=6.1.0-
>ipywidgets->leafmap->segment-geospatial) (0.6.3)\n",
"Collecting annotated-types>=0.4.0 (from pydantic~=2.0->rio-cogeo-
>localtileserver->segment-geospatial)\n",
" Using cached annotated_types-[Link] (12 kB)\n",
"Collecting pydantic-core==2.18.2 (from pydantic~=2.0->rio-cogeo-
>localtileserver->segment-geospatial)\n",
" Using cached pydantic_core-2.18.2-cp312-none-win_amd64.[Link] (6.7
kB)\n",
"Requirement already satisfied: jsonschema-specifications>=2023.03.6 in c:\\
users\\rangga\\appdata\\local\\programs\\python\\python312\\lib\\site-packages
(from jsonschema->flask-restx>=0.5.0->localtileserver->segment-geospatial)
(2023.12.1)\n",
"Requirement already satisfied: referencing>=0.28.4 in c:\\users\\rangga\\
appdata\\local\\programs\\python\\python312\\lib\\site-packages (from jsonschema-
>flask-restx>=0.5.0->localtileserver->segment-geospatial) (0.34.0)\n",
"Requirement already satisfied: rpds-py>=0.7.1 in c:\\users\\rangga\\
appdata\\local\\programs\\python\\python312\\lib\\site-packages (from jsonschema-
>flask-restx>=0.5.0->localtileserver->segment-geospatial) (0.18.0)\n",
"Requirement already satisfied: anyio in c:\\users\\rangga\\appdata\\local\\
programs\\python\\python312\\lib\\site-packages (from httpx->rio-tiler-
>localtileserver->segment-geospatial) (4.3.0)\n",
"Requirement already satisfied: httpcore==1.* in c:\\users\\rangga\\appdata\\
local\\programs\\python\\python312\\lib\\site-packages (from httpx->rio-tiler-
>localtileserver->segment-geospatial) (1.0.4)\n",
"Requirement already satisfied: sniffio in c:\\users\\rangga\\appdata\\
local\\programs\\python\\python312\\lib\\site-packages (from httpx->rio-tiler-
>localtileserver->segment-geospatial) (1.3.1)\n",
"Requirement already satisfied: h11<0.15,>=0.13 in c:\\users\\rangga\\
appdata\\local\\programs\\python\\python312\\lib\\site-packages (from
httpcore==1.*->httpx->rio-tiler->localtileserver->segment-geospatial) (0.14.0)\n",
"Requirement already satisfied: mpmath>=0.19 in c:\\users\\rangga\\appdata\\
local\\programs\\python\\python312\\lib\\site-packages (from sympy->torch>=1.7-
>segment-anything-hq->segment-geospatial) (1.3.0)\n",
"Requirement already satisfied: parso<0.9.0,>=0.8.3 in c:\\users\\rangga\\
appdata\\local\\programs\\python\\python312\\lib\\site-packages (from jedi>=0.16-
>ipython>=6.1.0->ipywidgets->leafmap->segment-geospatial) (0.8.3)\n",
"Requirement already satisfied: wcwidth in c:\\users\\rangga\\appdata\\
local\\programs\\python\\python312\\lib\\site-packages (from prompt-
toolkit<3.1.0,>=3.0.41->ipython>=6.1.0->ipywidgets->leafmap->segment-geospatial)
(0.2.13)\n",
"Requirement already satisfied: executing>=1.2.0 in c:\\users\\rangga\\
appdata\\local\\programs\\python\\python312\\lib\\site-packages (from stack-data-
>ipython>=6.1.0->ipywidgets->leafmap->segment-geospatial) (2.0.1)\n",
"Requirement already satisfied: asttokens>=2.1.0 in c:\\users\\rangga\\
appdata\\local\\programs\\python\\python312\\lib\\site-packages (from stack-data-
>ipython>=6.1.0->ipywidgets->leafmap->segment-geospatial) (2.4.1)\n",
"Requirement already satisfied: pure-eval in c:\\users\\rangga\\appdata\\
local\\programs\\python\\python312\\lib\\site-packages (from stack-data-
>ipython>=6.1.0->ipywidgets->leafmap->segment-geospatial) (0.2.2)\n",
"Using cached segment_geospatial-[Link] (52 kB)\n",
"Using cached [Link] (17 kB)\n",
"Using cached huggingface_hub-[Link] (401 kB)\n",
"Using cached [Link] (1.8 MB)\n",
"Using cached [Link] (17.1 MB)\n",
"Using cached [Link] (96 kB)\n",
"Using cached segment_anything_hq-[Link] (52 kB)\n",
"Using cached segment_anything_py-[Link] (40 kB)\n",
"Using cached [Link] (2.2 MB)\n",
"Using cached [Link] (81 kB)\n",
"Using cached [Link] (101 kB)\n",
"Using cached flask_restx-[Link] (2.8 MB)\n",
"Using cached [Link] (1.2 MB)\n",
"Using cached [Link] (139 kB)\n",
"Using cached [Link] (23 kB)\n",
"Using cached duckdb-0.10.2-cp312-cp312-win_amd64.whl (9.8 MB)\n",
"Using cached Flask_Caching-[Link] (28 kB)\n",
"Using cached Flask_Cors-[Link] (14 kB)\n",
"Using cached [Link] (100 kB)\n",
"Using cached [Link] (15 kB)\n",
"Using cached [Link] (101 kB)\n",
"Using cached [Link] (11 kB)\n",
"Using cached [Link] (30 kB)\n",
"Using cached [Link] (46 kB)\n",
"Using cached pystac_client-[Link] (33 kB)\n",
"Using cached python_box-[Link] (28 kB)\n",
"Using cached rio_cogeo-[Link] (20 kB)\n",
"Using cached rio_tiler-[Link] (263 kB)\n",
"Using cached safetensors-0.4.3-cp312-none-win_amd64.whl (289 kB)\n",
"Using cached [Link] (18 kB)\n",
"Using cached server_thread-[Link] (8.5 kB)\n",
"Using cached [Link] (108 kB)\n",
"Using cached [Link] (52 kB)\n",
"Using cached [Link] (9.5 kB)\n",
"Using cached [Link] (25 kB)\n",
"Using cached [Link] (15 kB)\n",
"Using cached [Link] (16 kB)\n",
"Using cached jupyter_leaflet-[Link] (1.1 MB)\n",
"Using cached jupyterlab_widgets-[Link] (215 kB)\n",
"Using cached [Link] (49 kB)\n",
"Using cached [Link] (409 kB)\n",
"Using cached pydantic_core-2.18.2-cp312-none-win_amd64.whl (1.9 MB)\n",
"Using cached [Link] (16 kB)\n",
"Using cached [Link] (182 kB)\n",
"Using cached [Link] (8.6 kB)\n",
"Using cached [Link] (2.3 MB)\n",
"Using cached [Link] (9.3 kB)\n",
"Using cached color_operations-0.1.3-cp312-cp312-win_amd64.whl (132 kB)\n",
"Using cached importlib_resources-[Link] (38 kB)\n",
"Using cached [Link] (1.3 MB)\n",
"Using cached numexpr-2.10.0-cp312-cp312-win_amd64.whl (97 kB)\n",
"Using cached [Link] (60 kB)\n",
"Using cached [Link] (72 kB)\n",
"Using cached annotated_types-[Link] (12 kB)\n",
"Building wheels for collected packages: pycocotools\n",
" Building wheel for pycocotools ([Link]): started\n",
" Building wheel for pycocotools ([Link]): finished with status
'error'\n",
"Failed to build pycocotools\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" error: subprocess-exited-with-error\n",
" \n",
" Building wheel for pycocotools ([Link]) did not run successfully.\
n",
" exit code: 1\n",
" \n",
" [17 lines of output]\n",
" running bdist_wheel\n",
" running build\n",
" running build_py\n",
" creating build\n",
" creating build\\[Link]-amd64-cpython-312\n",
" creating build\\[Link]-amd64-cpython-312\\pycocotools\n",
" copying pycocotools\\[Link] -> build\\[Link]-amd64-cpython-312\\
pycocotools\n",
" copying pycocotools\\[Link] -> build\\[Link]-amd64-cpython-312\\
pycocotools\n",
" copying pycocotools\\[Link] -> build\\[Link]-amd64-cpython-312\\
pycocotools\n",
" copying pycocotools\\__init__.py -> build\\[Link]-amd64-cpython-312\\
pycocotools\n",
" running build_ext\n",
" C:\\Users\\Rangga\\AppData\\Local\\Temp\\pip-build-env-e2ef6z2f\\overlay\\
Lib\\site-packages\\Cython\\Compiler\\[Link]: FutureWarning: Cython directive
'language_level' not set, using '3str' for now (Py3). This has changed from earlier
releases! File: C:\\Users\\Rangga\\AppData\\Local\\Temp\\pip-install-6ikxnx6f\\
pycocotools_50d260dd4a3f4577b6cc7ec0a3e9f8f8\\pycocotools\\_mask.pyx\n",
" tree = Parsing.p_module(s, pxd, full_module_name)\n",
" Compiling pycocotools/_mask.pyx because it changed.\n",
" [1/1] Cythonizing pycocotools/_mask.pyx\n",
" building 'pycocotools._mask' extension\n",
" error: Microsoft Visual C++ 14.0 or greater is required. Get it
with \"Microsoft C++ Build Tools\": [Link]
build-tools/\n",
" [end of output]\n",
" \n",
" note: This error originates from a subprocess, and is likely not a problem
with pip.\n",
" ERROR: Failed building wheel for pycocotools\n",
"ERROR: Could not build wheels for pycocotools, which is required to install
[Link]-based projects\n"
]
}
],
"source": [
"!pip install segment-geospatial"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.3"
}
},
"nbformat": 4,
"nbformat_minor": 5
}

You might also like