Has anyone successfully installed pynbody on Windows? I can't find a statement that it either is or is not supported? A search on "Windows" in this group draws a blank.
My basic setup is Windows 10, Anaconda, Python 3.10 (virtual environment). Microsoft Visual Studio\2022 is installed and working.
My first problem was that setup.py line 26 checks environment variable CC and that isn't typically set in a Visual Studio setup. I set it and got a bit further with the pynbody installation.
I'm now stuck installing the posix_ipc dependency. The failing line is:
posix_ipc_module.c(37): fatal error C1083: Cannot open include file: 'sys/time.h': No such file or directory
error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.31.31103\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
and the same happens if I attempt to install it directly with pip install. It isn't a conda package.
According to
http://semanchuk.com/philip/posix_ipc/ the module works in Windows, however various people report the same issue as mine installing in Windows and I have not found any specific suggested workarounds.
I don't have a Linux environment to hand, I could get one but it involves spending money.
Can pynbody be installed in Windows and if so, how? Any help appreciated.