Svdvoort / PREDICTFastr

Other
6 stars 4 forks source link

PREDICT cannot be installed #11

Open zandarina1 opened 2 months ago

zandarina1 commented 2 months ago

Hello,

Congrats for your library. I would like to install PREDICT. However when I install it, i get an error when it is installing pywavelet. I saw that the versions allowed are PyWavelets>=0.4.0, <=1.0.0. However with python 3.12 those versions are not working. So this package cannot be installed without downgrading python, that it is not a possibility.

           python setup.py egg_info did not run successfully.
       │ exit code: 1
         ╰─> [18 lines of output]
              C:\Users\xxx\AppData\Local\Temp\pip-install-    
               i_vvbzxy\pywavelets_4615debce55d49c7a4b10ffdce67eed1\setup.py:52: DeprecationWarning: 
            the imp module is deprecated in favour of importlib and slated for 
           removal in Python 3.12; see the module's   
         documentation for alternative uses  
        import imp

        Error compiling Cython file:
       ------------------------------------------------------------
    ...
     cimport wavelet
          ^
     ------------------------------------------------------------

  pywt\_extensions\_pywt.pxd:1:8: 'wavelet.pxd' not found

  Error compiling Cython file:

` Just to mention that the last versions of pywavelet are ok with python 3.x, if the library could be upgraded, it would could work with current packages. Thank you

zandarina1 commented 2 months ago

I think it should be updated for current use to PyWavelets 1.5.0 at least....

This release is a minor update to 1.4.x. It adds support for Python 3.12 and drops support for Python 3.8. It also adds support for Cython 3.0.

MStarmans91 commented 1 month ago

Unfortunately, for the main version of PREDICT, we are still only testing on Python 3.6 and Python 3.7 due to our old in-house hardware. We are planning to upgrade PREDICT in the near future, dropping support for these versions. We have already prepared a release compatible with Python 3.11, which I have not tested for Python 3.12 but should work: https://github.com/Svdvoort/PREDICTFastr/tree/py311. Let us know if that helps.