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

Unable to install img2rag #1

Open
flyboy1995 opened this issue Jan 4, 2023 · 1 comment
Open

Unable to install img2rag #1

flyboy1995 opened this issue Jan 4, 2023 · 1 comment

Comments

@flyboy1995
Copy link

Collecting img2rag
Using cached img2rag-1.0.0.tar.gz (250 kB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: numpy in d:\anaconda3\envs\py39\lib\site-packages (from img2rag) (1.24.1)
Requirement already satisfied: scipy in d:\anaconda3\envs\py39\lib\site-packages (from img2rag) (1.9.3)
Requirement already satisfied: networkx in d:\anaconda3\envs\py39\lib\site-packages (from img2rag) (2.8.8)
Collecting cached_property
Using cached cached_property-1.5.2-py2.py3-none-any.whl (7.6 kB)
Requirement already satisfied: matplotlib in d:\anaconda3\envs\py39\lib\site-packages (from img2rag) (3.6.2)
Collecting skimage
Using cached skimage-0.0.tar.gz (757 bytes)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [3 lines of output]

  *** Please install the `scikit-image` package (instead of `skimage`) ***
 
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
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.

@0nga
Copy link

0nga commented Jun 9, 2024

I got the same problem.
System: MacOs Monterey 12.7.4, Python 3.9.6

I solved it with a manual installation of img2rag

Downloaded from https://pypi.org/project/img2rag/#files and unzipped it.

Open a terminal, move into the directory and modify the config file (setup.cfg).
Change every "skimage" with "scikit-image" and save.

cd /path/to/dir
nano setup.cfg

While into the directory, install the package using

pip install .

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

2 participants