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

[BUG] How to install to develop locally or access some of the sub-libraries #61

Closed
jn2clark opened this issue Sep 16, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@jn2clark
Copy link
Contributor

Describe the bug
Marqo is used through docker. This means for some development or testing it can take longer than desired.

Expected behavior
An easy way to develop locally to test the sub-libraries

Desktop (please complete the following information):

  • OS: [e.g. iOS] Ubuntu 20.04
@jn2clark jn2clark added the bug Something isn't working label Sep 16, 2022
@jn2clark
Copy link
Contributor Author

Method A from here shows how to run it locally https://github.com/marqo-ai/marqo/tree/mainline/src/marqo. For development, I installed it by running

python setup.py sdist
pip install dist/marqo-engine-0.1.10.tar.gz 

Note - the version will be different as things progress.
I could then import marqo

import marqo

The thing to note though is if the python client (https://github.com/marqo-ai/py-marqo) is installed, this method will overwrite that library. So either create a new env or re-install the client when needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant