Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Installation in venv fails tests: ImportError: cannot import name 'FigureWidget' #629
Installing via pip in a venv fails because not all requirements are specified in the package.
When installing in a Python 3.6.7 venv using Pip 9.0.1, running
This is the same as santosjorge/cufflinks#130.
Poliastro doesn't work when installed from Pip, and it should.
Very easy to solve: add ipython and ipywidgets to your requirements. I have tested this solution and it works on the version I specified.
Hi @NoraCodes, thanks for reporting this issue!
Unless we missed something, the official way of installing poliastro with pip is
(which is the only place that mentions pip)
However, I understand that people browsing PyPI will be tempted to copy paste
Understood. I didn't realize that, sorry!
Is it possible that I've misunderstood the use case for the library? I'm planning to write a command line application that generates plots to image files, without ever touching an interactive interface. So far, poliastro seems to work great for this.
Not at all! We are still focused on interactive visualization and easy API. But we want to make it easier for people doing "just" number crunching :)
That sounds awesome! In case it's useful, the