Open Rolkarolka opened 1 year ago
Hi did you manage to install it . I am having the seem issue
Weeks ago, I made the ecco *.ipynb mostly work. In Python 3.10 .
Locally. In a conda env with many other programs.
I remember having problems with version numbers of dependencies. I had to edit the req file(s) of ecco: as a false-beginner, I edited both setup.py, and requirements.txt
My notes are at https://github.com/martin12333/marti-onedrive/blob/main2/AI/pip----31pip310ecco.e.f8.sh
My files setup.py, and requirements.txt are at https://github.com/martin12333/marti-onedrive/tree/main2/AI/Jalammar
EDIT: the versions I have: numpy 1.24.3 scikit-learn 1.2.2 transformers 4.29.2 torch 1.13.1 PyYAML 6.0
I'm having a similar issue. Simply running !pip install ecco
on a google colab notebook produces an error now.
Downgrade to python 3.8:
!apt-get install python3.8 !ln -sf /usr/bin/python3.8 /usr/bin/python !sudo apt-get install python3.8-distutils !wget https://bootstrap.pypa.io/get-pip.py !sudo /usr/bin/python3.8 get-pip.py
Did anyone manage to resolve this issue? I tried downgrading to python 3.8 as suggested here, and it didn't work - pip install ecco comand seems to finish successfully, but when running: import ecco I get the error: ModuleNotFoundError: No module named 'ecco'
I solved this problem by making a fork of the ecco library and change the contents in setup.py and requirements.txt based on the version provided by martin12333 https://github.com/jalammar/ecco/issues/102#issuecomment-1675574099. And then I installed my repo in colab using !sudo pip install git+https://github.com/hxyin/ecco. I hope this works for you, too!
@hxyin thank you so much! i managed to install ecco using your answer by doing the following:
import os from getpass import getpass user = getpass('GitHub user') password = getpass('GitHub password') os.environ['GITHUB_AUTH'] = user + ':' + password !git clone https://$GITHUB_AUTH@github.com/hxyin/ecco
%cd ecco !pip install -e .
Now a new problem - ecco.from_pretrained which appears in all examples doesn't work, and I can't find a way to import LM class directly for some reason
Hi! Is there any chance to enable ecco for python 3.10? I've tried running jupyter notebooks from docs (like https://colab.research.google.com/github/jalammar/ecco/blob/main/notebooks/Language_Models_and_Ecco_PyData_Khobar.ipynb) in Google Colab and I can't install ecco successfully :(