No autocompletion with the ipdb prompt when using Spyder - python

I'm using Spyder for my python programming.
I'm having a problem when I use the debugfile (F7) command/function.
Once in the ipdb prompt I have no autocompletion and the up arrow action (for the history of commands) does not work.
When I'm using IPython on the terminal (I'm on MacOS) everything works fine.
I have installed Spyder, ipdb, and IPython using macport.
When I've tried installing with anaconda, the same problem occurs.
Do you have any idea of what's happening?
Thanks

(Spyder dev here) This is a limitation of the new, kernel-based architecture of IPython. We're planning to create a workaround over it and also significantly improve our debugging facilities next year, as can be seen in our Roadmap.

Related

Do I need to install Python if I already have the Anaconda distribution installed and want to use other text editors?

I am new to Python and programming in general and have been using Spyder IDE from the Anaconda distribution for the past few months on Windows 10. It has been really simple and easy to download and use, and I can run all of my code within the IDE, so it has easy for me to begin learning Python.
I have now become more interested in Python and learning to code and am looking to try other text editors like VS Code or Sublime Text. I was wondering, however, if I need to download and install python to be able to run my code in a terminal or will my current Anaconda install be fine to run the code?
If I do need to download Python, will there be any conflicts by having Anaconda installed?
Sorry if I've used the wrong terminology or it's not clear.
No, anaconda downloads the python interpreter/compiler as apart of the package. But if you want to check to make sure, check your python version in the command line (here's a walkthrough on how to do that: https://blog.finxter.com/how-to-check-your-python-version/)
Also, if you did have it downloaded and re-downloaded python again, there wouldn't be any adverse effects. At worst it overwrites your original python file (which isn't a big deal considering they contain the exact same thing) and at best you'll update your version of python.
VS Code or Sublime Text will work fine for editing and running scripts, but are not required. Anaconda comes with the Spyder IDE.
The answer for you will be No.
if you already had anaconda installed in your laptop, once you open it up you will realized you can install Python within the software.
Anaconda will not only included Python, R also will be included.
Spider or Jupiter notebook can be used for edit your Python scripts.

Spyder display balloon tips and code auto completion not working in Anaconda Navigator Mac OS Sierra

Spyder v.3.1.3 balloon tips and autocomplete are not working despite being enabled. Utilizing Spyder with Python v.3.5.2 in Anaconda Navigator v.1.4.3 on MacOS Sierra. I have attempted multiple reboots, and disabled / re-enabled the features. Initially these weren't working on an earlier version of Spyder and then I upgraded and they worked briefly.
Any insight as to what is causing this issue and how to fix it would be greatly appreciated.
I have perused a few other threads, but no definitive answers
Spyder Autocomplete Not Working - outlines almost exact same problem, but no solution. Also I am not using IPython or any external packages, just the native python 3 modules.
https://github.com/spyder-ide/spyder/issues/2162
(Spyder developer here) Unfortunately, there are objects that can't be code-completed in the Spyder Editor. It's not an installation problem nor anything users can solve on their side, just a limitation of the libraries we use to get and display completions.
A draft of a solution is proposed on the issue you referenced, we just need to find the time to do it.

Python autocompletion comparable to IPython Notebook for Sublime Text 3

Does anyone know of anything comparable? I am currently using Anaconda for linting and autocompletion, but it is nowhere near as good as the IPython Notebook autocompletion.
The package SublimeCodeIntel is the best I've seen in Sublime for Python autocompletion. It's available through Package Control or on github.
I had the same concern when moving from Jupyter Notebook to Sublime Text, and tried Anaconda's autocomplete, which is far worse than Jupyter's.
But after trying SublimeCodeIntel, all problems solved! It is almost same as VSCode's auto-complete and code tips.

Starting IPython with Mountain Lion 10.8

Prior to last weeks ML 10.8 I would invoke the IPython web notebook using ipython notebook --pylab=inline where I was running Python3. Post upgrade everything changed for the worse. A lot of hacking around the filesystem and changing permissions on /System/Library/Frameworks/Python.Framework from root to myself and I can now run python ipython3 notebook --pylab=inline however ipython when run without the python command preceding, wants to open Python 2.7. Anyone with similar issues or can anyone give insight as to what is going on here.
I think that you are both doing a great job on complicating things, there is no need for that, the suggested way for "reaching" the right executable is simple as that
env python
or similar, depending on what is the name associated with the given executable.
It's expected that ipython will use Python 2.x. You should use ipython3 to use Python 3.x.

Spyder keeps crashing in virtual python environment in OSX

I'm running an OSX Mountain Lion installation of Spyder (version 'spyder-2.2.0beta2.zip') inside a virtual environment setup using virtualenv and the Enthought academic build of Python. The setup loads up okay, but crashes whenever I am inside the 'save as' dialogue box, specifically as soon as I click on the 'Where:' dropdown box to select a folder. The terminal used to open Spyder then reports Segmentation fault: 11. Any ideas whats causing this?
(Spyder dev here) This is not our fault nor Enthought's one, but PySide's: the Python Qt bindings distributed by Enthought. Unfortunately they are not very stable (causing crashes like the one you described) and currently unmaintained, so we can't do anything about it.
Our recommended installation method on Mac is using our DMG (which uses PyQt4, a more stable set of bindings) and then switch your interpreter to the EPD's one. Or use MacPorts, if you feel brave enough :-)

Categories

Resources