2.10.4 installation / FATAL - Cant install CairoSVG
See original GitHub issueI could install 2.10.4 a few weeks ago on my prod server. PnCevennes got an error when trying to install it yesterday. So I tried to install it on my test server and got the same error.
Install Geotrek python dependencies...
Could not setup python environment !
install.log
ends with :
TypeError: 'encoding' is an invalid keyword argument for this function
An error occurred when trying to install CairoSVG 2.0.0rc2. Look above this message for any errors that were output by easy_install.
While:
Installing django.
Getting distribution for 'CairoSVG>=0.4.1'.
Error: Couldn't install: CairoSVG 2.0.0rc2
make: *** [env_standalone] Erreur 1
+ success=2
+ '[' 2 -ne 0 ']'
+ exit_error 3 'Could not setup python environment !'
+ code=3
+ shift
+ echo_error 'Could not setup python environment !'
+ set +x
+ echo '(More details in install.log)'
(More details in install.log)
+ exit 3
@amandine-sahl could make it work by replacing
eggs/WeasyPrint-0.23-py2.7.egg/EGG-INFO/requires.txt:5:CairoSVG==1.0.20
by
eggs/WeasyPrint-0.23-py2.7.egg/EGG-INFO/requires.txt:5:CairoSVG>=0.4.1
But not sure it is a clean solution.
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
python 3.x - cairosvg installed but ImportError - Stack Overflow
I just installed cairosvg and it seems to have worked. If i try to install again it says: $ pip install cairosvg. Requirement...
Read more >CHANGELOG — Geotrek 2.94.0+dev documentation
Add mobile nginx configuration directly on Geotrek-admin. Bug fixes ... Fix svg's fixtures wich cannot be tranform as png with cairosvg.
Read more >Documentation - CairoSVG
How to use CairoSVG? Installation. CairoSVG is available on PyPI, you can install it with pip: $ pip3 install cairosvg.
Read more >MidnightBSD - DistroWatch.com
All coming pre-installed and ready-to-run with Ubuntu or openSUSE. ... freetype2-2.10.4.mport ... p5-Test-Fatal-0.014.mport
Read more >Browse Portage - Gentoo Linux Howtos
375359, Applications, scheme, UNCONFIRMED, dev-scheme/slib ebuild scripts cannot find installed drscheme, 2013-02-06 06:05:35.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Know problem in Weasyprint : https://github.com/Kozea/WeasyPrint/pull/323 Just need to upgrade Weasyprint to version 0.29 that fixes it.
Fixed in 2.11.0.