run on colab and error #34
alinemati45
started this conversation in
General
Replies: 1 comment 5 replies
-
Hi, it seems like your notebook is running on Linux platform. Please see this page (https://github.com/csgoh/roadmapper/wiki/installation) for additional steps to install Arial font on Linux. This is a known dependency for now, and the aim is to remove the reliance on the 'Arial' font for the Linux platform in the next release. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
thanks a lot for your afford.
I ran it on google colab, there is an issue here:
OSError Traceback (most recent call last)
in <cell line: 2>()
1 roadmap = Roadmap(400, 400, colour_theme="BLUEMOUNTAIN")
----> 2 roadmap.set_title("My Demo Roadmap")
6 frames
![image](https://private-user-images.githubusercontent.com/15809162/240032916-0031563b-8f4e-414c-bdd5-a9939f41fa69.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk3ODEyMzgsIm5iZiI6MTczOTc4MDkzOCwicGF0aCI6Ii8xNTgwOTE2Mi8yNDAwMzI5MTYtMDAzMTU2M2ItOGY0ZS00MTRjLWJkZDUtYTk5MzlmNDFmYTY5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE3VDA4Mjg1OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJjMDIxYzZiNTY0NDFkYWExMzRkNzg5NmU5ZDZiODE0ZDBkMmY2MjkxNzg2OGQyY2U1M2Y5ZTEyZTM5MDNlZDAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.U69Bv7NHTdaBapdu1eRA1V0JZsM0N3dLdf7-c2M7X0g)
/usr/local/lib/python3.10/dist-packages/PIL/ImageFont.py in init(self, font, size, index, encoding, layout_engine)
246 load_from_bytes(f)
247 return
--> 248 self.font = core.getfont(
249 font, size, index, encoding, layout_engine=layout_engine
250 )
Beta Was this translation helpful? Give feedback.
All reactions