VMware Fusion fails – File Not Found

When you launch VMware Fusion, it fails with this error:

vmware Fusion fails

This issue occurs if:

  • The virtual machine files are deleted manually from the Finder utility in Mac OS X and not from the VMware Fusion UI.
  • Migration assistant was used to transfer files from old Mac to a New Mac under different username.
  • Folder containing the Virtual Machine files is either renamed or removed.

VMware Fusion displays a File Not Found error message, as it is unable to find the virtual machine registered in the Virtual Machine Library.

To resolve the issue, remove the missing virtual machine entry from the Virtual Machine Library.

To remove the missing virtual machine entry from the Virtual Machine Library:

  1. Click OK to dismiss the File Not Found error.
  2. Click the Window menu.
  3. Select Virtual Machine Library.
  4. Right-click the the missing virtual machine entry and click Delete

Avoid Python creating .pyc files

Edit the ‘site-packages/usercustomize.py‘ and add this code:

import sys
 
sys.dont_write_bytecode = True

to make this apply to all your scripts.

For me this directory was

~/.virtualenvs/{my-envs}/lib/python2.7/site-packages

but I had to create ‘usercustomize.py‘ because it didn’t exist.