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

Error when installing #5

Open
pearl-yu opened this issue Aug 24, 2023 · 1 comment
Open

Error when installing #5

pearl-yu opened this issue Aug 24, 2023 · 1 comment

Comments

@pearl-yu
Copy link

`Collecting git+https://github.com/MasaAsami/pysynthdid
Cloning https://github.com/MasaAsami/pysynthdid to /tmp/pip-req-build-ey_7xzv7
Running command git clone --filter=blob:none --quiet https://github.com/MasaAsami/pysynthdid /tmp/pip-req-build-ey_7xzv7
Resolved https://github.com/MasaAsami/pysynthdid to commit 01afe33
Preparing metadata (setup.py) ... done
Requirement already satisfied: pandas in /usr/local/lib/python3.10/dist-packages (from pysynthdid==0.0.1) (1.5.3)
Requirement already satisfied: matplotlib in /usr/local/lib/python3.10/dist-packages (from pysynthdid==0.0.1) (3.7.1)
Requirement already satisfied: numpy in /usr/local/lib/python3.10/dist-packages (from pysynthdid==0.0.1) (1.23.5)
Requirement already satisfied: tqdm in /usr/local/lib/python3.10/dist-packages (from pysynthdid==0.0.1) (4.66.1)
Collecting sklearn (from pysynthdid==0.0.1)
Using cached sklearn-0.0.post7.tar.gz (3.6 kB)
error: subprocess-exited-with-error

× python setup.py egg_info 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 (setup.py) ... 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.`

@seongwritescode
Copy link

The solution for me is fork repo and change setup.py line 14:
sklearn to scikit-learn
And run
pip install git+https://github.com/{GIT_ACCOUNT}/pysynthdid.git

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