You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Firstly thanks for providing such a great tutorial .I am a newbie to Emacs and just followed your steps and installation worked fine.The speed bar,rope,auto-completion everything works like a charm.I have started coding normal programs ,lately i installed opencv and python bindings for it.The program works fine but the auto-complete is not working for opencv packages.
begin src
import cv2.cv as cv
cv.LoadImage()#LoadImage is not prompting
import math
math.sqrt# sqrt is prompting and working fine
End src
Am i missing anything for additionally installed packages than default ones.
The text was updated successfully, but these errors were encountered:
Hi! I find that ropemacs does not work really well with module completion, and I'll work to integrate another library (jedi) that seems to work great. Anyway to fix your problem, you can try that:
go in your project directory, there should be a directory called .ropeproject.
edit the file config.py in that directory at the section:
# Builtin and c-extension modules that are allowed to be imported
# and inspected by rope.
prefs['extension_modules'] = []
And edit like this:
prefs['extension_modules'] = [ 'cv2', 'cv2.cv' ]
Or add any other module that you may want, beware that if the module is huge (like say, pyopengl or pyqt) you may have some performance hit.
Hi,
Firstly thanks for providing such a great tutorial .I am a newbie to Emacs and just followed your steps and installation worked fine.The speed bar,rope,auto-completion everything works like a charm.I have started coding normal programs ,lately i installed opencv and python bindings for it.The program works fine but the auto-complete is not working for opencv packages.
begin src
import cv2.cv as cv
cv.LoadImage()#LoadImage is not prompting
import math
math.sqrt# sqrt is prompting and working fine
End src
Am i missing anything for additionally installed packages than default ones.
The text was updated successfully, but these errors were encountered: