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

Issue when installing from master branch #91

Closed
cylldby opened this issue Dec 19, 2022 · 3 comments
Closed

Issue when installing from master branch #91

cylldby opened this issue Dec 19, 2022 · 3 comments

Comments

@cylldby
Copy link

cylldby commented Dec 19, 2022

Hello !

I'm trying to install the package directly from the GitHub repository in order to get the most up-to-date work (mainly this commit) with the following command:

pip install git+https://github.com/cloudera/dbt-hive.git

Unfortunately I'm met with the error

error: can't copy 'dbt/adapters/hive/.env': doesn't exist or not a regular file

It seems to be related to the fact that in setup.py there is data_files=[('', ['dbt/adapters/hive/.env'])],
while this file doesn't exist at the specified location in the master branch.

Would it be possible to add an empty folder at this location to fix this ?

Thank you for your support !

@cylldby
Copy link
Author

cylldby commented Dec 19, 2022

Strange behaviour actually:
when cloning the repository locally, and then installing locally, there is not problem at all

git clone https://github.com/cloudera/dbt-hive.git

pip install -e dbt-hive/

returns Successfully installed dbt-hive-1.3.1

@tovganesh
Copy link
Contributor

@cylldby you may copy https://github.com/cloudera/dbt-hive/blob/main/.env_example in the above location
and use usage_tracking: false in your dbt profile

@cylldby
Copy link
Author

cylldby commented Dec 23, 2022

Thank you for everything !

@cylldby cylldby closed this as completed Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants