Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

hi can u please help me with the fact that VC cant recognize application without #1486

Closed
yk3823 opened this issue Aug 27, 2019 · 5 comments
Closed

Comments

@yk3823
Copy link

yk3823 commented Aug 27, 2019

editing settings.json

attaching the following in order to solve the issue

  1. the issue ->
    image
  2. solving by adding .env file to the root folder including PYTHONPATH=FOLDER
    image
  3. adding pythonenvfile to settings.json ->
    image
  4. restart VC

WHAT AM I MISSING OR DOING WRONG ???

@jakebailey
Copy link
Member

jakebailey commented Aug 27, 2019

You've already opened two issues about this (#1474, #1475). It's best to reuse the same issue rather than creating a new one for every message.

As previously mentioned, the troubleshooting guide says you can use extraPaths or PYTHONPATH to set an import root; django_level_five is not a folder in your workspace.

I think you're looking for something like:

"python.autoComplete.extraPaths": ["./learning_users"]

or

PYTHONPATH=./learning_users

As your imports are like import basic_app.models, which are contained within learning_users.

@MikhailArkhipov
Copy link

Does it work with the configuration above? Thanks.

@MikhailArkhipov
Copy link

Closing, feel free to reopen if still a problem.

@AILearner17
Copy link

Does it work with the configuration above? Thanks.

no its not working

@MikhailArkhipov
Copy link

@SnehashishGiri - it is several months old issue from a different account. If you see something similar, it does not mean the case is the same. Feel free to open a separate issue.

@microsoft microsoft locked as resolved and limited conversation to collaborators Apr 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants