Python auto completion doesn't work with $project_path config
See original GitHub issueI’ve set this config in my jedi-user
config:
{
"python_interpreter": "$project_path/venv/bin/python"
}
But it can’t find installed packages on project venv
, so auto completion doesn’t work.
Note: each project has its own venv
directory. for example:
Workspace/project1/venv
Workspace/projectN/venv
Thanks in advanced.
Issue Analytics
- State:
- Created 6 years ago
- Comments:17 (9 by maintainers)
Top Results From Across the Web
pycharm code completion doesn't work for file not in project ...
First, check if code completion is turned on. Go to File->Settings->Editor->General->Code Completion and see if there is checkmark next to Show ...
Read more >Autocomplete fails with paths listed in PYTHONPATH via .env ...
Actual behavior. Auto complete does not work properly with additional packages listed in PYTHONPATH added via the .env file. Expected behavior.
Read more >Autocomplete | Python in Visual Studio Code
1. Intellisense/Autocompletion not working for custom modules · Cause: The path to the python executable is incorrect. Solution: Configure the path to the...
Read more >Code completion | PyCharm Documentation - JetBrains
Invoking Basic code completion for the second time shows the names of classes, functions, modules, and variables in the entire project, ...
Read more >Fix Python Relative Imports and Auto-completion in VSCode
In this video, you will learn how to properly handle Python relative imports without extending the sys. path. Additionally, you will learn ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
changes reverted 😃 happy coding 😃
what i’m trying to figure out is if the pluging uses python from settings or not.
daemon.py
should be run with a python from virtualenv. so, when completion first time triggered, daemon should be run as a subprocess and we can find out what options was passed to