I am trying to install a new library, but get errors with patch installation

Viewed 17

Following instruction on this website: https://pysptools.sourceforge.io/installation.html I get the following errors in the anaconda prompt window:

(spectral_environment) PS PATH\miniconda3\envs\spectral_environment\Lib\site-packages\lightgbm> patch -b < lightgbm_2.1.2_sklearn.patch
At line:1 char:10
+ patch -b < lightgbm_2.1.2_sklearn.patch
+          ~
The '<' operator is reserved for future use.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : RedirectionNotSupported

so i tried this

(spectral_environment) PS PATH\miniconda3\envs\spectral_environment\Lib\site-packages\lightgbm> patch -b lightgbm_2.1.2_sklearn.patch

patch : The term 'patch' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ patch -b lightgbm_2.1.2_sklearn.patch
+ ~~~~~
    + CategoryInfo          : ObjectNotFound: (patch:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

And got a different error. This is probably really obvious, but ive no idea. Could the PySp tools documentation be out of date with my version of anaconda? Has anaconda changed that much? What am I doing wrong?

Thanks

0 Answers
Related