by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Dr .Muhammad Anjum Iqbal
    @DrMuhammadAnju1_twitter
    @albertcamin me is also like you
    Dr .Muhammad Anjum Iqbal
    @DrMuhammadAnju1_twitter
    @vanvictorlim hi sir, need some help plz
    @pleabargain hi sir, need some help plz
    @mtesseracted hi sir, need some help plz
    @shuvrobiswas hi sir, i need some help plz
    @vanvictorlim hi sir, I need some help plz
    Dr .Muhammad Anjum Iqbal
    @DrMuhammadAnju1_twitter
    @basnijholt sir, are you there ? plz i need some help plz
    Dr .Muhammad Anjum Iqbal
    @DrMuhammadAnju1_twitter
    Please is there any one who can help me happily
    @albertcamin hi plz are you there , can help me plz?
    Dr .Muhammad Anjum Iqbal
    @DrMuhammadAnju1_twitter
    I am just new user
    for python, following is a crop simulation model and is written in python
    https://pcse.readthedocs.io/en/stable/
    https://pcse.readthedocs.io/en/develop/pcse_intro.html
    https://pcse.readthedocs.io/en/master/quickstart.html
    Sir, I want to know from where it should be started to understand and how I can rum in my note book
    how I can start please help me in this matter
    Dr .Muhammad Anjum Iqbal
    @DrMuhammadAnju1_twitter
    in my p.c already Python 3.5.2 and I want to update it new one which is python 3.7 version . how I can update it ?
    Florian Magin
    @fmagin
    I am currently trying to write a plugin for Binary Ninja to embed an IPython Kernel into the process environment of the application (to access the APIs and current state that are otherwise just available via a pretty bad custom interpreter they provide).
    It works for Python 2, but for Python 3 the kernel only seems to start, indicated by the the kernel-*.json file being dropped in /run/user/1000/jupyter and then not responding to the console trying to connect
    Florian Magin
    @fmagin
    The issue might be related to jupyter/jupyter_console#163 , at least the traceback I get when trying to connect is fairly similiar
    My question is: What can I do to debug this? Starting the kernel messes with stdout/stderr of the application and breaks the internal console so I might not be getting all error messages
    Dr .Muhammad Anjum Iqbal
    @DrMuhammadAnju1_twitter
    Hi colleagues , when I opened my jupyter file I got the meassage of "500 : Internal Server Error" but before this files were working , why this error message ?
    Todd A. Anderson
    @DrTodd13
    I have started an mpi ipcluster. then in ipython I do cluster=ipyparallel.Client(profile='mpi'). Then I do dview = cluster[:]. On that line I get the error NoEnginesRegistered: Can't build targets without any engines.
    Adam Ginsburg
    @keflavich

    I'm trying to start an ipython notebook on a server, and as soon as I open an actual notebook, the server freezes. With --debug enabled, the last thing I see is:

    [D 12:24:05.661 NotebookApp] Starting kernel: ['/lustre/naasc/users/aginsbur/anaconda/bin/python', '-m', 'ipykernel_launcher', '-f', '/users/aginsbur/.local/share/jupyter/runtime/kernel-16ac5137-2e89-4c1b-b31f-6327bcbd5967.json']
    [D 12:24:05.665 NotebookApp] Connecting to: tcp://127.0.0.1:56419

    after which the server is totally frozen and doesn't respond to anything, including ctrl-c; I have to kill -9 to end the process

    Can anyone suggest what might be going wrong, or how to figure it out? Regular ipython sessions work fine, loading other files (txt, png, etc) from the notebook server work, but not starting a notebook kernel.
    Dr .Muhammad Anjum Iqbal
    @DrMuhammadAnju1_twitter
    Hi i DO NOT KNOW , it is proper platform about my problem ! but if any body knows . please let me know . my question is "to get R in python for window "
    Dr .Muhammad Anjum Iqbal
    @DrMuhammadAnju1_twitter
    Hi Dears

    @DrMuhammadAnju1_twitter
    Sir, this website is not working ? why?

    https://www.learnpython.org/en/Basic_String_Operations

    runaway-xfce
    @runaway-xfce
    @runaway-xfce
    Hi, I'm trying to run this program:
    song = input("Tell me your favorite song: ")
    print(song)
    print(song)
    print(song)
    But everytime I run the program and write a name for the input shows up that the "name i wrote" is not definied
    Someones can help me please?
    Min RK
    @minrk
    @runaway-xfce input is the right line in Python 3, but if you are using Python 2, you want raw_input. input evaluates the text you input, so e.g. 5 becomes the number 5 instead of the text '5'
    Max
    @mbs77
    Hello, I am trying to get JupyterLab running on Ubuntu, but I am getting IPython errors with "NameError Traceback (most recent call last)"
    "NameError: name 'XXXXX' is not defined" no matter what I do, the code works perfectly in R
    Alex Gaudio
    @adgaudio
    Hello. I'm new to this channel and hoping someone can help with this question: I use IPython with "vi" mode. How can I add a configuration to enable "C-a" to move to beginning of line while in insert mode? I have this setting in my inputrc, but IPython does not read the inputrc file anymore. Thank you!
    sitalk
    @sitalk
    Hello everyone.
    Does anybody know if there is a way to get the cell tag (from the cell metadata) by using IPython ?
    Thanks in advance
    Jeff Zhang
    @zjffdu
    Hi everyone, where can I find the display protocol of jupyter notebook. especially on how jupyter update the cell output in streaming scenario. Thanks
    Min RK
    @minrk
    @zjffdu that's defined in the jupyter messaging protocol
    tbitowt
    @tbitowt
    Hello, I have a question regarding Pycharm integration. Are you able to get IPython completion in PyCharm IDE?
    I mean, I wrote my own completer by @complete_object, and it's not completing (even in PyCharm console)
    shaik sumiya
    @shaiksumiya_gitlab
    i have installed anaconda3.7.6 version but i am unable to access jupyter notebook. its showing permission to port denied. can u please help me
    Sidafa Conde
    @sconde
    @shaiksumiya_gitlab post the error
    Carlos del Cacho Vicente
    @delcacho
    hello, one quick question. How can I run some R lines at startup in IRKernel to customize the kernel for my users? In the Python kernel, I can pass a --config parameter with my extra options, but this does not seem to be available for R.
    Pinkmei
    @Pinkmei
    Dear Jupyter Experts, I installed statsmodels using pip with satisfaction in python. I have been trying to install statsmodels in Jupyter Notebook to run, however got ModuleNotFoundError. Can anyone help please? thank you.

    ModuleNotFoundError Traceback (most recent call last)

    <ipython-input-1-085740203b77> in <module>
    ----> 1 import statsmodels.api as sm
    ModuleNotFoundError: No module named 'statsmodels'

    I was puzzled that why statsmodels worked smoothly in python, why can't be found in Jupyter Notebook? Is there any step that I might be missing. Thank you in advance.
    JonB
    @JonB451
    Hi. Does anyone know please how to show which kernel iPython is connected to at the moment?
    Jeff Zhang
    @zjffdu
    Does anyone know what is the mechanism of ipython kernel's KeyboardInterrupt ? I have a backend service which run ipython kernel underneath, and use grpc to communicate with external process. But when I stop the external process, the ipython kernel would raise KeyboardInterrupt. I am very curious how that happens, because I never call any method to trigger KeyboardInterrupt, then how that happens. Could anyone help me ? Thanks
    Min RK
    @minrk
    KeyboardInterrupt is the Python exception raised by the signal handler for SIGINT
    So if "stop the external process" means sending SIGINT, e.g. via ctrl-C, that would happen
    Jeff Zhang
    @zjffdu

    So if "stop the external process" means sending SIGINT, e.g. via ctrl-C, that would happen

    ipython kernel only use rpc to communicate with other processes, and I don't find any method calls to sending SIGINT, is there any other case that will cause SIGINT ?

    Min RK
    @minrk
    The KernelManager sends SIGINT to the kernel process
    The kernel itself only receives SIGINT
    the signal comes from the notebook server or other parent process
    in a notebook example, an HTTP POST from the browser is handled here which sends SIGINT here
    Jeff Zhang
    @zjffdu

    the signal comes from the notebook server or other parent process

    My use case is also notebook, I only trigger interprut via this method, but it is never called when the external process is terminated, this make me curious how the interrupt happens, https://github.com/apache/zeppelin/blob/master/zeppelin-jupyter-interpreter/src/main/resources/grpc/jupyter/kernel_server.py#L144

    Min RK
    @minrk
    how is termination implemented? It may be sending SIGINT as part of the polite request to shut down.