Code Monkey home page Code Monkey logo

Comments (3)

liying2008 avatar liying2008 commented on June 8, 2024

@splifter Did you use pip to install this package? If not, try installing it with pip :
pip install crx3 (possibly pip3 , depending on your environment).

If this still does not solve the problem, install the following dependencies:
pip install cryptography>=40.0.2 protobuf>=3.19.6

from python-crx3.

splifter avatar splifter commented on June 8, 2024

@liying2008 , sorry for the late reply.

The requirements are met but the error is persisting:

Requirement already satisfied: crx3 in site-packages (0.0.3)
Requirement already satisfied: cryptography>=40.0.2 in site-packages (from crx3) (41.0.7)
Requirement already satisfied: protobuf>=3.19.6 in site-packages (from crx3) (4.25.1)
Requirement already satisfied: cffi>=1.12 in site-packages (from cryptography>=40.0.2->crx3) (1.16.0)
Requirement already satisfied: pycparser in site-packages (from cffi>=1.12->cryptography>=40.0.2->crx3) (2.21)

from python-crx3.

liying2008 avatar liying2008 commented on June 8, 2024

@splifter
I wasn't able to reproduce the problem.

I installed the crx3 package on my computer and ran a sample code:

pip-install-crx3-and-run

sample code:

from crx3 import creator

if __name__ == '__main__':
    creator.create_private_key_file('output/example-extension.pem')
    creator.create_crx_file('example/example-extension', 'output/example-extension.pem',
                            'output/example-extension.crx')

Then I got the correct outputs:

project_structure

from python-crx3.

Related Issues (1)

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.