-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tensorflow-core-ops won't compile #259
Comments
I think you'll need to add the new op to the blacklist: haskell/tensorflow-core-ops/Setup.hs Line 86 in 739f661
You're probably using a newer version of tensorflow than has been tested before with this library. |
Like @judah said, sharing the TF version would help with diagnosing. So would using the TF version currently tested in the project. |
tensorflow-core-ops-0.2.0.1 is the name of the core-ops package and it's the same exact version for tensorflow. I got both of them from hackage. |
@SKYNET1 we mean the version of the Tensorflow C++ library itself that's installed on your machine, not these Haskell bindings. (For example, from https://www.tensorflow.org/install/lang_c). |
Oh, sorry. That is version 2.2.0 |
Error message is:
Resolving dependencies... Starting tensorflow-core-ops-0.2.0.1 Building tensorflow-core-ops-0.2.0.1 Failed to install tensorflow-core-ops-0.2.0.1 Build log ( /home/noah/.cabal/logs/ghc-8.6.5/tensorflow-core-ops-0.2.0.1-235Sg1PUXZGDGhDcUwp47K.log ): cabal: Entering directory '/tmp/cabal-tmp-6165/tensorflow-core-ops-0.2.0.1' [1 of 1] Compiling Main ( /tmp/cabal-tmp-6165/tensorflow-core-ops-0.2.0.1/dist/setup/setup.hs, /tmp/cabal-tmp-6165/tensorflow-core-ops-0.2.0.1/dist/setup/Main.o ) Linking /tmp/cabal-tmp-6165/tensorflow-core-ops-0.2.0.1/dist/setup/setup ... Configuring tensorflow-core-ops-0.2.0.1... parseAttrType: unrecognized type "func" for op "LegacyParallelInterleaveDatasetV2" CallStack (from HasCallStack): error, called at src/TensorFlow/OpGen/ParsedOp.hs:345:10 in tensorflow-opgen-0.2.0.1-Fre9UOrsWuM54BucKfZJ4M:TensorFlow.OpGen.ParsedOp cabal: Leaving directory '/tmp/cabal-tmp-6165/tensorflow-core-ops-0.2.0.1' cabal: Error: some packages failed to install: tensorflow-core-ops-0.2.0.1-235Sg1PUXZGDGhDcUwp47K failed during the building phase. The exception was: ExitFailure 1
GHC version is : 8.6.5
cabal version is : 2.4.1.0
OS: Arch Linux.
The text was updated successfully, but these errors were encountered: