Guest User

Untitled

a guest
Nov 24th, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. it is not that simple, Odoo code still depends on the old unmaintained python-pypdf
  2.  
  3. However, there is an easy workaround : create a fake python-pdf package and install python-pyPdf from Pipy (Python repository). All of this will be done as root :
  4.  
  5. install equivs to create fake packages and python-pipto install package from Python repository
  6. run equivs-control python-pypdf, this will create and populate the file python-pypdf
  7. edit the file like below (dot and space under "Description" are mandatory) :
  8. Section: python
  9. Package: python-pypdf
  10. Version: 1.13
  11. Description: fake package to provide python-pypdf
  12. python-pypdf will need to be installed with pip
  13. .
  14. python-pypdf2 does not provide python-pypdf
  15. run equivs-build python-pypdf this will create the fake package python-pypdf_1.13_all.deb
  16. install the package with dpkg -i python-pypdf_1.13_all.deb
  17. run pip install pyPdf
  18. restart Odoo
Add Comment
Please, Sign In to add comment