NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

0
1

I get this module Not found error in the pyosmium-get-changes script when I execute the command $/nominatim/build/utils/update.php --init-updates

The full error message : Traceback (most recent call last): File "/usr/local/bin/pyosmium-get-changes", line 32, in <module> from osmium.replication import server as rserv ModuleNotFoundError: No module named 'osmium.replication' Cannot execute pyosmium-get-changes. Make sure you have pyosmium installed correctly and have set up CONST_Pyosmium_Binary to point to pyosmium-get-changes. ERROR: pyosmium-get-changes not found or not usable string(44) "pyosmium-get-changes not found or not usable"

Content of my /nominatim/build/settings/local.php:

// base URL of the replication service @define('CONST_Replication_Url', 'http://download.geofabrik.de/europe/great-britain-updates'); // How often upstream publishes diffs @define('CONST_Replication_Update_Interval', '86400'); // How long to sleep if no update found yet @define('CONST_Replication_Recheck_Interval', '900');

I have installed the osmium 3.6.0 through pip, If I fire an "import osmium" on python terminal, there are no errors, but if I try executing the line "from osmium.replication import server as rserv" I get the error.

I need to update my database for the entire planet.

I've been following the steps mentioned in this article, specifically step #6 onwards https://www.linuxbabe.com/ubuntu/osm-nominatim-geocoding-server-ubuntu-20-04

Any help is appreciated, thank you!

asked 22 Feb '23, 11:54

Ashish's gravatar image

Ashish
11112
accept rate: 0%

edited 22 Feb '23, 12:02

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×38
×6
×2

question asked: 22 Feb '23, 11:54

question was seen: 497 times

last updated: 22 Feb '23, 12:02

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum