Skip to content
This repository has been archived by the owner on Jan 27, 2024. It is now read-only.

Error when running pip install kaggle-cli #79

Open
jafetmorales opened this issue Aug 22, 2018 · 2 comments
Open

Error when running pip install kaggle-cli #79

jafetmorales opened this issue Aug 22, 2018 · 2 comments

Comments

@jafetmorales
Copy link

This is the output when running pip install kaggle-cli

Collecting kaggle-cli
  Downloading https://files.pythonhosted.org/packages/67/61/710d02460bc4367ffd1f5e71cd9c031fb278f78aa0e8e32ca9dd99a2add8/kaggle-cli-0.12.13.tar.gz
Collecting cliff<2.9,>=2.8.0 (from kaggle-cli)
  Downloading https://files.pythonhosted.org/packages/c2/ba/f45621f885ecd8527142811c279740367eb6c552ceb8debfdb7c5fca0677/cliff-2.8.2.tar.gz (72kB)
Collecting MechanicalSoup<0.9,>=0.7.0 (from kaggle-cli)
  Downloading https://files.pythonhosted.org/packages/5c/2e/f63ed26b51e36efa4cc22cad18187fcb0a253f756d548c96bb931f13de98/MechanicalSoup-0.8.0-py2.py3-none-any.whl
Collecting lxml<4.1,>=4.0.0 (from kaggle-cli)
  Downloading https://files.pythonhosted.org/packages/e6/6d/48fba1d4ac5871c2094496f9e54326cc64bfd15ef35613a541d38550ad92/lxml-4.0.0-cp35-cp35m-win_amd64.whl (3.5MB)
Requirement already satisfied: cssselect<1.1,>=1.0.1 in c:\users\jmorales\appdata\local\programs\python\python35\lib\site-packages (from kaggle-cli) (1.0.3)
Requirement already satisfied: configparser in c:\users\jmorales\appdata\local\programs\python\python35\lib\site-packages (from kaggle-cli) (3.5.0)
Collecting progressbar2<3.35,>=3.34.3 (from kaggle-cli)
  Downloading https://files.pythonhosted.org/packages/87/31/b984e17bcc7491c1baeda3906fe3abc14cb5cd5dbd046ab46d9fc7a2edfd/progressbar2-3.34.3-py2.py3-none-any.whl
Requirement already satisfied: beautifulsoup4<4.7,>=4.6.0 in c:\users\jmorales\appdata\local\programs\python\python35\lib\site-packages (from kaggle-cli) (4.6.0)
Requirement already satisfied: pbr!=2.1.0,>=2.0.0 in c:\users\jmorales\appdata\local\programs\python\python35\lib\site-packages (from cliff<2.9,>=2.8.0->kaggle-cli) (4.2.0)
Collecting cmd2>=0.6.7 (from cliff<2.9,>=2.8.0->kaggle-cli)
  Downloading https://files.pythonhosted.org/packages/4c/72/8d6638256ae3eea143d94239e98c94d68a8453a226a0cf25a0cc306a7dd5/cmd2-0.9.4-py3-none-any.whl (75kB)
Collecting PrettyTable<0.8,>=0.7.1 (from cliff<2.9,>=2.8.0->kaggle-cli)
  Downloading https://files.pythonhosted.org/packages/ef/30/4b0746848746ed5941f052479e7c23d2b56d174b82f4fd34a25e389831f5/prettytable-0.7.2.tar.bz2
Requirement already satisfied: pyparsing>=2.1.0 in c:\users\jmorales\appdata\roaming\python\python35\site-packages (from cliff<2.9,>=2.8.0->kaggle-cli) (2.2.0)
Requirement already satisfied: six>=1.9.0 in c:\users\jmorales\appdata\local\programs\python\python35\lib\site-packages (from cliff<2.9,>=2.8.0->kaggle-cli) (1.11.0)
Collecting stevedore>=1.20.0 (from cliff<2.9,>=2.8.0->kaggle-cli)
  Downloading https://files.pythonhosted.org/packages/a1/d9/93a975469c53a9ee85de9ec0deb12345aa777748b4c263860668592344fe/stevedore-1.29.0-py2.py3-none-any.whl
Requirement already satisfied: PyYAML>=3.10.0 in c:\users\jmorales\appdata\local\programs\python\python35\lib\site-packages (from cliff<2.9,>=2.8.0->kaggle-cli) (3.11)
Requirement already satisfied: requests>=2.0 in c:\users\jmorales\appdata\local\programs\python\python35\lib\site-packages (from MechanicalSoup<0.9,>=0.7.0->kaggle-cli) (2.19.1)
Requirement already satisfied: python-utils>=2.1.0 in c:\users\jmorales\appdata\local\programs\python\python35\lib\site-packages (from progressbar2<3.35,>=3.34.3->kaggle-cli) (2.3.0)
Requirement already satisfied: pyreadline; sys_platform == "win32" in c:\users\jmorales\appdata\roaming\python\python35\site-packages (from cmd2>=0.6.7->cliff<2.9,>=2.8.0->kaggle-cli) (2.1)
Requirement already satisfied: colorama in c:\users\jmorales\appdata\roaming\python\python35\site-packages (from cmd2>=0.6.7->cliff<2.9,>=2.8.0->kaggle-cli) (0.3.9)
Collecting pyperclip>=1.5.27 (from cmd2>=0.6.7->cliff<2.9,>=2.8.0->kaggle-cli)
  Downloading https://files.pythonhosted.org/packages/2d/9a/23059a00dfd52eb700bd03c4ee3a6954cae60827539c3488026c8742a555/pyperclip-1.6.4.tar.gz
Requirement already satisfied: attrs in c:\users\jmorales\appdata\roaming\python\python35\site-packages (from cmd2>=0.6.7->cliff<2.9,>=2.8.0->kaggle-cli) (18.1.0)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\users\jmorales\appdata\local\programs\python\python35\lib\site-packages (from requests>=2.0->MechanicalSoup<0.9,>=0.7.0->kaggle-cli) (3.0.4)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\jmorales\appdata\roaming\python\python35\site-packages (from requests>=2.0->MechanicalSoup<0.9,>=0.7.0->kaggle-cli) (2018.4.16)
Requirement already satisfied: urllib3<1.24,>=1.21.1 in c:\users\jmorales\appdata\local\programs\python\python35\lib\site-packages (from requests>=2.0->MechanicalSoup<0.9,>=0.7.0->kaggle-cli) (1.23)
Requirement already satisfied: idna<2.8,>=2.5 in c:\users\jmorales\appdata\local\programs\python\python35\lib\site-packages (from requests>=2.0->MechanicalSoup<0.9,>=0.7.0->kaggle-cli) (2.7)
Building wheels for collected packages: kaggle-cli, cliff, PrettyTable, pyperclip
  Running setup.py bdist_wheel for kaggle-cli: started
  Running setup.py bdist_wheel for kaggle-cli: finished with status 'done'
  Stored in directory: C:\Users\jmorales\AppData\Local\pip\Cache\wheels\d5\bb\10\c1dd1b08c7433c943cb55c46367ae3f891415e8a37300ff8a7
  Running setup.py bdist_wheel for cliff: started
  Running setup.py bdist_wheel for cliff: finished with status 'done'
  Stored in directory: C:\Users\jmorales\AppData\Local\pip\Cache\wheels\02\22\09\66f8c243f9c68dee7e6456a0fd6c117439a64394fdaf02d965
  Running setup.py bdist_wheel for PrettyTable: started
  Running setup.py bdist_wheel for PrettyTable: finished with status 'done'
  Stored in directory: C:\Users\jmorales\AppData\Local\pip\Cache\wheels\80\34\1c\3967380d9676d162cb59513bd9dc862d0584e045a162095606
  Running setup.py bdist_wheel for pyperclip: started
  Running setup.py bdist_wheel for pyperclip: finished with status 'done'
  Stored in directory: C:\Users\jmorales\AppData\Local\pip\Cache\wheels\73\8c\77\a973e2fbf4808af077582b1740b4cbf9e100262da0166e90d8
Successfully built kaggle-cli cliff PrettyTable pyperclip
Installing collected packages: pyperclip, cmd2, PrettyTable, stevedore, cliff, MechanicalSoup, lxml, progressbar2, kaggle-cli
  Found existing installation: lxml 4.2.3
    Uninstalling lxml-4.2.3:
      Successfully uninstalled lxml-4.2.3
Could not install packages due to an EnvironmentError: [WinError 5] Access is denied: 'C:\\Users\\jmorales\\AppData\\Local\\Temp\\pip-uninstall-0dn_lc53\\users\\jmorales\\appdata\\roaming\\python\\python35\\site-packages\\lxml\\etree.cp35-win_amd64.pyd'
Consider using the `--user` option or check the permissions.

This is my setup:

Python version: 3.5
OS: Windows 10 Home
System Type: 64-bit Operating System, x64-based processor
Processor: AMD A10-8700P Radeon R6

@sot232
Copy link

sot232 commented Mar 4, 2020

Did you figure out this issue? I am experiencing the same issue.

@jakubgalik-digica
Copy link

  1. copy repository
  2. change the section install_requires in setup.py to (just remove version specification of lxml package)
   install_requires=[
        'cliff>=2.8.0,<2.9',
        'MechanicalSoup>=0.7.0,<0.9',
        'lxml',
        'cssselect>=1.0.1,<1.1',
        'configparser',
        'progressbar2>=3.34.3,<3.35',
        'beautifulsoup4>=4.6.0,<4.7'
    ],
  1. cd kaggle-cli
  2. pip install -e .

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

No branches or pull requests

3 participants