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
ModuleNotFoundError: No module named 'utility' #101
Comments
We're planning to make improvements to how the package works with pip. In the meanwhile, please follow the import approach shown at the top of the intro notebook: https://github.com/stanford-futuredata/ColBERT/blob/new_api/docs/intro.ipynb (Also, don't pip install the git repo. Instead, follow the installation instructions on the README of the branch you're using. We recommend conda.) |
i used python setup.py install, and i get the same error ! |
@luffycodes Please follow the instructions on the README for installation. Don't use the setup script directly. |
conda env create -f conda_env.yml are these the commands to install colbert? |
@luffycodes Which branch do you want to install? From your other issues, I assume you're interested in ColBERTv2. In that case, please check the README for the new_api branch. From there, you can install the conda environment (it's different from ColBERTv1) and then check that you're able to execute the code in the example notebook. |
I was interested in training v2 from scratch ! I think it is addressed in the other issue :) Thanks a lot for the help and prompt reply :) |
Thanks, @luffycodes ! Let me know if the commands for installation on the new_api branch and the corresponding ColBERTv2 notebook don't work for you. |
Hi,
I wanted to use your model in my python project and added it therefore to my project (virtual pip env) by using the following command:
However, when I start my python project and wanted to use your demo code from the demo notebook, I'm always getting the following error:
Any idea how to solve this error? Thanks.
The text was updated successfully, but these errors were encountered: