Import errors #3158
Unanswered
testfailagain
asked this question in
Q&A
Import errors
#3158
Replies: 2 comments 4 replies
-
|
Converting to a discussion since this isn't a bug. |
Beta Was this translation helpful? Give feedback.
4 replies
-
|
I see my error, I don't have django installed in the venv, only in docker, where I execute the code and works. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
It's not so clear to me how should I configure pyrightconfig.json file.
Hi have a proyect with this structure:
level0/venv
----/level1/
-------------level2.1/
------------------------djangoapp
------------- level2.2/
-------------------------- djangoapp
-------------level2.3/
-------------------------- djangoapp
And I reach this point, in each django project (but I think I could have only one file):
{
"include" : ["/home/bla/level0/level1/level2.1"],
"venvPath": "/home/bla/level0",
"venv": /venv",
"executionEnvironments": [
{
"root": "/home/bla/level0/level1/level2.1/src"
}
]
}
(Ignore typo errors, I copy it by hand)
So, what am I doing wrong?
Can I have one file to rule them all? (like I suppouse)
There's another guide more specific (and more simple for noobs)
Beta Was this translation helpful? Give feedback.
All reactions