Git Product home page Git Product logo

Comments (4)

hugoledoux avatar hugoledoux commented on July 19, 2024

Which versions of cjio and cjvalpy do you fetch with pip?

pip list | grep "cj"
cjio                      0.9.0
cjvalpy                   0.4.1

from cjvalpy.

sugizo avatar sugizo commented on July 19, 2024
pip list | grep "cj"

cjio                             0.9.0
cjvalpy                          0.2.1

env
google colab

already try
pip install -U cjvalpy cjio

still got 0.2.1 version
for cjvalpy

best regards

from cjvalpy.

hugoledoux avatar hugoledoux commented on July 19, 2024

I assume you're using Linux then? A bug prevented me from compiling the bindings for linux from v0.3, so you'll have to compile them yourself, just follow this and it takes 5min: https://github.com/cityjson/cjvalpy?tab=readme-ov-file#if-you-want-to-compile-it-yourself

from cjvalpy.

sugizo avatar sugizo commented on July 19, 2024

yes, ubuntu jammy

steps works on shell and python, thanks

!apt update
!apt install -y cargo
pip install -U maturin cjio
!rm -rf cjvalpy && git clone https://github.com/cityjson/cjvalpy && cd cjvalpy && maturin build --release && cd ./target/wheels/ && pip install cjvalpy-*.whl
!curl -LC - https://www.cityjson.org/tutorials/files/twobuildings.city.json -o two_buildings.city.json
!cjio two_buildings.city.json validate

from cjvalpy.

Related Issues (1)

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.