alidist icon indicating copy to clipboard operation
alidist copied to clipboard

Bump scikit-learn on older python versions

Open singiamtel opened this issue 1 year ago • 0 comments

Fixes the following error (tested on python 3.10)

  Error compiling Cython file:
  ------------------------------------------------------------
  ...
      # Max value for our rand_r replacement (near the bottom).
      # We don't use RAND_MAX because it's different across platforms and
      # particularly tiny on Windows/MSVC.
      RAND_R_MAX = 0x7FFFFFFF

  cpdef sample_without_replacement(np.int_t n_population,
                                   ^
  ------------------------------------------------------------

  sklearn/utils/_random.pxd:18:33: 'int_t' is not a type identifier

singiamtel avatar Jul 01 '24 09:07 singiamtel