Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    agoose77
    @agoose77:matrix.org
    [m]
    But you can also do it from the commandline if you should need
    Gustavo Rodrigues dos Reis
    @reis.rodrigues.gustavo_gitlab
    However if we have, for instance, two new consoles, how the kernel could know in which interface it will send the results to? Running code in a console would end up shown in the notebook or the other console only if the kernel is instructed to do it?
    Because I could verify they share the same values for variables but do they see or control each other?
    Toni Martínez
    @tonimc
    I'm looking for a way to set env variables, I've used the webpack approach but with prebuilt extensions, I have to create a package for each environment. Looking for a solution I'm taking a look at PageConfigbut I didn't find a way to add more properties to it from a config file or some place which I can set on each environment without touching in the extension
    1 reply
    agoose77
    @agoose77:matrix.org
    [m]
    @tonimc: what do you mean be env variables?
    2 replies
    I'm not quite sure how this connects to JupyterLab extensions?
    17 replies
    agoose77
    @agoose77:matrix.org
    [m]
    Is the API running as a server extension?
    5 replies
    @tonimc I would approach this by having the ENV-dependency handled by a server extension with a well-defined route, and then your frontend extensions do not need to be rebuilt
    8 replies
    agoose77
    @agoose77:matrix.org
    [m]
    @tonimc: You might want to look at jupyter_server_proxy which has some overlaps with what you're doing
    Jason Grout
    @jasongrout
    @reis.rodrigues.gustavo_gitlab - kernel output is broadcast to all clients, but carries with it metadata that indicates which client caused the output to happen. So every client could display all the output, but a client may choose to not display it.
    If you started a jlab code console, you can right-click and select an option to have that code console show all execution and output from all clients, for example
    A notebook typically ignores any output from any other client other than itself
    Gustavo Rodrigues dos Reis
    @reis.rodrigues.gustavo_gitlab
    @jasongrout could I set a notebook to not ignore the output of other clients in the same kernel?
    Gustavo Rodrigues dos Reis
    @reis.rodrigues.gustavo_gitlab
    I was searching for a manner to execute Ipython.display.display() in an ipython instance running in a console connected to an opened notebook kernel but seeing the result in the notebook
    nehawankar174
    @nehawankar174

    Hello All,
    I am new to Jupyter Lab. I wanted to add test-extension of JavaScript with the npm in jupyter lab. I am using Conda for installation. Can anyone guide me for the same?
    Your help will be really appreciated.

    Thanks in advance!

    6 replies
    Jason Grout
    @jasongrout

    could I set a notebook to not ignore the output of other clients in the same kernel?

    @reis.rodrigues.gustavo_gitlab - not right now. there would of course the be the question of where to put it if you could

    Gustavo Rodrigues dos Reis
    @reis.rodrigues.gustavo_gitlab
    Oh I see, thanks for your help @jasongrout :) I was thinking in putting it at the very bottom of the page, as if I just had created a cell
    But since it is not possible for now I'll wait, do you know what feature could I be watching to know the evolution of this possibility? (If it is planned of course)
    have created*
    Darin Richards
    @DarinRichards_gitlab
    Where would I go to ask for a modification to Jupyter
    agoose77
    @agoose77:matrix.org
    [m]
    @DarinRichards_gitlab: if it's a feature that you think many people would like, you can raise a feature request issue on GitHub. https://github.com/jupyterlab/jupyterlab/issues/new/choose
    Otherwise, you need to motivate someone to make the change in an extension ( or do it yourself )
    Darin Richards
    @DarinRichards_gitlab
    Thank you @agoose77:matrix.org :)
    Eduardo Blancas
    @edublancas
    Hi. Is there any way to submit a proposal to present at the Jupyter community meeting? I'd like to present my open-source project. I couldn't find anything in the community page.
    5 replies
    0.618
    @0618_twitter

    Hi folks! I have a question about the example folder. After I run python main.py (followed this instruction), I got an error saying:

    Traceback (most recent call last):
    File "main.py", line 17, in <module>
    from jupyterlab_server import LabServerApp
    ImportError: No module named jupyterlab_server

    I did pip3 install --upgrade jupyterlab_server, but it doesn’t help.

    Did I miss anything? Thanks!

    agoose77
    @agoose77:matrix.org
    [m]
    0618_twitter (0.618) what happens when you run python -m pip list vs pip3 list
    1 reply
    agoose77
    @agoose77:matrix.org
    [m]
    @0618_twitter you won't have a module named pip3 - did you run the commands that I typed?
    1 reply
    :point_up: Edit: 0618_twitter (0.618) what happens when you run # python -m pip list vs # pip3 list
    :point_up: Edit: 0618_twitter (0.618) what happens when you run # python -m pip list vs # pip3 listwithout the #
    agoose77
    @agoose77:matrix.org
    [m]
    0618_twitter (0.618) this means that the program that pip3 resolves to is not using the same python binary.
    1 reply
    frrrost
    @frrrost

    Hello!

    I just updated to JupyterLab 3.0.4 and when I type “jupyter lab” I see it’s starting, but address “localhost:8888/lab” returns error 404
    Although, "localhost:8888/tree" works just fine.
    I have some lab extensions and I am sure it might be the case, but I have no idea, where to look?
    Can I turn on some log or use anything else to find out, who’s throwing 404 and why?

    1 reply
    agoose77
    @agoose77:matrix.org
    [m]
    @frrrost: that suggests that lab isn't loading, just the notebook. I wouldn't expect to see /tree working and not /lab, so I wonder if something's amiss regarding configuration.
    JupyterLab 3.x should use Jupyter Server, can you run jupyter server extension list?
    Also, can you share the console output from when you start JupyterLab?
    1 reply
    agoose77
    @agoose77:matrix.org
    [m]
    That's an interesting error. I don't recall seeing it reported before. Can you create a clean env and try again?
    frrrost
    @frrrost
    Ok, I'll try, but it will take some time. I am more an analitic than python programmer :)
    3 replies
    MuppetPasta
    @MuppetPasta
    Q: is there a currently working cdn url for notebook statics? I'm seeing ssl errors on cdn.jupyter.org (I assume that's no longer maintained or something)
    1 reply
    brondou666
    @brondou666
    I want to install the jupyternotebook development environment on centos7 and use IDEA for breakpoint debugging, but the community information only uses jupyter notebook to start after pip install. How should I start? Can someone help me?
    agoose77
    @agoose77:matrix.org
    [m]
    @frrrost: ah easily done :P
    Kushal
    @moustacheman1
    Is there anything in Jupyter notebooks where my notebook code can go in 3 different ways and you can run them individually like so:
                                    |
                             current code
                                     |
                                     | 
                            /                \
                     code                  code
              that does x           that does y
    ?
    sorry if this is a dump question
    enzotib
    @enzotib
    Hi, I am new to jupyter and sympy. How to make print to output MathJax? `
    2 replies
    Alex Rogozhnikov
    @arogozhnikov

    Hello,
    I want "notebook.myipynb" and other files with myipynb extension to be opened as notebooks.

    I've patched contentsmanager to return *.myipynb as notebook models. Jupyter Notebook properly renders this as a notebook, but not Jupyterlab. How do I fix this?

    I'm a bit lost where to look for this logic in the code and if this is somewhat configurable
    brondou666
    @brondou666
    Hello everyone, I want to debug and execute through breakpoints in REDHAT7.5 +Pycharm. Is there any way to build such an environment? Is it only possible to install the source package through pip install?
    enzotib
    @enzotib:matrix.org
    [m]
    in IPython Notebook, how to have markdown heading not numbered?
    1 reply
    brondou666
    @brondou666
    How does Prometheus use the data returned by the /metrics API? I found that I need to log in to return the data. How to set it up? Does anyone know?
    enzotib
    @enzotib:matrix.org
    [m]
    In classic notebook interface I don't know how to do the same, but luckily I don't use classic notebook