-
Notifications
You must be signed in to change notification settings - Fork 11
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
[Bug]: <Relative Path in VScode> #13
Comments
There are two parts in that issue. Giving a file pathPycharm runs the script from the script itself while VScode does it from the opened directory by default. So using the function
So when later on the function
This can be corrected by changing the settings of VScode
Importing the moduleNow, with the current directory set to the script, we are not able to The reason why it still works in Pycharm is that it automatically adds to the The workaround is to add in the settings.json the path to the environment:
If you have not done it before, add in the settings the line:
The final file should look like this:
|
Hi. I also have this same issue when working in the terminal. I have placed my
My folder looks like this:
Expected behaviour would be for the following to work:
But I also get the error involving .env. |
Does the problem still remain after this commit 4a63b03 ? |
@DorsanL Yes, this problem remains. I thought it was due to the Cloud license in #34, but I believe it is this issue rearing its head again. If I install REHO (e.g. |
This should no longer be a problem after the changes here: b0ba53c To sum up:
|
Is there an existing issue for this?
What happened?
It seems the relative path are not working as expected in VS code
Version
1.0.2 (Stable)
Relevant log output
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: