terrychou / iVim

A vim port to iOS.
599 stars 34 forks source link

【Python Module】pylint #151

Closed suliveevil closed 4 years ago

suliveevil commented 4 years ago

Couldn't install pylint. This is what I got.

$ pip3 install pylint
Collecting pylint
  Using cached https://files.pythonhosted.org/packages/e8/fb/734960c55474c8f74e6ad4c8588fc44
073fb9d69e223269d26a3c2435d16/pylint-2.5.3-py3-none-any.whl
Requirement already satisfied: toml>=0.7.1 in /private/var/mobile/Containers/Data/Applicatio
n/7E2DF6F6-BD83-4EB0-A9A3-105BED60960A/Library/python/lib/python3.7/site-packages (from pyli
nt) (0.10.1)
Collecting astroid<=2.5,>=2.4.0
  Using cached https://files.pythonhosted.org/packages/24/a8/5133f51967fb21e46ee50831c3f5dda
49e976b7f915408d670b1603d41d6/astroid-2.4.2-py3-none-any.whl
Requirement already satisfied: mccabe<0.7,>=0.6 in /private/var/mobile/Containers/Data/Appli
cation/7E2DF6F6-BD83-4EB0-A9A3-105BED60960A/Library/python/lib/python3.7/site-packages (from
 pylint) (0.6.1)
Collecting isort<5,>=4.2.5
  Using cached https://files.pythonhosted.org/packages/e5/b0/c121fd1fa3419ea9bfd55c7f9c4fedf
ec5143208d8c7ad3ce3db6c623c21/isort-4.3.21-py2.py3-none-any.whl
Requirement already satisfied: six~=1.12 in /private/var/mobile/Containers/Data/Application/
7E2DF6F6-BD83-4EB0-A9A3-105BED60960A/Library/python/lib/python3.7/site-packages (from astroi
d<=2.5,>=2.4.0->pylint) (1.15.0)
Collecting wrapt~=1.11
  Using cached https://files.pythonhosted.org/packages/82/f7/e43cefbe88c5fd371f4cf0cf5eb3fec
cd07515af9fd6cf7dbf1d1793a797/wrapt-1.12.1.tar.gz
Collecting typed-ast<1.5,>=1.4.0; implementation_name == "cpython" and python_version < "3.8
"
  Using cached https://files.pythonhosted.org/packages/18/09/b6a6b14bb8c5ec4a24fe0cf0160aa0b
784fd55a6fd7f8da602197c5c461e/typed_ast-1.4.1.tar.gz
Collecting lazy-object-proxy==1.4.*
  Using cached https://files.pythonhosted.org/packages/07/3f/a3d687f83c7d44970f70ff040067774
6c8860b11f0c08f6b4e07205f0cdc/lazy-object-proxy-1.4.3.tar.gz
  Installing build dependencies ... done
  WARNING: Missing build requirements in pyproject.toml for lazy-object-proxy==1.4.* from ht
tps://files.pythonhosted.org/packages/07/3f/a3d687f83c7d44970f70ff0400677746c8860b11f0c08f6b
4e07205f0cdc/lazy-object-proxy-1.4.3.tar.gz#sha256=f3900e8a5de27447acbf900b4750b0ddfd7ec1ea7
fbaf11dfa911141bc522af0 (from astroid<=2.5,>=2.4.0->pylint).
  WARNING: The project does not specify a build backend, and pip cannot fall back to setupto
ols without 'wheel'.
  Getting requirements to build wheel ... error
  ERROR: Command errored out with exit status 1:
   command: /private/var/containers/Bundle/Application/1158FAD3-7813-48CB-8CF9-7B03E19CDD16/
iVim.app/python/bin/python3 /private/var/containers/Bundle/Application/1158FAD3-7813-48CB-8C
F9-7B03E19CDD16/iVim.app/python/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.p
y get_requires_for_build_wheel /private/var/mobile/Containers/Data/Application/7E2DF6F6-BD83
-4EB0-A9A3-105BED60960A/tmp/tmpz9z4lz09
       cwd: /private/var/mobile/Containers/Data/Application/7E2DF6F6-BD83-4EB0-A9A3-105BED60
960A/tmp/pip-install-98zzvqik/lazy-object-proxy
  Complete output (11 lines):
  Traceback (most recent call last):
    File "/private/var/containers/Bundle/Application/1158FAD3-7813-48CB-8CF9-7B03E19CDD16/iV
im.app/python/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 257, in <
module>
      main()
    File "/private/var/containers/Bundle/Application/1158FAD3-7813-48CB-8CF9-7B03E19CDD16/iV
im.app/python/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 240, in m
ain
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/private/var/containers/Bundle/Application/1158FAD3-7813-48CB-8CF9-7B03E19CDD16/iV
im.app/python/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 85, in ge
t_requires_for_build_wheel
      backend = _build_backend()
    File "/private/var/containers/Bundle/Application/1158FAD3-7813-48CB-8CF9-7B03E19CDD16/iV
im.app/python/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 60, in _b
uild_backend
      ep = os.environ['PEP517_BUILD_BACKEND']
    File "/private/var/containers/Bundle/Application/1158FAD3-7813-48CB-8CF9-7B03E19CDD16/iV
im.app/python/lib/python37.zip/os.py", line 680, in __getitem__
  KeyError: 'PEP517_BUILD_BACKEND'
  ----------------------------------------
ERROR: Command errored out with exit status 1: /private/var/containers/Bundle/Application/11
58FAD3-7813-48CB-8CF9-7B03E19CDD16/iVim.app/python/bin/python3 /private/var/containers/Bundl
e/Application/1158FAD3-7813-48CB-8CF9-7B03E19CDD16/iVim.app/python/lib/python3.7/site-packag
es/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /private/var/mobile/Contai
ners/Data/Application/7E2DF6F6-BD83-4EB0-A9A3-105BED60960A/tmp/tmpz9z4lz09 Check the logs fo
r full command output.
$ exit 

BTW : I use Deol.nvim to get contents in terminal.

terrychou commented 4 years ago

python modules which need building are not supported due to the system limitations.

suliveevil commented 4 years ago

I will give up using not so 'single language and pure' plugins……