Skip to content

Cannot install pylint #750

Closed
Closed
@tkim

Description

@tkim

Environment data

VS Code version: 1.19.2
Python Extension version:
Python Version: 3.4.4
OS and version: Windows 10, version 1709

Actual behavior

I run the following command to install pylint.

& "C:\Python34\python.exe" -m pip install -U pylint

Expected behavior

Steps to reproduce:

  • type & "C:\Python34\python.exe" -m pip install -U pylint

Logs

Output from Python output panel

Collecting pylint
  Downloading pylint-1.8.2-py2.py3-none-any.whl (689kB)
    8% |##                              | 61kB 499kB/s eta 0:00:02Exception:
Traceback (most recent call last):
  File "C:\Python34\lib\site-packages\pip-9.0.1-py3.4.egg\pip\basecommand.py", line 215, in main
    status = self.run(options, args)
  File "C:\Python34\lib\site-packages\pip-9.0.1-py3.4.egg\pip\commands\install.py", line 324, in run
    requirement_set.prepare_files(finder)
  File "C:\Python34\lib\site-packages\pip-9.0.1-py3.4.egg\pip\req\req_set.py", line 380, in prepare_files
    ignore_dependencies=self.ignore_dependencies))
  File "C:\Python34\lib\site-packages\pip-9.0.1-py3.4.egg\pip\req\req_set.py", line 620, in _prepare_file
    session=self.session, hashes=hashes)
  File "C:\Python34\lib\site-packages\pip-9.0.1-py3.4.egg\pip\download.py", line 821, in unpack_url
    hashes=hashes
  File "C:\Python34\lib\site-packages\pip-9.0.1-py3.4.egg\pip\download.py", line 659, in unpack_http_url
    hashes)
  File "C:\Python34\lib\site-packages\pip-9.0.1-py3.4.egg\pip\download.py", line 882, in _download_http_url
    _download_url(resp, link, content_file, hashes)
  File "C:\Python34\lib\site-packages\pip-9.0.1-py3.4.egg\pip\download.py", line 603, in _download_url
    hashes.check_against_chunks(downloaded_chunks)
  File "C:\Python34\lib\site-packages\pip-9.0.1-py3.4.egg\pip\utils\hashes.py", line 46, in check_against_chunks
    for chunk in chunks:
  File "C:\Python34\lib\site-packages\pip-9.0.1-py3.4.egg\pip\download.py", line 571, in written_chunks
    for chunk in chunks:
  File "C:\Python34\lib\site-packages\pip-9.0.1-py3.4.egg\pip\utils\ui.py", line 141, in iter
    self.next(n)
  File "C:\Python34\lib\site-packages\pip-9.0.1-py3.4.egg\pip\_vendor\progress\__init__.py", line 73, in next
    self.update()
  File "C:\Python34\lib\site-packages\pip-9.0.1-py3.4.egg\pip\_vendor\progress\bar.py", line 41, in update
    self.writeln(line)
  File "C:\Python34\lib\site-packages\pip-9.0.1-py3.4.egg\pip\_vendor\progress\helpers.py", line 68, in writeln
    print(line, end='', file=self.file)
  File "C:\Python34\lib\site-packages\pip-9.0.1-py3.4.egg\pip\_vendor\colorama\ansitowin32.py", line 141, in write
    self.write_and_convert(text)
  File "C:\Python34\lib\site-packages\pip-9.0.1-py3.4.egg\pip\_vendor\colorama\ansitowin32.py", line 169, in write_and_convert
    self.write_plain_text(text, cursor, len(text))
  File "C:\Python34\lib\site-packages\pip-9.0.1-py3.4.egg\pip\_vendor\colorama\ansitowin32.py", line 175, in write_plain_text
    self.wrapped.flush()
OSError: raw write() returned invalid length 132 (should have been between 0 and 66)
    8% |##                              | 61kB 499kB/s eta 0:00:02

Output from Console window (Help->Developer Tools menu)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions