python-rope / ropevim

vim mode that uses rope library to provide features like python refactorings and code-assists
GNU General Public License v2.0
245 stars 34 forks source link

Crash on file open #90

Closed Nudin closed 2 years ago

Nudin commented 2 years ago

When I open a python file ropevim crashes with the following error-message:

Error detected while processing function LoadRope[4]..provider#python3#Call:                                    
line   18:                                                                                                      
Error invoking 'python_execute' on channel 3 (python3-script-host):                                             
Traceback (most recent call last):                                                                              
  File "<string>", line 1, in <module>                                                                          
ModuleNotFoundError: No module named 'ropevim'                                                                  
Press ENTER or type command to continue

System: Current ropevim installed with Plug, neovim v0.5.1, rope 0.21.0, Arch

lieryan commented 2 years ago

Hi @Nudin thanks for using ropevim. You may need to pip install ropevim to the python environment that is used by vim.

I've updated the installation instruction to mention this.

Let me know if this resolves your issue.

Nudin commented 2 years ago

Works!