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

Untitled3

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)
4 views10 pages

Untitled3

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
You are on page 1/ 10

{

"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.whl.metadata (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-0.10.5-py2.py3-none-any.whl.metadata (10
kB)\n",
"Collecting gdown (from segment-geospatial)\n",
" Using cached gdown-5.1.0-py3-none-any.whl.metadata (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-0.23.0-py3-none-any.whl.metadata (12 kB)\n",
"Collecting leafmap (from segment-geospatial)\n",
" Using cached leafmap-0.31.9-py2.py3-none-any.whl.metadata (17 kB)\n",
"Collecting localtileserver (from segment-geospatial)\n",
" Using cached localtileserver-0.10.2-py3-none-any.whl.metadata (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)
(4.9.0.80)\n",
"Collecting patool (from segment-geospatial)\n",
" Using cached patool-2.2.0-py2.py3-none-any.whl.metadata (4.0 kB)\n",
"Collecting pycocotools (from segment-geospatial)\n",
" Using cached pycocotools-2.0.7.tar.gz (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 (pyproject.toml): started\n",
" Preparing metadata (pyproject.toml): 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-0.3-py3-none-any.whl.metadata (17 kB)\n",
"Collecting segment-anything-py (from segment-geospatial)\n",
" Using cached segment_anything_py-1.0-py3-none-any.whl.metadata (10.0 kB)\
n",
"Collecting timm (from segment-geospatial)\n",
" Using cached timm-0.9.16-py3-none-any.whl.metadata (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 xyzservices-2024.4.0-py3-none-any.whl.metadata (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>=3.7.4.3 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 bqplot-0.12.43-py2.py3-none-any.whl.metadata (6.4 kB)\n",
"Collecting colour (from leafmap->segment-geospatial)\n",
" Using cached colour-0.1.5-py2.py3-none-any.whl.metadata (18 kB)\n",
"Collecting duckdb (from leafmap->segment-geospatial)\n",
" Using cached duckdb-0.10.2-cp312-cp312-win_amd64.whl.metadata (782 bytes)\
n",
"Collecting folium (from leafmap->segment-geospatial)\n",
" Using cached folium-0.16.0-py2.py3-none-any.whl.metadata (3.6 kB)\n",
"Collecting geojson (from leafmap->segment-geospatial)\n",
" Using cached geojson-3.1.0-py3-none-any.whl.metadata (16 kB)\n",
"Collecting ipyevents (from leafmap->segment-geospatial)\n",
" Using cached ipyevents-2.0.2-py3-none-any.whl.metadata (2.9 kB)\n",
"Collecting ipyfilechooser (from leafmap->segment-geospatial)\n",
" Using cached ipyfilechooser-0.6.0-py3-none-any.whl.metadata (6.4 kB)\n",
"Collecting ipyleaflet (from leafmap->segment-geospatial)\n",
" Using cached ipyleaflet-0.19.0-py3-none-any.whl.metadata (4.0 kB)\n",
"Collecting ipywidgets (from leafmap->segment-geospatial)\n",
" Using cached ipywidgets-8.1.2-py3-none-any.whl.metadata (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 pyshp-2.3.1-py2.py3-none-any.whl.metadata (55 kB)\n",
"Collecting pystac-client (from leafmap->segment-geospatial)\n",
" Using cached pystac_client-0.7.7-py3-none-any.whl.metadata (5.2 kB)\n",
"Collecting python-box (from leafmap->segment-geospatial)\n",
" Using cached python_box-7.1.1-py3-none-any.whl.metadata (7.8 kB)\n",
"Collecting scooby (from leafmap->segment-geospatial)\n",
" Using cached scooby-0.10.0-py3-none-any.whl.metadata (15 kB)\n",
"Collecting whiteboxgui (from leafmap->segment-geospatial)\n",
" Using cached whiteboxgui-2.3.0-py2.py3-none-any.whl.metadata (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 flask-3.0.3-py3-none-any.whl.metadata (3.2 kB)\n",
"Collecting Flask-Caching (from localtileserver->segment-geospatial)\n",
" Using cached Flask_Caching-2.3.0-py3-none-any.whl.metadata (2.2 kB)\n",
"Collecting flask-cors (from localtileserver->segment-geospatial)\n",
" Using cached Flask_Cors-4.0.1-py2.py3-none-any.whl.metadata (5.5 kB)\n",
"Collecting flask-restx>=0.5.0 (from localtileserver->segment-geospatial)\n",
" Using cached flask_restx-1.3.0-py2.py3-none-any.whl.metadata (9.3 kB)\n",
"Collecting rio-tiler (from localtileserver->segment-geospatial)\n",
" Using cached rio_tiler-6.5.0-py3-none-any.whl.metadata (11 kB)\n",
"Collecting rio-cogeo (from localtileserver->segment-geospatial)\n",
" Using cached rio_cogeo-5.3.0-py3-none-any.whl.metadata (4.7 kB)\n",
"Collecting server-thread (from localtileserver->segment-geospatial)\n",
" Using cached server_thread-0.2.0-py3-none-any.whl.metadata (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.whl.metadata (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 itsdangerous-2.2.0-py3-none-any.whl.metadata (1.9 kB)\n",
"Collecting blinker>=1.6.2 (from flask<4,>=2.0.0->localtileserver->segment-
geospatial)\n",
" Using cached blinker-1.8.2-py3-none-any.whl.metadata (1.6 kB)\n",
"Collecting aniso8601>=0.82 (from flask-restx>=0.5.0->localtileserver-
>segment-geospatial)\n",
" Using cached aniso8601-9.0.1-py2.py3-none-any.whl.metadata (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-6.4.0-py3-none-any.whl.metadata (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 traittypes-0.2.1-py2.py3-none-any.whl.metadata (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 widgetsnbextension-4.0.10-py3-none-any.whl.metadata (1.6 kB)\
n",
"Collecting jupyterlab-widgets~=3.0.10 (from ipywidgets->leafmap->segment-
geospatial)\n",
" Using cached jupyterlab_widgets-3.0.10-py3-none-any.whl.metadata (4.1 kB)\
n",
"Collecting cachelib<0.10.0,>=0.9.0 (from Flask-Caching->localtileserver-
>segment-geospatial)\n",
" Using cached cachelib-0.9.0-py3-none-any.whl.metadata (1.9 kB)\n",
"Collecting branca>=0.6.0 (from folium->leafmap->segment-geospatial)\n",
" Using cached branca-0.7.2-py3-none-any.whl.metadata (1.5 kB)\n",
"Collecting jupyter-leaflet<0.20,>=0.19 (from ipyleaflet->leafmap->segment-
geospatial)\n",
" Using cached jupyter_leaflet-0.19.0-py3-none-any.whl.metadata (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 pystac-1.10.1-py3-none-any.whl.metadata (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 PySocks-1.7.1-py3-none-any.whl.metadata (13 kB)\n",
"Collecting morecantile<6.0,>=5.0 (from rio-cogeo->localtileserver->segment-
geospatial)\n",
" Using cached morecantile-5.3.0-py3-none-any.whl.metadata (6.9 kB)\n",
"Collecting pydantic~=2.0 (from rio-cogeo->localtileserver->segment-
geospatial)\n",
" Using cached pydantic-2.7.1-py3-none-any.whl.metadata (107 kB)\n",
"Collecting cachetools (from rio-tiler->localtileserver->segment-geospatial)\
n",
" Using cached cachetools-5.3.3-py3-none-any.whl.metadata (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.whl.metadata
(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.whl.metadata (8.1 kB)\
n",
"Collecting uvicorn (from server-thread->localtileserver->segment-
geospatial)\n",
" Using cached uvicorn-0.29.0-py3-none-any.whl.metadata (6.3 kB)\n",
"Collecting ipytree (from whiteboxgui->leafmap->segment-geospatial)\n",
" Using cached ipytree-0.2.2-py2.py3-none-any.whl.metadata (849 bytes)\n",
"Collecting whitebox (from whiteboxgui->leafmap->segment-geospatial)\n",
" Using cached whitebox-2.3.1-py2.py3-none-any.whl.metadata (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-0.6.0-py3-none-any.whl.metadata (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.whl.metadata (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-0.10.5-py2.py3-none-any.whl (52 kB)\n",
"Using cached gdown-5.1.0-py3-none-any.whl (17 kB)\n",
"Using cached huggingface_hub-0.23.0-py3-none-any.whl (401 kB)\n",
"Using cached leafmap-0.31.9-py2.py3-none-any.whl (1.8 MB)\n",
"Using cached localtileserver-0.10.2-py3-none-any.whl (17.1 MB)\n",
"Using cached patool-2.2.0-py2.py3-none-any.whl (96 kB)\n",
"Using cached segment_anything_hq-0.3-py3-none-any.whl (52 kB)\n",
"Using cached segment_anything_py-1.0-py3-none-any.whl (40 kB)\n",
"Using cached timm-0.9.16-py3-none-any.whl (2.2 MB)\n",
"Using cached xyzservices-2024.4.0-py3-none-any.whl (81 kB)\n",
"Using cached flask-3.0.3-py3-none-any.whl (101 kB)\n",
"Using cached flask_restx-1.3.0-py2.py3-none-any.whl (2.8 MB)\n",
"Using cached bqplot-0.12.43-py2.py3-none-any.whl (1.2 MB)\n",
"Using cached ipywidgets-8.1.2-py3-none-any.whl (139 kB)\n",
"Using cached colour-0.1.5-py2.py3-none-any.whl (23 kB)\n",
"Using cached duckdb-0.10.2-cp312-cp312-win_amd64.whl (9.8 MB)\n",
"Using cached Flask_Caching-2.3.0-py3-none-any.whl (28 kB)\n",
"Using cached Flask_Cors-4.0.1-py2.py3-none-any.whl (14 kB)\n",
"Using cached folium-0.16.0-py2.py3-none-any.whl (100 kB)\n",
"Using cached geojson-3.1.0-py3-none-any.whl (15 kB)\n",
"Using cached ipyevents-2.0.2-py3-none-any.whl (101 kB)\n",
"Using cached ipyfilechooser-0.6.0-py3-none-any.whl (11 kB)\n",
"Using cached ipyleaflet-0.19.0-py3-none-any.whl (30 kB)\n",
"Using cached pyshp-2.3.1-py2.py3-none-any.whl (46 kB)\n",
"Using cached pystac_client-0.7.7-py3-none-any.whl (33 kB)\n",
"Using cached python_box-7.1.1-py3-none-any.whl (28 kB)\n",
"Using cached rio_cogeo-5.3.0-py3-none-any.whl (20 kB)\n",
"Using cached rio_tiler-6.5.0-py3-none-any.whl (263 kB)\n",
"Using cached safetensors-0.4.3-cp312-none-win_amd64.whl (289 kB)\n",
"Using cached scooby-0.10.0-py3-none-any.whl (18 kB)\n",
"Using cached server_thread-0.2.0-py3-none-any.whl (8.5 kB)\n",
"Using cached whiteboxgui-2.3.0-py2.py3-none-any.whl (108 kB)\n",
"Using cached aniso8601-9.0.1-py2.py3-none-any.whl (52 kB)\n",
"Using cached blinker-1.8.2-py3-none-any.whl (9.5 kB)\n",
"Using cached branca-0.7.2-py3-none-any.whl (25 kB)\n",
"Using cached cachelib-0.9.0-py3-none-any.whl (15 kB)\n",
"Using cached itsdangerous-2.2.0-py3-none-any.whl (16 kB)\n",
"Using cached jupyter_leaflet-0.19.0-py3-none-any.whl (1.1 MB)\n",
"Using cached jupyterlab_widgets-3.0.10-py3-none-any.whl (215 kB)\n",
"Using cached morecantile-5.3.0-py3-none-any.whl (49 kB)\n",
"Using cached pydantic-2.7.1-py3-none-any.whl (409 kB)\n",
"Using cached pydantic_core-2.18.2-cp312-none-win_amd64.whl (1.9 MB)\n",
"Using cached PySocks-1.7.1-py3-none-any.whl (16 kB)\n",
"Using cached pystac-1.10.1-py3-none-any.whl (182 kB)\n",
"Using cached traittypes-0.2.1-py2.py3-none-any.whl (8.6 kB)\n",
"Using cached widgetsnbextension-4.0.10-py3-none-any.whl (2.3 MB)\n",
"Using cached cachetools-5.3.3-py3-none-any.whl (9.3 kB)\n",
"Using cached color_operations-0.1.3-cp312-cp312-win_amd64.whl (132 kB)\n",
"Using cached importlib_resources-6.4.0-py3-none-any.whl (38 kB)\n",
"Using cached ipytree-0.2.2-py2.py3-none-any.whl (1.3 MB)\n",
"Using cached numexpr-2.10.0-cp312-cp312-win_amd64.whl (97 kB)\n",
"Using cached uvicorn-0.29.0-py3-none-any.whl (60 kB)\n",
"Using cached whitebox-2.3.1-py2.py3-none-any.whl (72 kB)\n",
"Using cached annotated_types-0.6.0-py3-none-any.whl (12 kB)\n",
"Building wheels for collected packages: pycocotools\n",
" Building wheel for pycocotools (pyproject.toml): started\n",
" Building wheel for pycocotools (pyproject.toml): 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 (pyproject.toml) 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\\lib.win-amd64-cpython-312\n",
" creating build\\lib.win-amd64-cpython-312\\pycocotools\n",
" copying pycocotools\\coco.py -> build\\lib.win-amd64-cpython-312\\
pycocotools\n",
" copying pycocotools\\cocoeval.py -> build\\lib.win-amd64-cpython-312\\
pycocotools\n",
" copying pycocotools\\mask.py -> build\\lib.win-amd64-cpython-312\\
pycocotools\n",
" copying pycocotools\\__init__.py -> build\\lib.win-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\\Main.py:381: 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\": https://visualstudio.microsoft.com/visual-cpp-
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
pyproject.toml-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