Coder Social home page Coder Social logo

Comments (5)

dbluhm avatar dbluhm commented on June 25, 2024

Thanks for pointing this out! With the version of pip installed on my system, it is able to find the intended package but it did emit the following:

WARNING: Generating metadata for package acapy-plugin-toolbox produced metadata for project name aries-acapy-plugin-toolbox. Fix your #egg=acapy-plugin-toolbox fragments.

The README is due an update but in the meantime correcting the command to:

pip install git+https://github.com/hyperledger/aries-acapy-plugin-toolbox.git@master#egg=acapy_plugin_toolbox

seems to do the trick (Note the underscores instead of dashes).

from aries-acapy-plugin-toolbox.

jordanmmck avatar jordanmmck commented on June 25, 2024

Thanks for the response. Unfortunately I'm getting the same error with that command.

I'm not sure if this is related, but I'm also getting some pip dependency version conflicts when I do pip install -e . in the acapy repo (not sure if this is a problem for this repo, or for that one?). If I just run that pip install I get:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
aries-acapy-plugin-toolbox 0.1.0 requires marshmallow==3.0.0, but you have marshmallow 3.5.1 which is incompatible.

But then if I do pip install marshmallow==3.0.0 I get:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
aries-cloudagent 0.6.0rc0 requires marshmallow==3.5.1, but you have marshmallow 3.0.0 which is incompatible.

So there seems to be a dep conflict?

edit: I think I'm getting this error because I tried the following command and it seemed to install the plugin:

pip install git+https://github.com/hyperledger/aries-acapy-plugin-toolbox.git@master

Note that I removed everything after the branch name. So, it seemed to install, but then as noted above, it now fails because of a dependency conflict. Though maybe this is because it's now installed incorrectly?

from aries-acapy-plugin-toolbox.

dbluhm avatar dbluhm commented on June 25, 2024

Hm. Despite the warning of incompatibility, I think the toolbox plugin should be working with either version of marshmallow. I have seen this error while switching between different ACA-Py versions but have largely ignored them (from what I remember at least) with no adverse side effects.

What versions of python and pip are you using? OS and any other details you feel might be relevant would be helpful as well. I'm not terribly familiar with the nuances of pip git repo support but given that dropping the egg fixed it seems to indicate that might have been the cause of your earlier problem.

While on the subject of deficiencies of the README as it stands and noticing the version mentioned in that error, I'll take the opportunity to also let you know that the most recent version of ACA-Py currently supported by the toolbox plugin is 0.5.3. I'm actively working to address this and we should have a release supporting 0.6.0 once the ACA-Py team pushes it. This dependency issue should also be resolved at that point as the toolbox plugin will be updated to match ACA-Py's. If you're interested, you can follow that line of development here: https://github.com/dbluhm/aries-acapy-plugin-toolbox/tree/update/aca-py-0.6.0rc0

from aries-acapy-plugin-toolbox.

jordanmmck avatar jordanmmck commented on June 25, 2024

I got it to run using your 6.0rc branch. Thanks for the help!

from aries-acapy-plugin-toolbox.

TheTechmage avatar TheTechmage commented on June 25, 2024

Based upon the last response, and the fact that this issue was last commented on nearly a year ago, I will be closing this issue.

from aries-acapy-plugin-toolbox.

Related Issues (16)

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.