title: Why is dataclass is not working correctly?
body: <p>The dataclass-function is not working. For example,</p>
  <pre><code>from dataclasses import dataclass
  
  @dataclass
  class Person:
      name: str
      age: int
  
  p = Person(&quot;Jonas&quot;, 27)
  print(p)
  </code></pre>
  <p>The error message occurs when I try to define p:</p>
  <pre><code>TypeError: Person() takes no arguments
  </code></pre>
  <p>Hence, dataclass is not handling the <code>__init__</code> function appropriately.
  The dataclasses.py file is in
  <code> C:\Users\Jonas\Desktop\Tut_Dataclass\test_env\Lib\site-packages</code> (1),
  where I also find a folder <code>dataclasses-0.6.dist-info</code>.
  Typing <code>where python</code> in comand prompt (in VSCode) gives the correct location  <code>C:\Users\Jonas\Desktop\Tut_Dataclass\test_env\Scripts\python.exe</code>.
  Checking <code>sys.path</code>shows that (1) is listed and therefore python should find the module dataclasses.
  I checked numpy (installed via pip) and it works properly.
  As a novice in VSCode and python, I appreciate any idea to solve this issue.</p>