title: Why i can't import BaseModel from Pydantic?
body: <p>enter code hereI try to import pydantic (1.8.1 ver.) library.</p>
  <p>When i try import BaseModel from pydantic I get error.
  I try to import like this
  <code>from pydantic import BaseModel</code></p>
  <p>Output:</p>
  <blockquote>
  <p>ImportError: cannot import name 'BaseModel' from partially initialized module 'pydantic' (most likely due to a circular import) (D:\temp\main.py)</p>
  </blockquote>
  <p>This is my code:</p>
  <pre><code>from pydantic import BaseModel  
  from datetime import datetime
  from datetime import date
  from typing import List, Dict
  
  class CurrencyRequest(BaseModel):
  
      base: str = &quot;EUR&quot;
      symbols: List[str]
      start_at: date = None
      end_at: date = None
  
      def __str__(self):
          return &quot;&quot;&quot;
          Dates range: {start} - {end}
          Base currency: {base}
          Different currencies: {curr}
          &quot;&quot;&quot;.format(
              start=self.start_at.strftime(&quot;%Y-%m-%d&quot;) if self.start_at is not None else &quot;...&quot;,
              end=self.end_at.strftime(&quot;%Y-%m-%d&quot;) if self.end_at is not None else &quot;...&quot;,
              base=self.base,
              curr=self.symbols
          )
  </code></pre>
  <p><a href="https://i.stack.imgur.com/XShm0.png" rel="nofollow noreferrer">This is link to photo with error</a></p>
  <p>Thanks for all answers.</p>