Giter VIP home page Giter VIP logo

Comments (5)

Alexboiboi avatar Alexboiboi commented on June 12, 2024

Hi @SoundDesignerToBe,

thank you for taking the time to describe your problem ;)

The readthedocs link you provided points to the latest Magpylib main branch version and yet to be released.

The newly added show_context context manager for coupled subplots is going to be included in the next release (v4.4) very soon. The documentation is still work in progress.

However, if you still want to test this feature you will need to install Magpylib from source:

pip install git+https://github.com/magpylib/magpylib@main

Hope this helps, Alex -

@OrtnerMichael Maybe we should not let the docs/latest point to the main branch, but instead to the latest release (like before), to avoid this kind of misunderstandings?

from magpylib.

OrtnerMichael avatar OrtnerMichael commented on June 12, 2024

Agreed.

Was not even aware that show_context is already documented :).

from magpylib.

SoundDesignerToBe avatar SoundDesignerToBe commented on June 12, 2024

Hi Alex,

thank you for the quick reply and the help. It is indeed a bit confusing as it displays 4.3.0 in left upper corner when it points somewhere else.

I intended to install within my pipenv environment to make this work.
I tried different install command variations, but I kept getting the error when executing the script from my initial question.

Within the active environment:

  • pip install git+https://github.com/magpylib/magpylib@main reports no errors
  • pipenv run pip install git+https://github.com/magpylib/magpylib@main reports no errors
  • pipenv install git+https://github.com/magpylib/magpylib@main fails asking for a #egg specification

I hoped to have found a solution, but running

  • pipenv install git+https://github.com/magpylib/magpylib#egg=magpylib
    ... executed successfully, but the issue remained.

  • pipenv install git+https://github.com/magpylib/magpylib#egg=magpylib@main
    raises an InstallationError, Invalid requirement: 'magpylib@main'.

I fixed this the quick and dirty way now, by setting up a new environment with virtualenv instead and used the 'pip install ...' command. This works for me.

from magpylib.

OrtnerMichael avatar OrtnerMichael commented on June 12, 2024

@Alexboiboi magpylib docu now has main as standard branch (not latest anymore). This should stop confusions that led to this issue. Thanks @SoundDesignerToBe for pointing it out.

Can we close this issue then ?

from magpylib.

SoundDesignerToBe avatar SoundDesignerToBe commented on June 12, 2024

Thank you!

from magpylib.

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.