Skip to content
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

An error occured while initializing the dbt project; jordan #9

Open
jrjordanrh1992 opened this issue May 24, 2023 · 5 comments
Open
Assignees

Comments

@jrjordanrh1992
Copy link

image

Hi Ran, in step 1.7 "Setup Local Python Environment" I have an issue. After going through all the steps, I receive the following message:

"An error occurred while initializing the dbt project"

@ran-codes
Copy link
Member

@jrjordanrh1992 This is likely a python environemnt problem. two things to help me help you

1. confirm python version

  • go to .venv/pyvenv.cfg and snip and upload as a comment to this issue. it should be python 3.10.11

image

2. Make sure your python environment is active

  • go to your terminal
  • check if there is a (venv) (see green venv text that prefiexes my direction (.venv) PS C:\Users\rl627\Desktop\Git\duckdb-dbt-template>
  • If not then activate the python environment by entering .\.venv\Scripts\activate and hit enter

image

let me know how these two things work.

@ran-codes ran-codes changed the title Problem Jordan VS Studio An error occured while initializing the dbt project; jordan May 24, 2023
@ran-codes ran-codes self-assigned this May 24, 2023
@jrjordanrh1992
Copy link
Author

Thanks Ran for the fast response!

  1. I have version 3.11.3.

  2. I have the green (venv):

image

Should I change to version 3.10.11?

@ran-codes
Copy link
Member

yup. if you change to 3.10.11 it will work.

@ran-codes
Copy link
Member

@ran-codes
Copy link
Member

@jrjordanrh1992 can you confirm your DBT setup is done. Feel free to close this issue if it is!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants