numpy frombuffer - AttributeError: 'str' object has no attribute '__buffer__' : <p>Python Version: 3.5.2
Numpy Version : 1.12.1</p>

<p>Error:</p>

<pre><code>import numpy as np
s = 'Hello World'
np.frombuffer(s, dtype='S1')
AttributeError: 'str' object has no attribute '__buffer__'
</code></pre>

<p>Things Tried:</p>

<blockquote>
  <ol>
  <li>Tried Online Ideone compiler, got same error in Python3.xx.</li>
  <li>Referred <a href="https://www.scipy.org/scipylib/faq.html#do-numpy-and-scipy-support-python-3-x" rel="noreferrer">scipy faqs</a> for numpy and python compatible version, which states "NumPy support the Python 2.x series, (versions 2.6 and
  2.7), as well as Python 3.2 and newer. The first release of NumPy to support Python 3 was NumPy 1.5.0."</li>
  </ol>
</blockquote>

<p>Can't figure out the issue, tried stackoverflow for same issue but nothing found, may be i had missed it.
Any suggestions or leads on why the error and how to resolve it in python3.xx.</p>
