Code Monkey home page Code Monkey logo

Comments (3)

agrenott avatar agrenott commented on June 13, 2024

I think the warning is telling you to install using pip install . instead of ./setup.py.
Another solution seems to be to upgrade setuptools itself: https://stackoverflow.com/questions/73257839/setup-py-install-is-deprecated-warning-shows-up-every-time-i-open-a-terminal-i

from pyhgtmap.

extremecarver avatar extremecarver commented on June 13, 2024

Ah I tried this before your patch and forgot about it.
So for Ubuntu 22.04 it should be added to instructions that in addition you need to install PIP???
sudo apt-get install pip
pip install setuptools

(I don't think the older 58.0.2 version is needed - it was just the most up to date at the time of that comment).
I would not understand how to use pip install instead of the build file - I think in that case we would need some instructions for pip too - but I really don't know how pip works. Can only remember using it once a long time ago.

from pyhgtmap.

agrenott avatar agrenott commented on June 13, 2024

I guess the proper way of installing it on Ubuntu inside a virtualenv (as I find it cleaner) would be something like:

sudo apt update
sudo apt install python3 python3-pip python3-venv
# Install GDAL via system package, as it's painful to install through PIP
sudo apt install python3-gdal 
# Create virtual env
python3 -m venv my_venv
# Switch to venv
. ./my_venv/bin/activate
# Install phyghtmap with dependencies from latest git version
pip install git+https://github.com/agrenott/phyghtmap.git

from pyhgtmap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.