Skip to content

IsADirectoryError when trying to install on Ubuntu (Python 3.10) #259

Description

@Avatrin

I am currently getting this error:

scripts/setup_mason.sh: line 11: curl: command not found

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Traceback (most recent call last):
   File "/home/avatrin/Downloads/python-mapnik-master/setup.py", line 163, 
in <module>
     shutil.copyfile(f, os.path.join(
   File "/home/avatrin/mambaforge/lib/python3.10/shutil.py", line 254, in 
copyfile
     with open(src, 'rb') as fsrc:
IsADirectoryError: [Errno 21] Is a directory: '/usr/share/fonts/X11'

What I have done so far is:

I installed Mapnik using CMake

Installation kept failing when I followed the instructions here. However, I made a bit of progress by changing the value of mapnik_config in setup.py to the one I found through which mapnik-config. Now I am getting the error above, and I am lost. I do use Python 3.10.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions