You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to import the rl packet using pip install in anaconda prompt(same problem in cmd) but the system can't seem to build a wheel for this package. I am using Python 3.9.12 for this system. I've found out that this problem may occur when the packet is not able to handle my python version. The documentation mentions about the usability of the packet over Python version 2.7 but it does not mention anything about the newest version it can be used in. Is there such a limitation for this package?
If it should work fine with 3.9.12, what may be the problem causing the wheel building error?
Below you can find the full error message:
`error: subprocess-exited-with-error
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for rl
Failed to build rl
ERROR: Could not build wheels for rl, which is required to install pyproject.toml-based projects`
The text was updated successfully, but these errors were encountered:
readline and by extension rl are not made for Windows and I am pretty sure will not work there. If this is WSL (just a guess), make sure you have things like libncurses, tar, and autoconf installed.
I should probably add a proper platform restriction...
I'm trying to import the rl packet using pip install in anaconda prompt(same problem in cmd) but the system can't seem to build a wheel for this package. I am using Python 3.9.12 for this system. I've found out that this problem may occur when the packet is not able to handle my python version. The documentation mentions about the usability of the packet over Python version 2.7 but it does not mention anything about the newest version it can be used in. Is there such a limitation for this package?
If it should work fine with 3.9.12, what may be the problem causing the wheel building error?
Below you can find the full error message:
`error: subprocess-exited-with-error
× Building wheel for rl (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [35 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-39
creating build\lib.win-amd64-cpython-39\rl
copying rl\testing.py -> build\lib.win-amd64-cpython-39\rl
copying rl\utils.py -> build\lib.win-amd64-cpython-39\rl
copying rl_completion.py -> build\lib.win-amd64-cpython-39\rl
copying rl_history.py -> build\lib.win-amd64-cpython-39\rl
copying rl_init.py -> build\lib.win-amd64-cpython-39\rl
copying rl_init_.py -> build\lib.win-amd64-cpython-39\rl
creating build\lib.win-amd64-cpython-39\rl\examples
copying rl\examples\display_matches_hook.py -> build\lib.win-amd64-cpython-39\rl\examples
copying rl\examples\email.py -> build\lib.win-amd64-cpython-39\rl\examples
copying rl\examples\factory.py -> build\lib.win-amd64-cpython-39\rl\examples
copying rl\examples\filename.py -> build\lib.win-amd64-cpython-39\rl\examples
copying rl\examples\pre_input_hook.py -> build\lib.win-amd64-cpython-39\rl\examples
copying rl\examples\raw_input.py -> build\lib.win-amd64-cpython-39\rl\examples
copying rl\examples\static.py -> build\lib.win-amd64-cpython-39\rl\examples
copying rl\examples_init_.py -> build\lib.win-amd64-cpython-39\rl\examples
running build_ext
WARNING: Failed to detect a termcap library; falling back to ncurses
A subdirectory or file build already exists.
Error occurred while processing: build.
building 'rl.readline' extension
creating build\temp.win-amd64-cpython-39
creating build\temp.win-amd64-cpython-39\Release
creating build\temp.win-amd64-cpython-39\Release\build
creating build\temp.win-amd64-cpython-39\Release\build\readline
creating build\temp.win-amd64-cpython-39\Release\rl
"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DHAVE_CONFIG_H -DRL_LIBRARY_VERSION="8.2" -Ibuild -Ibuild/readline -IC:\Users\egeca\anaconda3\include -IC:\Users\egeca\anaconda3\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /Tcbuild/readline/bind.c /Fobuild\temp.win-amd64-cpython-39\Release\build/readline/bind.obj
bind.c
c1: fatal error C1083: kaynak dosyas\x8d a‡\x8dlam\x8dyor: 'build/readline/bind.c': No such file or directory
error: command 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\HostX86\x64\cl.exe' failed with exit code 2
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for rl
Failed to build rl
ERROR: Could not build wheels for rl, which is required to install pyproject.toml-based projects`
The text was updated successfully, but these errors were encountered: