title: Python refactoring fails in Visual Studio Code
body: <p>I switched to Visual Studio Code for Python programming recently. Below is my Python configuration in Visual Studio Code settings:</p>
  
  <pre><code>"python.pythonPath": "/Users/hzhang/.virtualenvs/env-2.7/bin/python",
  "python.autoComplete.extraPaths": [
      "/Users/hzhang/Work/xxx/shared_modules"
  ],
  </code></pre>
  
  <p>Basically, I just configure the Python interpreter and add one extra shared module path.</p>
  
  <p>When I try to refactor a variable name, it throws this <em>error</em> which says <code>rope</code> is not installed, and it doesn't work even I install it. Based on my understanding, refactor variables is a feature of Visual Studio Code, and it shouldn't rely on any specific language.</p>
  
  <p>How can I fix this problem?</p>
  
  <p><a href="https://i.stack.imgur.com/cjWIP.png" rel="noreferrer"><img src="https://i.stack.imgur.com/cjWIP.png" alt="Enter image description here"></a></p>
  
  <p>Once I installed <code>rope</code>, refactor was still not working. It popups this error:</p>
  
  <p><a href="https://i.stack.imgur.com/3dUJ3.png" rel="noreferrer"><img src="https://i.stack.imgur.com/3dUJ3.png" alt="Enter image description here"></a></p>
  
  <pre class="lang-none prettyprint-override"><code>I am on Python 2.7
  Visual Studio Code: Version 1.19.3 (1.19.3)
  Rope version: 0.10.7
  </code></pre>