automl / automl/random_forest_run

Win installation error

Open
#67 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
39
Forks
23
PR merge metrics
No merged PRs in 30d

Description

WIN11
anaconda python 3.7

```
Building wheel for pyrfr (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [8 lines of output]
[, ]
running bdist_wheel
running build
running build_ext
building 'pyrfr._regression' extension
swigging pyrfr/regression.i to pyrfr/regression_wrap.cpp
swig.exe -python -c++ -modern -py3 -features nondynamic -I./include -o pyrfr/regression_wrap.cpp pyrfr/regression.i
error: command 'swig.exe' failed: None
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyrfr
Running setup.py clean for pyrfr
Successfully built lap smac pynisher
Failed to build pyrfr
Installing collected packages: sortedcontainers, pytz, msgpack, lap, heapdict, geojson, easydict, zipp, zict, xmltodict, Werkzeug, typing-extensions, tornado, toolz, tifffile, threadpoolctl, tblib, shapely, scipy, regex, pyzmq, pyyaml, PyWavelets, python-dateutil, pyrfr, pyparsing, pycryptodome, psutil, opencv-contrib-python, networkx, natsort, munch, MarkupSafe, locket, llvmlite, joblib, itsdangerous, imageio, future, fsspec, fonttools, et-xmlfile, emcee, cython, cycler, colorama, cloudpickle, chardet, Babel, tqdm, scikit-learn, pynisher, partd, pandas, packaging, openpyxl, numba, kiwisolver, Jinja2, importlib-metadata, ConfigSpace, bce-python-sdk, scikit-image, motmetrics, matplotlib, dask, click, pycocotools, flask, distributed, smac, Flask-Babel, visualdl, paddleslim
Running setup.py install for pyrfr ... error
error: subprocess-exited-with-error

× Running setup.py install for pyrfr did not run successfully.
│ exit code: 1
╰─> [9 lines of output]
[, ]
running install
D:\anaconda3\envs\PaddleRS\lib\site-packages\setuptools\command\install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
setuptools.SetuptoolsDeprecationWarning,
running build_ext
building 'pyrfr._regression' extension
swigging pyrfr/regression.i to pyrfr/regression_wrap.cpp
swig.exe -python -c++ -modern -py3 -features nondynamic -I./include -o pyrfr/regression_wrap.cpp pyrfr/regression.i
error: command 'swig.exe' failed: None
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> pyrfr

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the installation on Windows 11 with Anaconda Python 3.7 and inspect the pyrfr build output. Review pyrfr/regression.i and the swig.exe invocation shown in the log; done means identifying the installation failure and verifying that pyrfr installs successfully in the reported environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.