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

Problem installing radian in Windows 11 - [ rchitect ] #452

Open
czargab18 opened this issue Dec 2, 2023 · 0 comments
Open

Problem installing radian in Windows 11 - [ rchitect ] #452

czargab18 opened this issue Dec 2, 2023 · 0 comments

Comments

@czargab18
Copy link

czargab18 commented Dec 2, 2023

C:\Users\czarg>pip install radian

C:\Users\czarg>pip install radian
Collecting radian
  Using cached radian-0.6.9-py3-none-any.whl
Collecting rchitect<0.5.0,>=0.4.3 (from radian)
  Using cached rchitect-0.4.4.tar.gz (32 kB)
  Preparing metadata (setup.py) ... done
Requirement already satisfied: prompt-toolkit<3.1,>=3.0.41 in c:\users\czarg\appdata\local\programs\python\python312\lib\site-packages (from radian) (3.0.41)
Requirement already satisfied: pygments>=2.5.0 in c:\users\czarg\appdata\local\programs\python\python312\lib\site-packages (from radian) (2.17.2)
Requirement already satisfied: wcwidth in c:\users\czarg\appdata\local\programs\python\python312\lib\site-packages (from prompt-toolkit<3.1,>=3.0.41->radian) (0.2.12)
Collecting cffi>=1.10.0 (from rchitect<0.5.0,>=0.4.3->radian)
  Using cached cffi-1.16.0-cp312-cp312-win_amd64.whl.metadata (1.5 kB)
Collecting six>=1.9.0 (from rchitect<0.5.0,>=0.4.3->radian)
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting pycparser (from cffi>=1.10.0->rchitect<0.5.0,>=0.4.3->radian)
  Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Using cached cffi-1.16.0-cp312-cp312-win_amd64.whl (181 kB)
Building wheels for collected packages: rchitect
  Building wheel for rchitect (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [57 lines of output]
      C:\Users\czarg\AppData\Local\Programs\Python\Python312\Lib\site-packages\setuptools\__init__.py:80: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
      !!

              ********************************************************************************
              Requirements should be satisfied by a PEP 517 installer.
              If you are using pip, you can try `pip install --use-pep517`.
              ********************************************************************************

      !!
        dist.fetch_build_eggs(dist.setup_requires)
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build\lib.win-amd64-cpython-312
      creating build\lib.win-amd64-cpython-312\rchitect
      copying rchitect\callbacks.py -> build\lib.win-amd64-cpython-312\rchitect
      copying rchitect\completion.py -> build\lib.win-amd64-cpython-312\rchitect
      copying rchitect\console.py -> build\lib.win-amd64-cpython-312\rchitect
      copying rchitect\dispatch.py -> build\lib.win-amd64-cpython-312\rchitect
      copying rchitect\interface.py -> build\lib.win-amd64-cpython-312\rchitect
      copying rchitect\py_tools.py -> build\lib.win-amd64-cpython-312\rchitect
      copying rchitect\repl.py -> build\lib.win-amd64-cpython-312\rchitect
      copying rchitect\setup.py -> build\lib.win-amd64-cpython-312\rchitect
      copying rchitect\types.py -> build\lib.win-amd64-cpython-312\rchitect
      copying rchitect\utils.py -> build\lib.win-amd64-cpython-312\rchitect
      copying rchitect\xptr.py -> build\lib.win-amd64-cpython-312\rchitect
      copying rchitect\__init__.py -> build\lib.win-amd64-cpython-312\rchitect
      creating build\lib.win-amd64-cpython-312\rchitect\reticulate
      copying rchitect\reticulate\path.py -> build\lib.win-amd64-cpython-312\rchitect\reticulate
      copying rchitect\reticulate\py_config.py -> build\lib.win-amd64-cpython-312\rchitect\reticulate
      copying rchitect\reticulate\__init__.py -> build\lib.win-amd64-cpython-312\rchitect\reticulate
      copying rchitect\reticulate\config.R -> build\lib.win-amd64-cpython-312\rchitect\reticulate
      creating build\lib.win-amd64-cpython-312\rchitect\src
      copying rchitect\src\gil.c -> build\lib.win-amd64-cpython-312\rchitect\src
      copying rchitect\src\gil.h -> build\lib.win-amd64-cpython-312\rchitect\src
      copying rchitect\src\libR.c -> build\lib.win-amd64-cpython-312\rchitect\src
      copying rchitect\src\libR.h -> build\lib.win-amd64-cpython-312\rchitect\src
      copying rchitect\src\parse.c -> build\lib.win-amd64-cpython-312\rchitect\src
      copying rchitect\src\parse.h -> build\lib.win-amd64-cpython-312\rchitect\src
      copying rchitect\src\process_events.c -> build\lib.win-amd64-cpython-312\rchitect\src
      copying rchitect\src\process_events.h -> build\lib.win-amd64-cpython-312\rchitect\src
      copying rchitect\src\R.h -> build\lib.win-amd64-cpython-312\rchitect\src
      running build_ext
      generating cffi module 'build\\temp.win-amd64-cpython-312\\Release\\rchitect._cffi.c'
      creating build\temp.win-amd64-cpython-312
      creating build\temp.win-amd64-cpython-312\Release
      building 'rchitect._cffi' extension
      creating build\temp.win-amd64-cpython-312\Release\build
      creating build\temp.win-amd64-cpython-312\Release\build\temp.win-amd64-cpython-312
      creating build\temp.win-amd64-cpython-312\Release\build\temp.win-amd64-cpython-312\Release
      creating build\temp.win-amd64-cpython-312\Release\rchitect
      creating build\temp.win-amd64-cpython-312\Release\rchitect\src
      "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -Irchitect/src -IC:\Users\czarg\AppData\Local\Programs\Python\Python312\include -IC:\Users\czarg\AppData\Local\Programs\Python\Python312\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" /Tcbuild\temp.win-amd64-cpython-312\Release\rchitect._cffi.c /Fobuild\temp.win-amd64-cpython-312\Release\build\temp.win-amd64-cpython-312\Release\rchitect._cffi.obj
      rchitect._cffi.c
      C:\Users\czarg\AppData\Local\Programs\Python\Python312\include\pyconfig.h(59): fatal error C1083: NÆo ‚ poss¡vel abrir arquivo incluir: 'io.h': No such file or directory
      error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.38.33130\\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 rchitect
  Running setup.py clean for rchitect
Failed to build rchitect
ERROR: Could not build wheels for rchitect, which is required to install pyproject.toml-based projects

C:\Users\czarg>pip install rchitect

C:\Users\czarg>pip install rchitect
Collecting rchitect
  Using cached rchitect-0.4.4.tar.gz (32 kB)
  Preparing metadata (setup.py) ... done
Collecting cffi>=1.10.0 (from rchitect)
  Using cached cffi-1.16.0-cp312-cp312-win_amd64.whl.metadata (1.5 kB)
Collecting six>=1.9.0 (from rchitect)
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting pycparser (from cffi>=1.10.0->rchitect)
  Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Using cached cffi-1.16.0-cp312-cp312-win_amd64.whl (181 kB)
Building wheels for collected packages: rchitect
  Building wheel for rchitect (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [57 lines of output]
      C:\Users\czarg\AppData\Local\Programs\Python\Python312\Lib\site-packages\setuptools\__init__.py:80: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
      !!

              ********************************************************************************
              Requirements should be satisfied by a PEP 517 installer.
              If you are using pip, you can try `pip install --use-pep517`.
              ********************************************************************************

      !!
        dist.fetch_build_eggs(dist.setup_requires)
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build\lib.win-amd64-cpython-312
      creating build\lib.win-amd64-cpython-312\rchitect
      copying rchitect\callbacks.py -> build\lib.win-amd64-cpython-312\rchitect
      copying rchitect\completion.py -> build\lib.win-amd64-cpython-312\rchitect
      copying rchitect\console.py -> build\lib.win-amd64-cpython-312\rchitect
      copying rchitect\dispatch.py -> build\lib.win-amd64-cpython-312\rchitect
      copying rchitect\interface.py -> build\lib.win-amd64-cpython-312\rchitect
      copying rchitect\py_tools.py -> build\lib.win-amd64-cpython-312\rchitect
      copying rchitect\repl.py -> build\lib.win-amd64-cpython-312\rchitect
      copying rchitect\setup.py -> build\lib.win-amd64-cpython-312\rchitect
      copying rchitect\types.py -> build\lib.win-amd64-cpython-312\rchitect
      copying rchitect\utils.py -> build\lib.win-amd64-cpython-312\rchitect
      copying rchitect\xptr.py -> build\lib.win-amd64-cpython-312\rchitect
      copying rchitect\__init__.py -> build\lib.win-amd64-cpython-312\rchitect
      creating build\lib.win-amd64-cpython-312\rchitect\reticulate
      copying rchitect\reticulate\path.py -> build\lib.win-amd64-cpython-312\rchitect\reticulate
      copying rchitect\reticulate\py_config.py -> build\lib.win-amd64-cpython-312\rchitect\reticulate
      copying rchitect\reticulate\__init__.py -> build\lib.win-amd64-cpython-312\rchitect\reticulate
      copying rchitect\reticulate\config.R -> build\lib.win-amd64-cpython-312\rchitect\reticulate
      creating build\lib.win-amd64-cpython-312\rchitect\src
      copying rchitect\src\gil.c -> build\lib.win-amd64-cpython-312\rchitect\src
      copying rchitect\src\gil.h -> build\lib.win-amd64-cpython-312\rchitect\src
      copying rchitect\src\libR.c -> build\lib.win-amd64-cpython-312\rchitect\src
      copying rchitect\src\libR.h -> build\lib.win-amd64-cpython-312\rchitect\src
      copying rchitect\src\parse.c -> build\lib.win-amd64-cpython-312\rchitect\src
      copying rchitect\src\parse.h -> build\lib.win-amd64-cpython-312\rchitect\src
      copying rchitect\src\process_events.c -> build\lib.win-amd64-cpython-312\rchitect\src
      copying rchitect\src\process_events.h -> build\lib.win-amd64-cpython-312\rchitect\src
      copying rchitect\src\R.h -> build\lib.win-amd64-cpython-312\rchitect\src
      running build_ext
      generating cffi module 'build\\temp.win-amd64-cpython-312\\Release\\rchitect._cffi.c'
      creating build\temp.win-amd64-cpython-312
      creating build\temp.win-amd64-cpython-312\Release
      building 'rchitect._cffi' extension
      creating build\temp.win-amd64-cpython-312\Release\build
      creating build\temp.win-amd64-cpython-312\Release\build\temp.win-amd64-cpython-312
      creating build\temp.win-amd64-cpython-312\Release\build\temp.win-amd64-cpython-312\Release
      creating build\temp.win-amd64-cpython-312\Release\rchitect
      creating build\temp.win-amd64-cpython-312\Release\rchitect\src
      "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -Irchitect/src -IC:\Users\czarg\AppData\Local\Programs\Python\Python312\include -IC:\Users\czarg\AppData\Local\Programs\Python\Python312\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" /Tcbuild\temp.win-amd64-cpython-312\Release\rchitect._cffi.c /Fobuild\temp.win-amd64-cpython-312\Release\build\temp.win-amd64-cpython-312\Release\rchitect._cffi.obj
      rchitect._cffi.c
      C:\Users\czarg\AppData\Local\Programs\Python\Python312\include\pyconfig.h(59): fatal error C1083: NÆo ‚ poss¡vel abrir arquivo incluir: 'io.h': No such file or directory
      error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.38.33130\\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 rchitect
  Running setup.py clean for rchitect
Failed to build rchitect
ERROR: Could not build wheels for rchitect, which is required to install pyproject.toml-based projects
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

1 participant