Skip to content

Keras failure in R after using in python with Anaconda  #733

Closed
@NigelKinney

Description

@NigelKinney

Hello,

I have had some weird issues: I mainly used keras on R, but last week I had to do that in python, and then today I realized that my keras installation in RStudio.

I got this error for all keras functions; such as .

model <- keras_model_sequential()

or

rray_reshape(x = xtrain, dim = list(dim(xtrain)[1], 1, dim(xtrain)[2]))

keras Error: lexical error: invalid char in json text. WARNING: The conda.compat module

But when I uninstall anaconda, then I could use my keras.
Does anyone know what may be happening. (I am okay without Anaconda, but it is not that convenient as I do need to use Python occasionally)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions