Autocomplete in Spyder Editor

3,224 views
Skip to first unread message

STSandy

unread,
Apr 2, 2018, 10:45:06 AM4/2/18
to spyder
Hello all, 
Autocomplete in Spyder Editor does not work. Do I need to abandon Spyder?
Full disclosure here, before posting I have tried to solve this issue for a significant period of time.
  • I have tried uninstalling, re-installing anaconda. Multiple times. 
  • Updating all packages..especially rope and Jedi.
  • Downgrading / upgrading / version matching Spyder, ipython, rope, Jedi along with all the posts on git hub.
  • Spyder -- reset
  • Set SPYDER_DEBUG=1 and watched the logs when autocomplete is requested.
    • completions request
    • No valid responses acquired
  • Spyder shows all dependancies are OK.
  • Enum removed (from git hub posts)
I cannot get the Spyder editor to autocomplete despite the console being fine.
Frustratingly Jupiter autocomplete works fine, Jupiter QT console works fine.
Other IDEs also work fine.

What else to do...there seem to be many posts about this but no fix.
Anyone else seen this / still have this. 
Time spent is getting to be too long.
  • MacBook Pro (new). 
  • High Sierra.
  • All installations etc though Anaconda / conda. (expect PIP to remove enum)

Any suggestions welcome! 
Many Thanks


Carlos Córdoba

unread,
Apr 2, 2018, 10:46:46 AM4/2/18
to spyd...@googlegroups.com
Hi,

What package are you trying to complete? Autocompletion doesn't work for all packages.


Cheers,
Carlos

El 02/04/18 a las 05:35, STSandy escribió:
--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+...@googlegroups.com.
To post to this group, send email to spyd...@googlegroups.com.
Visit this group at https://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.

AndyH

unread,
Apr 2, 2018, 11:59:10 AM4/2/18
to spyd...@googlegroups.com
Hi Carlos,
It will not work for any package or variable.
Not even being as ambitious as numpy etc.
Just basic python.
Br
Andy

Carlos Córdoba

unread,
Apr 2, 2018, 12:04:44 PM4/2/18
to spyd...@googlegroups.com
Hi,

Sorry but I really don't know what could be the cause of your problem. We run several tests to verify that code completion is working, and they are passing just fine.


Cheers,
Carlos

El 02/04/18 a las 10:20, AndyH escribió:

AndyH

unread,
Apr 2, 2018, 2:42:51 PM4/2/18
to spyd...@googlegroups.com
Ok, well thanks for looking. I wonder if it is just me. It hasn't worked at all! :) 
It is frustrating because Spyder is my preference really!
Regards
Andy

To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+unsubscribe@googlegroups.com.

To post to this group, send email to spyd...@googlegroups.com.
Visit this group at https://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+unsubscribe@googlegroups.com.

To post to this group, send email to spyd...@googlegroups.com.
Visit this group at https://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+unsubscribe@googlegroups.com.

To post to this group, send email to spyd...@googlegroups.com.
Visit this group at https://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+unsubscribe@googlegroups.com.

STSandy

unread,
Apr 4, 2018, 7:29:39 PM4/4/18
to spyder
Cleared everything again.
Used Miniconda this time.
Same again....  Spyder tries to AutoComplete...
Set SPYDER_DEBUG=1 and watched the logs when autocomplete is requested.
completions request
No valid responses acquired

STSandy

unread,
Jul 24, 2018, 6:20:23 PM7/24/18
to spyder
Hello, coming back to this after a few months away...
It was a major frustration that I could not get autocomplete working after updating , rolling back, miniconda, anaconda, everything on any thread I could find.
On coming back to this problem I found that:-
Spyder autocomplete would work fine on my macbook when running windows via parallels.
Spyder autocomplete would work fine on colleagues macbooks (osx).
It was just mine that was a problem....suggesting the osx environment set up.
Environments also seemed to be be identical.

But.. Sublime Text also had problems and reported this as a time out from the localhost.
Investigations into my /etc/hosts . file showed it was empty!  
Restored this to 'normal' and .....everything works.

No idea how it got like that and perhaps with more knowledge I would have spotted it earlier.
But...fixed.   Wanted to 'close' this thread with a fix for this this problem... at least for my case!
Thanks for the time Carlos.
BR
Andy


On Monday, 2 April 2018 19:42:51 UTC+1, STSandy wrote:
Reply all
Reply to author
Forward
0 new messages