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

not able to install karapace manaully using pythin 3.8 #617

Open
rajsolanki73 opened this issue May 15, 2023 · 2 comments
Open

not able to install karapace manaully using pythin 3.8 #617

rajsolanki73 opened this issue May 15, 2023 · 2 comments

Comments

@rajsolanki73
Copy link

Hi

I am trying to install karapce manually using python 3.8

python3.8 setup.py install
Traceback (most recent call last):
File "setup.py", line 16, in
version_for_setup_py = version.get_project_version()
File "/opt/karapace/karapace-3.5.0/version.py", line 56, in get_project_version
raise RuntimeError(f"version not available from git or from file {str(version_file)!r}")
RuntimeError: version not available from git or from file '/opt/karapace/karapace-3.5.0/karapace/version.py'

@rajsolanki73
Copy link
Author

rajsolanki73 commented May 15, 2023

I should have searched in issues here . I used git clone and it works.

@aiven-anton
Copy link
Contributor

@rajsolanki73 I'm glad you figured it out, setup requires to be able to determine a version and as you figured out, when using git Karapace will use the git history to determine a version. You could also manually set a version with the KARAPACE_VERSION environment variable. I'll leave this issue open, as I suspect we should update installation instructions in documentation.

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