Why not ask your question on the new OpenStreetMap Community Forum?


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, 11:54

Ashish's gravatar image

accept rate: 0%

edited 22 Feb, 12:02

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

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



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:


question asked: 22 Feb, 11:54

question was seen: 409 times

last updated: 22 Feb, 12:02

powered by OSQA