Package Details: phyghtmap 2.21-1

Git Clone URL: (read-only, click to copy)
Package Base: phyghtmap
Description: Generate OSM contour lines from NASA SRTM data
Upstream URL:
Licenses: GPL2
Submitter: beej
Maintainer: fordprefect (sowieso)
Last Packager: fordprefect
Votes: 4
Popularity: 0.000021
First Submitted: 2013-10-01 18:16
Last Updated: 2019-03-04 11:52

Latest Comments

sikmir commented on 2018-07-20 20:20

Traceback (most recent call last):
  File "/usr/bin/phyghtmap", line 11, in <module>
    load_entry_point('phyghtmap==2.0', 'console_scripts', 'phyghtmap')()
  File "/usr/lib/python3.6/site-packages/pkg_resources/", line 476, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3.6/site-packages/pkg_resources/", line 2700, in load_entry_point
    return ep.load()
  File "/usr/lib/python3.6/site-packages/pkg_resources/", line 2318, in load
    return self.resolve()
  File "/usr/lib/python3.6/site-packages/pkg_resources/", line 2324, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python3.6/site-packages/phyghtmap/", line 17, in <module>
    from phyghtmap import hgt
  File "/usr/lib/python3.6/site-packages/phyghtmap/", line 10, in <module>
    from matplotlib import _cntr
ImportError: cannot import name '_cntr'

UPD: updating to 2.20 solves the problem.

melvinvermeeren commented on 2017-10-19 15:02

@fordperfect seems to work fine now, thanks for quick update.

fordprefect commented on 2017-10-19 14:46

@melvinvermeeren: thank you, I implemented the python3 move. Since I am not able to test atm, could you confirm this does the trick?

melvinvermeeren commented on 2017-10-19 13:12

I got "ImportError: cannot import name request" with the current python2 PKGBUILD. Upstream indicates python >= 3.0 is supported, so I updated the PKGBUILD locally. Seems to work fine now (--help works at least).

The diff is listed below in case you want to update (pkgrel not bumped in diff).
I also added optdepend for python-gdal. Thanks for maintaining.

diff --git a/PKGBUILD b/PKGBUILD
index d4e8514..a3aa6ef 100644
@@ -7,19 +7,20 @@ arch=('any')
- 'python2'
- 'python2-beautifulsoup3'
- 'python2-matplotlib'
- 'python2-numpy'
+ 'python'
+ 'python-beautifulsoup4'
+ 'python-matplotlib'
+ 'python-numpy'
+optdepends=('python-gdal: support for GeoTiff input files')

package() {
cd "$srcdir/$pkgname-$pkgver"
- python2 install --root="$pkgdir/" --optimize=1
+ python install --root="$pkgdir/" --optimize=1

# vim:set ts=2 sw=2 et:

fordprefect commented on 2015-08-04 17:40

i see this is updated upstream, but since i am on vacation with barely any internet (windows only etc) this version bumb will have to wait until i return late august.
version bump sould be fairly easy.

thanks for flagging!

beej commented on 2013-10-02 20:06

It was working for me with beautifulsoup4, but I'll switch it to 3 and add the build dep. Thanks!

Dragonlord commented on 2013-10-02 19:57

FYI: The correct dependency seems to be python2-beautifulsoup3 and python2-setuptools are needed for successfull build.