Giter Club home page Giter Club logo

Comments (11)

rmarianski avatar rmarianski commented on July 23, 2024

That error suggests that you don't have the latest version of the vector-datasource repo installed. Can you verify that it is indeed the latest master and that it's picking up the location you expect? python -c 'import vectordatasource; print vectordatasource.__file__'

Alternatively, you can use the latest tagged version and ensure that you have the exact dependencies that are mentioned.

from tileserver.

GloryPassarello avatar GloryPassarello commented on July 23, 2024

Hello!
I had this output:

Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: No module named vectordatasource

What should I do to install it?
Many thanks

from tileserver.

rmarianski avatar rmarianski commented on July 23, 2024
git clone https://github.com/mapzen/vector-datasource.git
cd vector-datasource
python setup.py develop

from tileserver.

GloryPassarello avatar GloryPassarello commented on July 23, 2024

Hi! Many thanks!
I have vector-datasource==1.4.0 now but this does not solve the issue...

from tileserver.

rmarianski avatar rmarianski commented on July 23, 2024

And the matching versions as well? See release notes.

tileserver v2.1.0 and tilequeue v1.8.0 and mapbox-vector-tile v1.2.0

from tileserver.

GloryPassarello avatar GloryPassarello commented on July 23, 2024

Hi! I have tilequeue v1.8.0 and mapbox-vector-tile v1.2.0 now...
Running python tileserver/__init__.py config.yaml,
I got another error:
Traceback (most recent call last): File "tileserver/__init__.py", line 4, in <module> from tilequeue.command import make_output_calc_mapping ImportError: cannot import name make_output_calc_mapping

from tileserver.

nvkelso avatar nvkelso commented on July 23, 2024

@GloryPassarello Do you have those tags checked out? I suspect you have master checked out instead in 1 or more of the repos.

from tileserver.

nvkelso avatar nvkelso commented on July 23, 2024

For instance, you'd need to checkout the latest release in this repo:

https://github.com/tilezen/tileserver/releases/tag/v2.1.0

from tileserver.

rmarianski avatar rmarianski commented on July 23, 2024

Based on that error it looks like you have tileserver master checked out. You'll want 2.1.0 of tileserver.

from tileserver.

gabefair avatar gabefair commented on July 23, 2024

@GloryPassarello did installing v2.1.0 of tileserver fix your issue?

from tileserver.

nvkelso avatar nvkelso commented on July 23, 2024

Closing for inactivity.

from tileserver.

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.