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

installing ecco #111

Open
shahramzs opened this issue Jan 24, 2024 · 2 comments
Open

installing ecco #111

shahramzs opened this issue Jan 24, 2024 · 2 comments

Comments

@shahramzs
Copy link

i'm trying to install ecco in google colab but it get an error:

Collecting ecco
Using cached ecco-0.1.2-py2.py3-none-any.whl (70 kB)
Requirement already satisfied: transformers~=4.2 in /usr/local/lib/python3.10/dist-packages (from ecco) (4.35.2)
Requirement already satisfied: seaborn~=0.11 in /usr/local/lib/python3.10/dist-packages (from ecco) (0.13.1)
Collecting scikit-learn~=0.23 (from ecco)
Using cached scikit-learn-0.24.2.tar.gz (7.5 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
Preparing metadata (pyproject.toml) ... error
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

@csuncodes
Copy link

Hello, I am having the same error for "pip install ecco"
It seems to be crashing when downloading the particular version of Scikit-learn?
Error in pip install:
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [1437 lines of output]
:17: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
Partial import of sklearn during the build process.

Additionally, I could not install ecco via the "conda install -c conda-forge ecco" either.
It seems to tell me that my versions are incorrect?

Error in conda install:
UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versionsThe following specifications were found to be incompatible with your system:

  • feature:/osx-arm64::__osx==13.5=0
  • feature:/osx-arm64::__unix==0=0
  • feature:|@/osx-arm64::__osx==13.5=0
  • feature:|@/osx-arm64::__unix==0=0
  • ecco -> ipython -> __linux
  • ecco -> ipython -> __osx
  • ecco -> ipython -> __unix

Your installed version is: 0
I am working of a Mac M2 and have Mac OS 13.5

Any help would be appreciated.

@StarVolcano
Copy link

Hi, @csuncodes
I met the same problem. And I think the problem is that in your current environment (macOS with arm64), there is no .whl package for scikit-learn==0.24.2 in Pypi. So pip needs to download the source code and compile it to install.

Since it is difficult for m to solve the compiling problem, after checking the existing package in Pypi, I decide to solve this problem by creating python=3.8 environment through conda on a linux machine.

I install ecco successfully towards this approach. Maybe you can have a try.
Hope it helps.

Best,
Volcano

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

3 participants