prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  cannot install autokeras because of package dependency confliction
  ### Bug Description
  following package dependency is configured at setup.py
  https://github.com/jhfjhfj1/autokeras/blob/master/setup.py#L6
  
  ```
  install_requires=['torch==0.4.1', 'torchvision==0.2.1', 'numpy>=1.14.5', 'keras==2.2.2', 'scikit-learn==0.19.1',
                        'tensorflow>=1.10.0', 'tqdm==4.25.0'],
  ```
  
  When execute `pip install autokeras`, following error is appeared.
  
  ```
  keras 2.2.2 has requirement keras-applications==1.0.4, but you'll have keras-applications 1.0.6 which is incompatible.
  keras 2.2.2 has requirement keras-preprocessing==1.0.2, but you'll have keras-preprocessing 1.0.5 which is incompatible.
  ```
  
  It is because that tensorflow==1.11.0 is installed first and
  keras-applications >= 1.0.5 and keras-preprocessing > = 1.0.3 can installed with tensorflow==1.11.0.
  On the other hand, keras==2.2.2's dependency versions are keras-applications==1.0.4 and keras-preprocessing==1.0.2.
  
   tensorflow version should be defined as `tensorflow==1.10.0`at [setup.py L6](https://github.com/jhfjhfj1/autokeras/blob/master/setup.py#L6).
  
  ```
  # before
  install_requires=['torch==0.4.1', 'torchvision==0.2.1', 'numpy>=1.14.5', 'keras==2.2.2', 'scikit-learn==0.19.1',
                        'tensorflow>=1.10.0', 'tqdm==4.25.0'],
  
  # after
  install_requires=['torch==0.4.1', 'torchvision==0.2.1', 'numpy>=1.14.5', 'keras==2.2.2', 'scikit-learn==0.19.1',
                        'tensorflow==1.10.0', 'tqdm==4.25.0'],
  ```
  
  ### Reproducing Steps
   
  Step1: curl https://gist.githubusercontent.com/chie8842/b3b9f3ea2d886bbb5aa5c903b9e42ee3/raw/e94cc375ca1265c66d4517a25a748f1e13a3de9d/Dockerfile -o Dockerfile
  Step2: docker build -t autokeras -f Dockerfile .
  Step3: docker run -it --rm autokeras /bin/bash
  Step4: sudo pip install autokeras
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `setup.py`
  Content:
  ```
  1 from distutils.core import setup
  2 
  3 setup(
  4     name='autokeras',
  5     packages=['autokeras'],  # this must be the same as the name above
  6     install_requires=['torch==0.4.1', 'torchvision==0.2.1', 'numpy>=1.14.5', 'keras==2.2.2', 'scikit-learn==0.19.1',
  7                       'tensorflow>=1.10.0', 'tqdm==4.25.0'],
  8     version='0.2.18',
  9     description='AutoML for deep learning',
  10     author='Haifeng Jin',
  11     author_email='jhfjhfj1@gmail.com',
  12     url='http://autokeras.com',
  13     download_url='https://github.com/jhfjhfj1/autokeras/archive/0.2.18.tar.gz',
  14     keywords=['automl'],  # arbitrary keywords
  15     classifiers=[]
  16 )
  17
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/setup.py b/setup.py
  --- a/setup.py
  +++ b/setup.py
  @@ -4,7 +4,7 @@
       name='autokeras',
       packages=['autokeras'],  # this must be the same as the name above
       install_requires=['torch==0.4.1', 'torchvision==0.2.1', 'numpy>=1.14.5', 'keras==2.2.2', 'scikit-learn==0.19.1',
  -                      'tensorflow>=1.10.0', 'tqdm==4.25.0'],
  +                      'tensorflow==1.10.0', 'tqdm==4.25.0'],
       version='0.2.18',
       description='AutoML for deep learning',
       author='Haifeng Jin',
  
verification_info: {"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -4,7 +4,7 @@\n     name='autokeras',\n     packages=['autokeras'],  # this must be the same as the name above\n     install_requires=['torch==0.4.1', 'torchvision==0.2.1', 'numpy>=1.14.5', 'keras==2.2.2', 'scikit-learn==0.19.1',\n-                      'tensorflow>=1.10.0', 'tqdm==4.25.0'],\n+                      'tensorflow==1.10.0', 'tqdm==4.25.0'],\n     version='0.2.18',\n     description='AutoML for deep learning',\n     author='Haifeng Jin',\n", "issue": "cannot install autokeras because of package dependency confliction\n### Bug Description\r\nfollowing package dependency is configured at setup.py\r\nhttps://github.com/jhfjhfj1/autokeras/blob/master/setup.py#L6\r\n\r\n```\r\ninstall_requires=['torch==0.4.1', 'torchvision==0.2.1', 'numpy>=1.14.5', 'keras==2.2.2', 'scikit-learn==0.19.1',\r\n                      'tensorflow>=1.10.0', 'tqdm==4.25.0'],\r\n```\r\n\r\nWhen execute `pip install autokeras`, following error is appeared.\r\n\r\n```\r\nkeras 2.2.2 has requirement keras-applications==1.0.4, but you'll have keras-applications 1.0.6 which is incompatible.\r\nkeras 2.2.2 has requirement keras-preprocessing==1.0.2, but you'll have keras-preprocessing 1.0.5 which is incompatible.\r\n```\r\n\r\nIt is because that tensorflow==1.11.0 is installed first and\r\nkeras-applications >= 1.0.5 and keras-preprocessing > = 1.0.3 can installed with tensorflow==1.11.0.\r\nOn the other hand, keras==2.2.2's dependency versions are keras-applications==1.0.4 and keras-preprocessing==1.0.2.\r\n\r\n tensorflow version should be defined as `tensorflow==1.10.0`at [setup.py L6](https://github.com/jhfjhfj1/autokeras/blob/master/setup.py#L6).\r\n\r\n```\r\n# before\r\ninstall_requires=['torch==0.4.1', 'torchvision==0.2.1', 'numpy>=1.14.5', 'keras==2.2.2', 'scikit-learn==0.19.1',\r\n                      'tensorflow>=1.10.0', 'tqdm==4.25.0'],\r\n\r\n# after\r\ninstall_requires=['torch==0.4.1', 'torchvision==0.2.1', 'numpy>=1.14.5', 'keras==2.2.2', 'scikit-learn==0.19.1',\r\n                      'tensorflow==1.10.0', 'tqdm==4.25.0'],\r\n```\r\n\r\n### Reproducing Steps\r\n\u00a0\r\nStep1: curl https://gist.githubusercontent.com/chie8842/b3b9f3ea2d886bbb5aa5c903b9e42ee3/raw/e94cc375ca1265c66d4517a25a748f1e13a3de9d/Dockerfile -o Dockerfile\r\nStep2: docker build -t autokeras -f Dockerfile .\r\nStep3: docker run -it --rm autokeras /bin/bash\r\nStep4: sudo pip install autokeras\n", "before_files": [{"content": "from distutils.core import setup\n\nsetup(\n    name='autokeras',\n    packages=['autokeras'],  # this must be the same as the name above\n    install_requires=['torch==0.4.1', 'torchvision==0.2.1', 'numpy>=1.14.5', 'keras==2.2.2', 'scikit-learn==0.19.1',\n                      'tensorflow>=1.10.0', 'tqdm==4.25.0'],\n    version='0.2.18',\n    description='AutoML for deep learning',\n    author='Haifeng Jin',\n    author_email='jhfjhfj1@gmail.com',\n    url='http://autokeras.com',\n    download_url='https://github.com/jhfjhfj1/autokeras/archive/0.2.18.tar.gz',\n    keywords=['automl'],  # arbitrary keywords\n    classifiers=[]\n)\n", "path": "setup.py"}], "after_files": [{"content": "from distutils.core import setup\n\nsetup(\n    name='autokeras',\n    packages=['autokeras'],  # this must be the same as the name above\n    install_requires=['torch==0.4.1', 'torchvision==0.2.1', 'numpy>=1.14.5', 'keras==2.2.2', 'scikit-learn==0.19.1',\n                      'tensorflow==1.10.0', 'tqdm==4.25.0'],\n    version='0.2.18',\n    description='AutoML for deep learning',\n    author='Haifeng Jin',\n    author_email='jhfjhfj1@gmail.com',\n    url='http://autokeras.com',\n    download_url='https://github.com/jhfjhfj1/autokeras/archive/0.2.18.tar.gz',\n    keywords=['automl'],  # arbitrary keywords\n    classifiers=[]\n)\n", "path": "setup.py"}]}