Allamande

pip install error for package ckanclient - Python

Mar 31st, 2014
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 2.95 KB | None | 0 0
  1. c:\Python33\Scripts>pip install ckanclient
  2. Downloading/unpacking ckanclient
  3.   Downloading ckanclient-0.10.tar.gz
  4.   Running setup.py (path:c:\users\lgms\appdata\local\temp\pip_build_lgms\ckancli
  5. ent\setup.py) egg_info for package ckanclient
  6.     Traceback (most recent call last):
  7.       File "<string>", line 17, in <module>
  8.       File "c:\users\lgms\appdata\local\temp\pip_build_lgms\ckanclient\setup.py"
  9. , line 8, in <module>
  10.         from ckanclient import __version__, __description__, __long_description_
  11. _, __license__
  12.       File ".\ckanclient\__init__.py", line 100
  13.         except HTTPError, inst:
  14.                         ^
  15.     SyntaxError: invalid syntax
  16.     Complete output from command python setup.py egg_info:
  17.     Traceback (most recent call last):
  18.  
  19.   File "<string>", line 17, in <module>
  20.  
  21.   File "c:\users\lgms\appdata\local\temp\pip_build_lgms\ckanclient\setup.py", li
  22. ne 8, in <module>
  23.  
  24.     from ckanclient import __version__, __description__, __long_description__, _
  25. _license__
  26.  
  27.   File ".\ckanclient\__init__.py", line 100
  28.  
  29.     except HTTPError, inst:
  30.  
  31.                     ^
  32.  
  33. SyntaxError: invalid syntax
  34.  
  35. ----------------------------------------
  36. Cleaning up...
  37.   Exception:
  38. Traceback (most recent call last):
  39.   File "C:\Python33\lib\site-packages\pip\commands\install.py", line 278, in run
  40.  
  41.     requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundl
  42. e=self.bundle)
  43.   File "C:\Python33\lib\site-packages\pip\req.py", line 1229, in prepare_files
  44.     req_to_install.run_egg_info()
  45.   File "C:\Python33\lib\site-packages\pip\req.py", line 325, in run_egg_info
  46.     command_desc='python setup.py egg_info')
  47.   File "C:\Python33\lib\site-packages\pip\util.py", line 697, in call_subprocess
  48.  
  49.     % (command_desc, proc.returncode, cwd))
  50. pip.exceptions.InstallationError: Command python setup.py egg_info failed with e
  51. rror code 1 in c:\users\lgms\appdata\local\temp\pip_build_lgms\ckanclient
  52.  
  53. During handling of the above exception, another exception occurred:
  54.  
  55. Traceback (most recent call last):
  56.   File "C:\Python33\lib\site-packages\pip\basecommand.py", line 122, in main
  57.     status = self.run(options, args)
  58.   File "C:\Python33\lib\site-packages\pip\commands\install.py", line 302, in run
  59.  
  60.     requirement_set.cleanup_files(bundle=self.bundle)
  61.   File "C:\Python33\lib\site-packages\pip\req.py", line 1333, in cleanup_files
  62.     rmtree(dir)
  63.   File "C:\Python33\lib\site-packages\pip\util.py", line 43, in rmtree
  64.     onerror=rmtree_errorhandler)
  65.   File "C:\Python33\lib\shutil.py", line 478, in rmtree
  66.     return _rmtree_unsafe(path, onerror)
  67.   File "C:\Python33\lib\shutil.py", line 377, in _rmtree_unsafe
  68.     onerror(os.rmdir, path, sys.exc_info())
  69.   File "C:\Python33\lib\shutil.py", line 375, in _rmtree_unsafe
  70.     os.rmdir(path)
  71. OSError: [WinError 145] A pasta não está vazia: 'c:\\users\\lgms\\appdata\\local
  72. \\temp\\pip_build_lgms'
  73.  
  74.   Storing debug log for failure in C:\Users\lgms\pip\pip.log
  75.  
  76. c:\Python33\Scripts>
Advertisement
Add Comment
Please, Sign In to add comment