Skip to content

ModuleNotFoundError: No module named 'tomli._parser' #1179

@eyalk11

Description

@eyalk11

I install it using vim-plug with all submodules . Relevant settings:

let g:python3_host_prog='C:\\Users\\ekarni\\.pyenv\\pyenv-win\\versions\\3.9\\python.exe'
let g:python_host_prog='C:\\Users\\ekarni\\.pyenv\\pyenv-win\\versions\\3.9\\python.exe'
let g:pymode=1
let g:pymode_rope = 1
let g:pymode_rope_autoimport =1

When trying PymodeRopeAutoImport I get:

Error invoking 'python_execute' on channel 3 (python3-script-host):
Traceback (most recent call last):
  File "<string>", line 1, in <module>
NameError: name 'rope' is not defined

If I do py3 import rope

Error invoking 'python_execute' on channel 3 (python3-script-host):
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: cannot import name 'rope' from 'rope' (C:\Users\ekarni\.vim\plugged\python-mode\submodules\rope\rope\__init__.py)

Notice that it is installed. Why it fails using it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions