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

Is it possible to run in windows OS #3

Open
Seungju88 opened this issue Nov 28, 2023 · 2 comments
Open

Is it possible to run in windows OS #3

Seungju88 opened this issue Nov 28, 2023 · 2 comments

Comments

@Seungju88
Copy link

Hello, dmw51

I want to run ReactionDataExtrator2 on my machine(Windows 10).
Installing pyheif steps, I faced an issue.
So, I proceeded to manually install pyheif from github.
But, I met another error as below.

====================================================================================
Collecting pyheif
Using cached pyheif-0.7.1.tar.gz (22 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: cffi>=1.0.0 in c:\users\sjlee\miniconda3\envs\rde2\lib\site-packages (from pyheif) (1.16.0)
Requirement already satisfied: pycparser in c:\users\sjlee\miniconda3\envs\rde2\lib\site-packages (from cffi>=1.0.0->pyheif) (2.21)
Building wheels for collected packages: pyheif
Building wheel for pyheif (pyproject.toml) ... error
error: subprocess-exited-with-error

× Building wheel for pyheif (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [25 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-38
creating build\lib.win-amd64-cpython-38\pyheif
copying pyheif\constants.py -> build\lib.win-amd64-cpython-38\pyheif
copying pyheif\error.py -> build\lib.win-amd64-cpython-38\pyheif
copying pyheif\reader.py -> build\lib.win-amd64-cpython-38\pyheif
copying pyheif\writer.py -> build\lib.win-amd64-cpython-38\pyheif
copying pyheif_init_.py -> build\lib.win-amd64-cpython-38\pyheif
creating build\lib.win-amd64-cpython-38\pyheif\data
copying pyheif\data\version.txt -> build\lib.win-amd64-cpython-38\pyheif\data
running build_ext
generating cffi module 'build\temp.win-amd64-cpython-38\Release\_libheif_cffi.c'
creating build\temp.win-amd64-cpython-38
creating build\temp.win-amd64-cpython-38\Release
building '_libheif_cffi' extension
creating build\temp.win-amd64-cpython-38\Release\build
creating build\temp.win-amd64-cpython-38\Release\build\temp.win-amd64-cpython-38
creating build\temp.win-amd64-cpython-38\Release\build\temp.win-amd64-cpython-38\Release
"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 -I/usr/local/include -I/usr/include -I/opt/local/include -IC:\Users\sjlee\miniconda3\envs\rde2\include -IC:\Users\sjlee\miniconda3\envs\rde2\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" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\cppwinrt" /Tcbuild\temp.win-amd64-cpython-38\Release_libheif_cffi.c /Fobuild\temp.win-amd64-cpython-38\Release\build\temp.win-amd64-cpython-38\Release_libheif_cffi.obj
_libheif_cffi.c
build\temp.win-amd64-cpython-38\Release_libheif_cffi.c(570): fatal error C1083: Cannot open include file: 'libheif/heif.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 pyheif

@dmw51
Copy link
Owner

dmw51 commented Nov 30, 2023

Hi, Windows is currently unsupported. There is a docker image available at https://hub.docker.com/r/dmwil/reactiondataextractor2 which allows easier use.
Alternatively with Windows, you can install the tool within WSL.

@Seungju88
Copy link
Author

Hi, Windows is currently unsupported. There is a docker image available at https://hub.docker.com/r/dmwil/reactiondataextractor2 which allows easier use. Alternatively with Windows, you can install the tool within WSL.

Thanks your reply! 🎅🏼

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

2 participants