-
Notifications
You must be signed in to change notification settings - Fork 20
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 during install #22
Comments
When forking the repository and changing the
Clearly errors like |
@zuegereliane - as it turns out the workaround is relatively straightforward enough. This all stems from an update to
SO, with all of that being said, here's how I did it: # create the path to your environment and save as variable
mkdir -p ~/environments/conda/
PATH_TO_IRF_ENV=~/environments/conda/irf
# create and activate conda environment
conda create -p $PATH_TO_IRF_ENV -c conda-forge python=3.10
source activate $PATH_TO_IRF_ENV
# install older cython version
pip install "cython<3"
pip install "numpy<1.18" # imported in setup
pip install scipy==1.7
pip install --no-build-isolation irf@git+https://github.com/LaneMatthewJ/iterative-Random-Forest.git edit: there were a few other requirements that I added to the setup.py* |
When trying to install the package from pip with
**pip install irf**
I get the following error message:Collecting irf
Using cached irf-0.2.5.tar.gz (5.7 MB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [18 lines of output]
/tmp/pip-install-oseji12r/irf_482c5e8ee9a14698b37bd468cb6c6227/setup.py:8: DeprecationWarning:
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.
The text was updated successfully, but these errors were encountered: