Git Product home page Git Product logo

Comments (7)

hxyin avatar hxyin commented on August 29, 2024 3

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 #102 (comment). 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!

from ecco.

EricPeter avatar EricPeter commented on August 29, 2024

Hi did you manage to install it . I am having the seem issue

from ecco.

martin12333 avatar martin12333 commented on August 29, 2024

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

from ecco.

akozlo avatar akozlo commented on August 29, 2024

I'm having a similar issue. Simply running !pip install ecco on a google colab notebook produces an error now.

Untitled

from ecco.

iliemihai avatar iliemihai commented on August 29, 2024

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

from ecco.

daria-lioubashevski avatar daria-lioubashevski commented on August 29, 2024

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'

from ecco.

daria-lioubashevski avatar daria-lioubashevski commented on August 29, 2024

@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://$[email protected]/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

from ecco.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.