Giter Site home page Giter Site logo

Comments (3)

saifullah5302411224 avatar saifullah5302411224 commented on August 15, 2024

Traceback (most recent call last):
File "pdf-sign-cms.py", line 49, in
main()
File "pdf-sign-cms.py", line 37, in main
datas = pdf.cms.sign(datau, dct,
File "C:\Python38\lib\site-packages\endesive\pdf\cms.py", line 501, in sign
return cls.sign(datau, udct, key, cert, othercerts, algomd, hsm, timestampurl)
File "C:\Python38\lib\site-packages\endesive\pdf\cms.py", line 399, in sign
self.makepdf(prev, udct, algomd, zeros)
File "C:\Python38\lib\site-packages\endesive\pdf\cms.py", line 234, in makepdf
from endesive.pdf.PyPDF2_annotate.annotations.text import FreeText
File "C:\Python38\lib\site-packages\endesive\pdf\PyPDF2_annotate_init_.py", line 2, in
from .annotator import PdfAnnotator
File "C:\Python38\lib\site-packages\endesive\pdf\PyPDF2_annotate\annotator.py", line 15, in
from .annotations.image import Image
File "C:\Python38\lib\site-packages\endesive\pdf\PyPDF2_annotate\annotations\image.py", line 19, in
from .rect import RectAnnotation
File "C:\Python38\lib\site-packages\endesive\pdf\PyPDF2_annotate\annotations\rect.py", line 13, in
from ..config.appearance import set_appearance_state
File "C:\Python38\lib\site-packages\endesive\pdf\PyPDF2_annotate\config\appearance.py", line 10, in
import attr
ModuleNotFoundError: No module named 'attr'

error log in above

from endesive.

peuhrdf avatar peuhrdf commented on August 15, 2024

It worked for me:

pip install attrs

from endesive.

m32 avatar m32 commented on August 15, 2024

dependencies updated in setup.py

from endesive.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.