Skip to content

Invalid Keras version specifier in requirements.txt #43

Description

@Ayu-this-side

Description

While trying to run the BRAIN TUMOR DETECTION [END 2 END] project, I encountered an error while installing the dependencies using:

pip install -r requirements.txt

The installation fails because requirements.txt contains:

keras=1.1.0

According to pip's requirement syntax, an exact package version should use == rather than =.

Therefore, this line should be:

keras==1.1.0

Error

The current requirement causes pip to return:

ERROR: Invalid requirement: 'keras=1.1.0'

Suggested fix

Change:

keras=1.1.0

to:

keras==1.1.0

I also noticed that the project specifies older versions of Python, TensorFlow, and Keras, so documenting the required legacy environment may be helpful for users trying to run the project with modern Python versions.

Thank you!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions