title: Gensim -- [Errno 2] No such file or directory: 'model.wv'
body: <p>I've got a question during following the simple gensim tutorial on <a href="https://radimrehurek.com/gensim/models/word2vec.html" rel="nofollow noreferrer">gensim website</a>,</p>
  
  <pre><code>&gt;&gt;&gt; from gensim.test.utils import common_texts, get_tmpfile
  &gt;&gt;&gt; from gensim.models import Word2Vec
  &gt;&gt;&gt;
  &gt;&gt;&gt; path = get_tmpfile("word2vec.model")
  &gt;&gt;&gt;
  &gt;&gt;&gt; model = Word2Vec(common_texts, size=100, window=5, min_count=1, workers=4)
  &gt;&gt;&gt; model.save("word2vec.model")
  &gt;&gt;&gt; model = Word2Vec.load("word2vec.model")
  &gt;&gt;&gt; model.train([["hello", "world"]], total_examples=1, epochs=1)
  
  &gt;&gt;&gt; from gensim.models import KeyedVectors
  &gt;&gt;&gt;
  &gt;&gt;&gt; path = get_tmpfile("wordvectors.kv")
  &gt;&gt;&gt;
  </code></pre>
  
  <p>And when I tried below,</p>
  
  <pre><code>&gt;&gt;&gt; model.wv.save(path)
  &gt;&gt;&gt; wv = KeyedVectors.load("model.wv", mmap='r')
  </code></pre>
  
  <p>I've got a following error :</p>
  
  <pre><code>---------------------------------------------------------------------------
  FileNotFoundError                         Traceback (most recent call last)
  &lt;ipython-input-81-eee6865b677b&gt; in &lt;module&gt;
        1 path = get_tmpfile('wordvectors.kv')
        2 model.wv.save(path)
  ----&gt; 3 KeyedVectors.load("model.wv",mmap='r')
  
  /anaconda3/lib/python3.7/site-packages/gensim/models/keyedvectors.py in load(cls, fname_or_handle, **kwargs)
      210     @classmethod
      211     def load(cls, fname_or_handle, **kwargs):
  --&gt; 212         return super(BaseKeyedVectors, cls).load(fname_or_handle, **kwargs)
      213 
      214     def similarity(self, entity1, entity2):
  
  /anaconda3/lib/python3.7/site-packages/gensim/utils.py in load(cls, fname, mmap)
      420         compress, subname = SaveLoad._adapt_by_suffix(fname)
      421 
  --&gt; 422         obj = unpickle(fname)
      423         obj._load_specials(fname, mmap, compress, subname)
      424         logger.info("loaded %s", fname)
  
  /anaconda3/lib/python3.7/site-packages/gensim/utils.py in unpickle(fname)
     1356 
     1357     """
  -&gt; 1358     with smart_open(fname, 'rb') as f:
     1359         # Because of loading from S3 load can't be used (missing readline in smart_open)
     1360         if sys.version_info &gt; (3, 0):
  
  /anaconda3/lib/python3.7/site-packages/smart_open/smart_open_lib.py in smart_open(uri, mode, **kw)
      179         raise TypeError('mode should be a string')
      180 
  --&gt; 181     fobj = _shortcut_open(uri, mode, **kw)
      182     if fobj is not None:
      183         return fobj
  
  /anaconda3/lib/python3.7/site-packages/smart_open/smart_open_lib.py in _shortcut_open(uri, mode, **kw)
      299     #
      300     if six.PY3:
  --&gt; 301         return open(parsed_uri.uri_path, mode, buffering=buffering, **open_kwargs)
      302     elif not open_kwargs:
      303         return open(parsed_uri.uri_path, mode, buffering=buffering)
  
  FileNotFoundError: [Errno 2] No such file or directory: 'model.wv'
  </code></pre>
  
  <p>Does anyone know the reason for this message? How can I know that I do have 'model.wv' file?</p>
  
  <p>Thank you in advance!</p>