Comments (12)
Hi.
You don't really need the extra_path, Anaconda is able to autocomplete whatever library your configured interpreter can import from it's PYTHONPATH
Btw, you really want to use "python_interpreter", "python_interpreter_path" is just for SublimeJEDI I think.
from anaconda.
Any update here @ekarlso? Can I close this issue?
from anaconda.
Hi,
for me Anaconda does not seem to be able to import the things from the virtualenv. My settings:
"python_interpreter": "E:\\Project\\venv\\Scripts\\python.exe",
"extra_paths": [
"E:\\Project\\venv\\Lib\\site-packages",
"E:\\Project\\src"
]
For some reason Anaconda Goto, Code Completion etc. only works on the standard library. I can see that the right python.exe is started by the Sublime Text, but it doesn't work nevertheless.
from anaconda.
You don't need to add any extra path. Anaconda will add you project folder itself as extra path and Jedi will be able to see anything that your configured python interpreter can see.
Make sure the packages that you want to autocomplete/goto/findusages are installed in your virtuale nv. It's safe for you if your remove the full extra_paths
setting from your project config file.
from anaconda.
Both packages I desperately tried to get working (PySide and SleekXMPP) install themselves in .egg s in site-packages. I realized that the other ones (who install themselves as an .egg-info and a package folder) work fine. So a workaround is to split the contents of the egg into the package folders and an .egg-info. Is there a "clean" solution to this?
from anaconda.
Hi @phoenixyz
As you can see in this screenshot I have no problems with PySide in Linux
In fact, the main motivation that I had to write this plugin was just I needed PySide autocompletion working (it doesn't work on SublimeRope/SublimePythonIDE) and SublimeJEDI is slow.
You shouldnt have any problem with .egg contained packages as far as yor intepreter can see them. In th eother hand, I compiled PySide myself but this has nothing to do with your problem.
I'm not familiar with Windows platform but if you are not able to make it work, I suggest you to open an issue in Jedi's project itself.
Btw, have you tried my SublimePySide plugin?
Regards.
from anaconda.
My interpreter can see the eggs but Anaconda/Jedi can't. For now I worked around it by changing the packages manually (extracting the .egg). Then it works just as it does in your screenshot. Most probably a Windows-specific problem.
I haven't tried your PySide plugin yet, but I'll give it a look.
Thanks and best regards.
from anaconda.
I will take a look at this problem when I get some time and can have a windows machine around. If there is a problem with egg binary files it should be reported to Jedi project.
Regards.
from anaconda.
Is there any update about this issue? The auto completion works only partially for me. It does find the modules in PySide (QtGui, QtCore, QtHelp...), but it does not complete when I want to go one level deeper like QtGui.QMessagebox.
I'm using Python 3.3 with Sublime Text and Pyside on Windows 8.1 x64.
from anaconda.
Hi.
Jedi has a problem with python bindings on Python 3, the author was already aware of the problem and there had been progress in solve the issue. The fix is in the development branch of jedi. I will include it as soon as they move it to the stable branch.
from anaconda.
Thank you very much for this update. As soon as you update the package with this fix send me a message. I'll test the update package immediately to verify that it works and that we can close this issue.
from anaconda.
Any update or fix for this issue?
from anaconda.
Related Issues (20)
- [IMPORTANT] Giving a little push to the plugin HOT 2
- [WorkAround] New version of the plugin does not work on ST3
- `Go To Definition` won't work after updating to the newest Anaconda release HOT 20
- Auto-brackets after autocompleting functions
- Split View shows help popup on the other column / pane
- Goto Definition open a blank tab HOT 2
- White boxes surrounding all my text during python file editing. HOT 1
- problem with executing python.exe within anaconda HOT 2
- [ bug report] After uninstalling anaconda, Windows cmd will become unavailable
- It not worked for me ... Thank you
- [WorkAround] Manually installing anaconda on ST3 HOT 5
- typing.NamedTuple completion not supported
- CondaSSLError: Encountered an SSL error. Most likely a certificate verification issue. Exception: [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:2548)
- Use WSL Python as anaconda interpreter in Windows 11 ST4?
- Anaconda ignores PYTHONPATH var
- fk me HOT 1
- Tootips and Autocomplete not working HOT 3
- Anaconda worker doesn't start due to asyncore and asynchat missing HOT 2
- Goto Symbol in Project (ctrl+shift+r) and methods in classes.
- (eval):10: parse error near `^M' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from anaconda.