Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: No module named 'RuboCop' #60

Open
davidalejandroaguilar opened this issue Nov 5, 2018 · 1 comment
Open

ImportError: No module named 'RuboCop' #60

davidalejandroaguilar opened this issue Nov 5, 2018 · 1 comment

Comments

@davidalejandroaguilar
Copy link

Please add some general information about your environment:
  • Operating System: Ubuntu 16.04.5
  • Sublime Text version: 3.1.1 Build 3176
  • Details about your config e.g. do you use rbenv, rvm or your_own_command to run rubocop?: Using rbenv.
Steps to reproduce:
  1. Added git repo using Package Control: Add Repository (because it is not listed otherwise)
  2. Added sublime_rubocop using Package Control
  3. Start Sublime
Error:
Traceback (most recent call last):
  File "/opt/sublime_text/sublime_plugin.py", line 116, in reload_plugin
    m = importlib.import_module(modulename)
  File "./python3.3/importlib/__init__.py", line 90, in import_module
  File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
  File "/opt/sublime_text/sublime_plugin.py", line 1183, in load_module
    exec(compile(source, source_path, 'exec'), mod.__dict__)
  File "/home/david/.config/sublime-text-3/Installed Packages/sublime_rubocop.sublime-package/rubocop_command.py", line 7, in <module>
ImportError: No module named 'RuboCop'
reloading plugin sublime_rubocop.rubocop_listener
Traceback (most recent call last):
  File "/opt/sublime_text/sublime_plugin.py", line 116, in reload_plugin
    m = importlib.import_module(modulename)
  File "./python3.3/importlib/__init__.py", line 90, in import_module
  File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
  File "/opt/sublime_text/sublime_plugin.py", line 1183, in load_module
    exec(compile(source, source_path, 'exec'), mod.__dict__)
  File "/home/david/.config/sublime-text-3/Installed Packages/sublime_rubocop.sublime-package/rubocop_listener.py", line 8, in <module>
ImportError: No module named 'RuboCop'
@rnkyr
Copy link

rnkyr commented Jan 11, 2019

faced the same issue. manual installation resolved it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants