title: Importing Keras causes "Function has keyword-only arguments or annotations" error
body: <p>Im runnign a machine on Google cloud <code>(16 vCPUs, 41 GB memory) CPU platform Intel Skylake</code> which im running <code>keras</code> on it, im getting the following error:</p>
  
  <pre><code>yehoshaphat_schellekens@try-kaggle-toxic:~/toxic$ python
  Python 3.5.4 |Anaconda custom (64-bit)| (default, Aug 14 2017, 13:26:58) 
  [GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux
  Type "help", "copyright", "credits" or "license" for more information.
  &gt;&gt;&gt; import keras
  Using TensorFlow backend.
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
    File "/home/yehoshaphat_schellekens/anaconda3/lib/python3.5/site-packages/keras/__init__.py", line 3, in &lt;module&gt;
      from . import utils
    File "/home/yehoshaphat_schellekens/anaconda3/lib/python3.5/site-packages/keras/utils/__init__.py", line 6, in &lt;module&gt;
      from . import conv_utils
    File "/home/yehoshaphat_schellekens/anaconda3/lib/python3.5/site-packages/keras/utils/conv_utils.py", line 3, in &lt;module&gt;
      from .. import backend as K
    File "/home/yehoshaphat_schellekens/anaconda3/lib/python3.5/site-packages/keras/backend/__init__.py", line 83, in &lt;module&gt;
      from .tensorflow_backend import *
    File "/home/yehoshaphat_schellekens/anaconda3/lib/python3.5/site-packages/keras/backend/tensorflow_backend.py", line 1, in &lt;module&gt;
      import tensorflow as tf
    File "/home/yehoshaphat_schellekens/anaconda3/lib/python3.5/site-packages/tensorflow/__init__.py", line 23, in &lt;module&gt;
      from tensorflow.python import *
    File "/home/yehoshaphat_schellekens/anaconda3/lib/python3.5/site-packages/tensorflow/python/__init__.py", line 62, in &lt;module&gt;
      import tensorflow.contrib as contrib
    File "/home/yehoshaphat_schellekens/anaconda3/lib/python3.5/site-packages/tensorflow/contrib/__init__.py", line 26, in &lt;module&gt;
      from tensorflow.contrib import learn
    File "/home/yehoshaphat_schellekens/anaconda3/lib/python3.5/site-packages/tensorflow/contrib/learn/__init__.py", line 20, in &lt;module&gt;
      from tensorflow.contrib.learn.python.learn import *
    File "/home/yehoshaphat_schellekens/anaconda3/lib/python3.5/site-packages/tensorflow/contrib/learn/python/__init__.py", line 20, in &lt;module&gt;
      from tensorflow.contrib.learn.python.learn import *
    File "/home/yehoshaphat_schellekens/anaconda3/lib/python3.5/site-packages/tensorflow/contrib/learn/python/learn/__init__.py", line 22, in &lt;module&gt;
      from tensorflow.contrib.learn.python.learn.io import *
    File "/home/yehoshaphat_schellekens/anaconda3/lib/python3.5/site-packages/tensorflow/contrib/learn/python/learn/io/__init__.py", line 20, in &lt;module&gt;
      from tensorflow.contrib.learn.python.learn.io.dask_io import *
    File "/home/yehoshaphat_schellekens/anaconda3/lib/python3.5/site-packages/tensorflow/contrib/learn/python/learn/io/dask_io.py", line 23, in &lt;module&gt;
      import dask.dataframe as dd
    File "/home/yehoshaphat_schellekens/anaconda3/lib/python3.5/site-packages/dask/dataframe/__init__.py", line 1, in &lt;module&gt;
      from .core import (DataFrame, Series, Index, _Frame, map_partitions,
    File "/home/yehoshaphat_schellekens/anaconda3/lib/python3.5/site-packages/dask/dataframe/core.py", line 23, in &lt;module&gt;
      from .. import array as da
    File "/home/yehoshaphat_schellekens/anaconda3/lib/python3.5/site-packages/dask/array/__init__.py", line 4, in &lt;module&gt;
      from .core import (Array, stack, concatenate, take, tensordot, transpose,
    File "/home/yehoshaphat_schellekens/anaconda3/lib/python3.5/site-packages/dask/array/core.py", line 13, in &lt;module&gt;
      from toolz.curried import (pipe, partition, concat, unique, pluck, join, first,
    File "/home/yehoshaphat_schellekens/anaconda3/lib/python3.5/site-packages/toolz/curried/__init__.py", line 53, in &lt;module&gt;
      _curry_namespace(vars(toolz)),
    File "/home/yehoshaphat_schellekens/anaconda3/lib/python3.5/site-packages/toolz/curried/__init__.py", line 48, in _curry_namespace
      for name, f in ns.items() if '__' not in name
    File "/home/yehoshaphat_schellekens/anaconda3/lib/python3.5/site-packages/toolz/curried/__init__.py", line 48, in &lt;genexpr&gt;
      for name, f in ns.items() if '__' not in name
    File "/home/yehoshaphat_schellekens/anaconda3/lib/python3.5/site-packages/toolz/curried/__init__.py", line 42, in _should_curry
      return (callable(f) and _nargs(f) &gt; 1 or f in do_curry)
    File "/home/yehoshaphat_schellekens/anaconda3/lib/python3.5/site-packages/toolz/curried/__init__.py", line 35, in _nargs
      return len(inspect.getargspec(f).args)
    File "/home/yehoshaphat_schellekens/anaconda3/lib/python3.5/inspect.py", line 1050, in getargspec
      raise ValueError("Function has keyword-only arguments or annotations"
  ValueError: Function has keyword-only arguments or annotations, use getfullargspec() API which can support them
  </code></pre>
  
  <p>Ive tried solutions from here: <a href="https://stackoverflow.com/questions/42556972/importerror-with-importing-keras">ImportError with importing keras</a> (like upgrading <code>tensoreflow</code>) or from here: <a href="https://stackoverflow.com/questions/41374447/getting-importerror-while-importing-keras">Getting ImportError while importing keras</a> but they both seem to solve a different problem.</p>
  
  <p>Notice that i have `tensoreflow' installed:</p>
  
  <pre><code>yehoshaphat_schellekens@try-kaggle-toxic:~$ sudo python -c 'import tensorflow as tf; print(tf.__version__)'
  1.4.1
  </code></pre>
  
  <p>Any help on that (or at least an explanation on what is a <em>Function has keyword-only arguments or annotations</em> would be great.</p>
  
  <p>Thanks in advance!</p>