Octoframes / jupyter_capture_output

A cellmagic that captures celloutput such as text, image or video to files.
https://octoframes.github.io/jupyter_capture_output/
MIT License
31 stars 0 forks source link

Problems installing #1

Closed jingxuanlim closed 2 years ago

jingxuanlim commented 2 years ago

Hello. I was looking for a solution to export my jupyter cells and arrived at this repo from here.

Would love to give this a shot, but ran into some installation problems.

$ pip install jupyter_capture_output
ERROR: Could not find a version that satisfies the requirement jupyter_capture_output (from versions: none)
ERROR: No matching distribution found for jupyter_capture_output

Appreciate any help/suggestions. Thanks!

kolibril13 commented 2 years ago

Hello @jingxlim, thanks for the report! This package only runs with a python version >=3.8. Are you maybe on python 3.7 or 3.6 ?

jingxuanlim commented 2 years ago

Hi @kolibril13. Yes, you are right -- I am on 3.6.

I was able to install it in a different env though! Thanks for the tip!

By the way, does jupyter-capture-output only work for matplotlib plots? I tried it on some print statements but it didn't work.

kolibril13 commented 2 years ago

Nice! I'll update the README accordingly. Right now, only png images are captured, no matter if they come from matplotlib, manim or PIL etc. (See here). But in future it would be nice to have also implementations to capture text, SVGs or even video output!

jingxuanlim commented 2 years ago

Got it. Yeah, that would be great! A viable solution to exporting just some parts of the notebook -- that I understand is not possible with the vanilla export function -- would be great! Keep up the good work!

kolibril13 commented 2 years ago

I'll see if I find the time to implement these features, and thanks for your appreciation! I am closing this issue now.