!sENfoZnXsOePhaLRJE:matrix.org

poliastro

52 Members
Chat about poliastro, a Python library for Astrodynamics https://docs.poliastro.space17 Servers

Load older messages


Timestamp Message
11 Jan 2020
18:16:45@abhijeetmanhas:openastronomy.orgastromanhas (@abhimanhas:openastronomy.org) joined the room.
20:19:21@nieve:privacytools.ionieve joined the room.
13 Jan 2020
09:53:06@astrojuanlu:matrix.orgastrojuanlu oops, sorry for the late response kerel , I missed this message completely!
09:53:50@astrojuanlu:matrix.orgastrojuanlu not sure how that ended up happening only after installing ipykernel though
09:54:25@astrojuanlu:matrix.orgastrojuanluthe ipywidgets should only be needed to build the docs, am I right?
09:54:29@astrojuanlu:matrix.orgastrojuanlu welcome nieveand astromanhas (@abhimanhas:openastronomy.org) !
09:54:41@astrojuanlu:matrix.orgastrojuanlu * welcome nieveand astromanhas (@abhimanhas:openastronomy.org) !
12:23:35@kerel:matrix.orgkerel

astrojuanlu: I was running some plotting with poliastro inside the built-in python3 interpreter and it failed with

cannot import name 'FigureWidget' from 'plotly.graph_objs

(according to my browser history. I can't remember exactly what I did / the code). Installing ipywidgets fixed the problem (but I wasn't using ipython nor jupyter at this moment and it was not docs-related).

12:23:59@kerel:matrix.orgkerel *

astrojuanlu: I was running some plotting with poliastro inside the built-in python3 interpreter and it failed with

cannot import name 'FigureWidget' from 'plotly.graph_objs

(according to my browser history. I can't remember exactly what I did / the code). Installing ipywidgets fixed the problem (but I wasn't using ipython nor jupyter at this moment and it was not docs-related).

12:26:16@kerel:matrix.orgkerelI'll try to reproduce once I can remember exactly what I did (as at some point I'll certainly try to do the same^^).
13:05:25@astrojuanlu:matrix.orgastrojuanlu yep, FigureWidget depends on ipywidgets indeed
13:30:23@astrojuanlu:matrix.orgastrojuanlu however, since poliastro 0.13.0 FigureWidget is not used anymore kerel https://github.com/poliastro/poliastro/blob/3d6c802f101d3ad3c4f974e6b01cd134a0609cf2/docs/source/changelog.rst#bugs-fixed-1
13:39:04@kerel:matrix.orgkerelThanks, so apparently I had an outdated poliastro-version then. 🙈
14 Jan 2020
21:10:08@shreyasbapat:matrix.orgshreyasbapatOkay I got back after a long time, and my pip install -e is not working :/
21:10:11@shreyasbapat:matrix.orgshreyasbapatERROR: File "setup.py" not found. Directory cannot be installed in editable mode: /home/shreyas/Local Forks/poliastro (A "pyproject.toml" file was found, but editable mode currently requires a setup.py based build.)
21:10:18@shreyasbapat:matrix.orgshreyasbapatIs this because of flit?
21:10:43@shreyasbapat:matrix.orgshreyasbapatBecause if yes, we need to figure out what to do with Contribution Guidelines too
21:27:44@kerel:matrix.orgkerel shreyasbapat: Yes, this is because of flit, yes, contributing.rst needs a fix, the fix is:
21:28:27@kerel:matrix.orgkerelhttps://matrix.to/#/!sENfoZnXsOePhaLRJE:matrix.org/$NRUeYsiFx8I4k53QMjp0hQMxVbA5qlh7prOI55LTsxI?via=matrix.org&via=privacytools.io
21:28:34@kerel:matrix.orgkerel
flit install, or alternatively flit install --symlink
21:29:47@kerel:matrix.orgkerel

correction:

you'll need python -m pip install flit and then flit install, or alternatively flit install --symlink.

21:54:48@shreyasbapat:matrix.orgshreyasbapat Alright thanks kerel
22:07:19@shreyasbapat:matrix.orgshreyasbapatI made these doc changes in #834 . So that no one faces these issue again, along with some other changes :p
22:07:20@_neb_github:matrix.orgGithubhttps://github.com/poliastro/poliastro/pull/834 : Address changes in installation instructions and developer documentation
22:08:09@shreyasbapat:matrix.orgshreyasbapatAnd, is flit slow for everyone? Or it's just my internet?
22:15:36@shreyasbapat:matrix.orgshreyasbapatWell, still :/ The file description seems not to be valid rst for PyPI; it will be interpreted as plain text E-flit.validate <string>:58: (WARNING/2) Cannot analyze code. Pygments package not found. E-flit.validate Invalid config values (see log)
23:10:22@astrojuanlu:openastronomy.orgjuanluastro shreyasbapat I think you need `pip install pygments`
23:12:19@astrojuanlu:openastronomy.orgjuanluastroThanks for the fixes by the way!
15 Jan 2020
06:56:35@shreyasbapat:matrix.orgshreyasbapatYeah, I did that 😀
22:07:38@jorgepiloto:matrix.orgjorgepiloto changed their profile picture.

There are no newer messages yet.


Back to Room List