carlhuda / janus

Vim distribution
7.88k stars 814 forks source link

.janus folder cannot see python from pyenv #700

Closed ghost closed 6 years ago

ghost commented 6 years ago

After installing python via pyenv, I have installed pyflakes via pip, but vim does not seem to be seeing it.

Error detected while processing /home/<user>/.janus/pyflakes-vim/ftplugin/python/pyflakes.vim:
line   70:
Traceback (most recent call last):
  File "<string>", line 15, in <module>
  File "/home/<user>/.janus/pyflakes-vim/ftplugin/python/flaker.py", line 11, in <module>
    from pyflakes import checker, messages
ImportError: No module named pyflakes

But it is definitely installed...

[user@linux]$ pip search pyflakes
affinitic.docpyflakes (0.1)       - Pyflakes your doctest
flake8-bugbear (17.12.0)          - A plugin for flake8 finding likely bugs and design problems in your program.
                                    Contains warnings that don't belong in pyflakes and pycodestyle.
erp5flakes (0.5)                  - A wrapper around pyflakes for ERP5 Products and Business Templates
pyflakes-ext (1.0.3)              - A few extra additions to pyflakes.
  INSTALLED: 1.0.3 (latest)
flake8 (3.5.0)                    - the modular source code checker: pep8, pyflakes and co
flakeplus (1.1.0)                 - Additional pyflakes
setuptools-flakes (0.1)           - Setup tools command for pyflakes
pytest-flakes (2.0.0)             - pytest plugin to check source code with pyflakes
geoffrey-pyflakes (0.0.1)         - pyflakes is a passive checker of Python programs.
githooks (0.5)                    - Set of Git hooks for pep8, pyflakes, jslint and trac integration
pyflakes (1.6.0)                  - passive checker of Python programs
  INSTALLED: 1.6.0 (latest)
pyflakes3k (0.4.3)                - passive checker of Python programs (py3k port)
PyFlakesBear (0.10.0)             - 'PyFlakesBear' bear for coala (http://coala.rtfd.org/)
rt.zestreleaser.pyflakes (0.1.1)  - Plugin for zest.releaser to allow check your Python code with Pyflakes before
                                    making a release
setuptools_pyflakes (1.1.0)       - setuptools plugin for pyflakes
[user@linux]$ 

Is there something special that needs to be done for janus to recognize that it is installed?

ghost commented 6 years ago

It is an issue with the plugin not janus