Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Avatrin opened this issue Sep 9, 2022 · 0 comments
Open

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

Avatrin opened this issue Sep 9, 2022 · 0 comments

Comments

@Avatrin
Copy link

Avatrin commented Sep 9, 2022

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.

@Avatrin Avatrin changed the title IsADirectoryError when trying to install Python-mapnik on Ubuntu IsADirectoryError when trying to install on Ubuntu Sep 9, 2022
@Avatrin Avatrin changed the title IsADirectoryError when trying to install on Ubuntu IsADirectoryError when trying to install on Ubuntu (Python 3.10) Sep 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant