iterative-Random-Forest
iterative-Random-Forest copied to clipboard
Error during install
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:
`numpy.distutils` is deprecated since NumPy 1.23.0, as a result
of the deprecation of `distutils` itself. It will be removed for
Python >= 3.12. For older Python versions it will remain present.
It is recommended to use `setuptools < 60.0` for those Python versions.
For more details, see:
https://numpy.org/devdocs/reference/distutils_status_migration.html
from numpy.distutils.core import setup
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-oseji12r/irf_482c5e8ee9a14698b37bd468cb6c6227/setup.py", line 12, in <module>
with open(path.join(path_to_repo, 'readme.md'), encoding='utf-8') as f:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-install-oseji12r/irf_482c5e8ee9a14698b37bd468cb6c6227/readme.md'
[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.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 81.74%. Comparing base (
cf7c36a
) to head (4876d8a
).
Additional details and impacted files
@@ Coverage Diff @@
## main #2646 +/- ##
=======================================
Coverage 81.74% 81.74%
=======================================
Files 929 929
Lines 20854 20854
Branches 3152 3152
=======================================
Hits 17048 17048
Misses 3665 3665
Partials 141 141
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Test Results
4 files ±0 317 suites ±0 30m 13s :stopwatch: - 2m 19s 1 143 tests ±0 1 143 :white_check_mark: ±0 0 :zzz: ±0 0 :x: ±0 1 153 runs ±0 1 153 :white_check_mark: ±0 0 :zzz: ±0 0 :x: ±0
Results for commit 4876d8aa. ± Comparison against base commit cf7c36a3.