New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ipython won't start #11678
Comments
Now we found |
You likely want to deactivate the history which is using sqlite. I'm not quite sure I rememeber the config for this.
That is unlikely; IPython 6 will not work on Python 2. Make sure your IPython are using the correct Python, that might help you to solve things. to be sure you can use |
Thanks for the comment.
|
Can you try |
I tried |
I have encountered the same problem, and have tried the following:
I am trying to run IPython on an HPC with CentOS v7.6.1810, accessed via SSH. It worked just fine a week ago, but then the HPC was physically relocated. Since the relocation, even though nothing new has been installed or updated on the head node, IPython now hangs while looking for "ipython_config". The only notable hardware change was the replacement of a network switch. Python works, conda works, and Java works, but I cannot launch the IPython kernel for an interactive shell or for a Jupyter notebook. |
It looks like the problem has been previously addressed, as the following comment can be found in jupyter_core/dotipython/profile_default/ipython_config.py:
We were having the aforementioned NFS problem, and IPython did not hang when I used the example command. In our case, the ultimate solution was to update our NFS to version 4.x. Is there any way to catch this problem and return a descriptive error message, instead of hoping someone will read the entirety of ipython_config.py for an answer? |
I also have the same problem. I tried creating empty files at the mentioned directories and it still doesn't work. I work on windows, installed python through chocolatey and the installers too and intalled ipython using pip. |
hi, this instruction helps starting i run at some point, $ ipython --log-level=DEBUG
[TerminalIPythonApp] IPYTHONDIR set to: path-to-home/.ipython
[TerminalIPythonApp] Using existing profile dir: 'path-to-home/.ipython/profile_default'
[TerminalIPythonApp] Searching path ['path-to-home', 'path-to-home/.ipython/profile_default', 'path-to-home/anaconda3/etc/ipython', '/usr/local/etc/ipython', '/etc/ipython'] for config files
[TerminalIPythonApp] Attempting to load config file: ipython_config.py
[TerminalIPythonApp] Looking for ipython_config in /etc/ipython
[TerminalIPythonApp] Looking for ipython_config in /usr/local/etc/ipython
[TerminalIPythonApp] Looking for ipython_config in path-to-home/anaconda3/etc/ipython
[TerminalIPythonApp] Looking for ipython_config in path-to-home/.ipython/profile_default
[TerminalIPythonApp] Loaded config file: path-to-home/.ipython/profile_default/ipython_config.py
[TerminalIPythonApp] Looking for ipython_config in path-to-home how to fix this without there is a file in for now, i created an alias |
hi,
However, starting ipython via sudo works. Perhaps permission problem ? --force-reinstall does not help |
A solution without updating NFS, alias-ing or symlinking based on this:
|
For reference, this solved my issue which jupyter-lab was not able to create a new notebook and just hangs trying to create one. |
Now I'm facing that ipython won't start without any error messages.
I tried to run it with DEBUG, then the command will be "uninterruptible sleep" after the logs.
Another system also has the same problem
It should be noted that It is on a cluster machine, not own PC. I guess it is related to permission problems thus far (without any reasons).
The text was updated successfully, but these errors were encountered: