-
Notifications
You must be signed in to change notification settings - Fork 0
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
VS code debugger doesn't load /opt/continuum/project into sys.path #24
Comments
I'll take a look. |
I'm looking at the PNG from the zendesk ticket and this what I see
# folder/second.py
from test import func The @mcg1969 , @philippjfr , @jlstevens , I'm inclined to say that this is not a supported use case of Python imports and a different directory structure should be adopted. I'm also not inclined to have ae5-vscode or the session extension adjust |
I agree with your analysis and verdict far as we understand it. I don't know more about the use case. |
I agree with that assessment too. I've never tried it but is it possible to ship a package inside an anaconda project with a setup.py and then install it (equivalent to |
Even if that actually works, I would consider it a flaming hack! Dependencies should be installed as part of I agree with @mcg1969 that we need to know more about the use case before suggesting anything. |
From European Investment Bank:
When we try to use the vs code debugger for a file located in a subfolder,
/opt/continuum/project
isn't loaded intosys.path
. This means that the local import doesn't work.Here is a concrete example:
It works well if we use conda develop
/opt/continuum/project
but this configuration can't be saved.ZD ticket: https://anaconda.zendesk.com/agent/tickets/21015
The text was updated successfully, but these errors were encountered: