Skip to content

Windows installations fail #216

Open
@folterj

Description

@folterj

All Windows installations as described appear to fail for me.
OS: Windows 10 64-bit
Python: 3.x 64-bit
GPU: Nvidia GTX 1050 Ti

I've tried the approaches as documented without success:

  • The easy way (tensorflow with and without -gpu)
  • Using Beta Installers
  • Installing via Conda (/pip)
  • Compile it yourself
    • creating a local conda channel, and installing from there
    • running CMake/build manually with customized options

The main error appears to be that a suitable version of tensorflow cannot be found.
As a side note, according to the tensorflow documentation, Windows GPU is supported up to TF version 2.10, is currently preferred installed via PIP, not using the 'tensorflow-gpu' package as the regular package automatically detects GPU. I have been able to install tensorflow (and pytorch) separately with GPU support.
Installing tensorflow separately before installing TREX, results in TREX unable to find tensorflow, even if the expected version is installed (2.8). I've attempted installing various versions of Python 3 (all 64 bit) and tensorflow (with and without -gpu).
The Windows beta installer fails on env/version conflicts (see attached file install.log).
For completeness (though this is my least favourite method), the compile using CMake approach fails as bellow (I note it appears to use python 3.12):

  test_python.cpp
C:\Users\Y\PycharmProjects\trex\Application\build\_deps\pybind11-src\include\pybind11\detail\type_cas
ter_base.h(482,21): error C2027: use of undefined type '_frame' [C:\Users\Y\PycharmProjects\trex\Appl
ication\build\src\commons\examples\test_python.vcxproj]
  (compiling source file '../../../../src/commons/examples/test_python.cpp')
  C:\Program Files\Python312\include\pytypedefs.h(22,16):
  see declaration of '_frame'

Another note is that the python and tensorflow versions do not appear to be pinned in the configurations.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions