-
-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using coc-python with a python inside of a container #664
Comments
Do you mean you have Python & modules installed in the container, run coc-python and your Python code outside? Have no idea about this. |
Correct. The idea is that all paths are inside docker but i am editing it outside. |
@adamwojt can you run the inside Python interpreter from outside? |
I'm going to need this as well, and may be able to help implement it. My use case: With the introduction of the Apple M1 series (and their Abandoning the concept of creating a Python environment on the host means that I no longer have that available for pyright, which in turn means that Neovim's tree-sitter implementation can't use it for code completion, syntax highlighting, and indentation. |
I run my python code in a docker container, i have python libs in the same directory. Is there a way to define |
@fannheyward I am not sure what you mean. I can run python interpreter with |
@lyndsysimon this needs Pyright support, I don't know Pyright can handle this or not. |
I guess one would need to make the environment accessible in a local volume. Then configure everything to use that path. |
Hi ! I'm also looking for a solution to this problem. |
Hi, I'm also working on doing something similar. I've installed the To do so, I've created a
All libraries installed through
However, I can't "jump to definition" for any library installed through The interesting thing is that I'm trying to debug the issue with the maintainer of the |
Any updates? |
same here. |
I wonder if it would be possible to setup coc-pyright to use paths inside docker container.
I see there was issue about this in coc-python repo: neoclide/coc-python#85
The text was updated successfully, but these errors were encountered: