Advertisement
Guest User

Untitled

a guest
Oct 15th, 2019
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 7.21 KB | None | 0 0
  1. sponka@Magellan:~/PROJECTS$ git clone https://github.com/devksingh4/thinkpad-tools
  2. Cloning into 'thinkpad-tools'...
  3. remote: Enumerating objects: 33, done.
  4. remote: Counting objects: 100% (33/33), done.
  5. remote: Compressing objects: 100% (27/27), done.
  6. remote: Total 173 (delta 12), reused 12 (delta 4), pack-reused 140
  7. Receiving objects: 100% (173/173), 53.07 KiB | 0 bytes/s, done.
  8. Resolving deltas: 100% (84/84), done.
  9. Checking connectivity... done.
  10. sponka@Magellan:~/PROJECTS$ cd thinkpad-tools/
  11. sponka@Magellan:~/PROJECTS/thinkpad-tools$ python3 setup.py install
  12. running install
  13. Checking .pth file support in /usr/local/lib/python3.5/dist-packages/
  14. error: can't create or remove files in install directory
  15.  
  16. The following error occurred while trying to add or remove files in the
  17. installation directory:
  18.  
  19.    [Errno 13] Permission denied: '/usr/local/lib/python3.5/dist-packages/test-easy-install-18247.pth'
  20.  
  21. The installation directory you specified (via --install-dir, --prefix, or
  22. the distutils default setting) was:
  23.  
  24.    /usr/local/lib/python3.5/dist-packages/
  25.  
  26. Perhaps your account does not have write access to this directory?  If the
  27. installation directory is a system-owned directory, you may need to sign in
  28. as the administrator or "root" account.  If you do not have administrative
  29. access to this machine, you may wish to choose a different installation
  30. directory, preferably one that is listed in your PYTHONPATH environment
  31. variable.
  32.  
  33. For information on other options, you may wish to consult the
  34. documentation at:
  35.  
  36.  https://pythonhosted.org/setuptools/easy_install.html
  37.  
  38. Please make the appropriate changes for your system and try again.
  39.  
  40. sponka@Magellan:~/PROJECTS/thinkpad-tools$ sudo python3 setup.py install
  41. [sudo] password for sponka:
  42. running install
  43. Checking .pth file support in /usr/local/lib/python3.5/dist-packages/
  44. /usr/bin/python3 -E -c pass
  45. TEST PASSED: /usr/local/lib/python3.5/dist-packages/ appears to support .pth files
  46. running bdist_egg
  47. running egg_info
  48. creating thinkpad_tool.egg-info
  49. writing dependency_links to thinkpad_tool.egg-info/dependency_links.txt
  50. writing thinkpad_tool.egg-info/PKG-INFO
  51. writing top-level names to thinkpad_tool.egg-info/top_level.txt
  52. writing manifest file 'thinkpad_tool.egg-info/SOURCES.txt'
  53. reading manifest file 'thinkpad_tool.egg-info/SOURCES.txt'
  54. writing manifest file 'thinkpad_tool.egg-info/SOURCES.txt'
  55. installing library code to build/bdist.linux-x86_64/egg
  56. running install_lib
  57. running build_py
  58. creating build
  59. creating build/lib
  60. creating build/lib/thinkpad_tool
  61. copying thinkpad_tool/trackpoint.py -> build/lib/thinkpad_tool
  62. copying thinkpad_tool/battery.py -> build/lib/thinkpad_tool
  63. copying thinkpad_tool/__init__.py -> build/lib/thinkpad_tool
  64. copying thinkpad_tool/__main__.py -> build/lib/thinkpad_tool
  65. copying thinkpad_tool/undervolt.py -> build/lib/thinkpad_tool
  66. copying thinkpad_tool/utils.py -> build/lib/thinkpad_tool
  67. copying thinkpad_tool/cmd.py -> build/lib/thinkpad_tool
  68. copying thinkpad_tool/classes.py -> build/lib/thinkpad_tool
  69. creating build/bdist.linux-x86_64
  70. creating build/bdist.linux-x86_64/egg
  71. creating build/bdist.linux-x86_64/egg/thinkpad_tool
  72. copying build/lib/thinkpad_tool/trackpoint.py -> build/bdist.linux-x86_64/egg/thinkpad_tool
  73. copying build/lib/thinkpad_tool/battery.py -> build/bdist.linux-x86_64/egg/thinkpad_tool
  74. copying build/lib/thinkpad_tool/__init__.py -> build/bdist.linux-x86_64/egg/thinkpad_tool
  75. copying build/lib/thinkpad_tool/__main__.py -> build/bdist.linux-x86_64/egg/thinkpad_tool
  76. copying build/lib/thinkpad_tool/undervolt.py -> build/bdist.linux-x86_64/egg/thinkpad_tool
  77. copying build/lib/thinkpad_tool/utils.py -> build/bdist.linux-x86_64/egg/thinkpad_tool
  78. copying build/lib/thinkpad_tool/cmd.py -> build/bdist.linux-x86_64/egg/thinkpad_tool
  79. copying build/lib/thinkpad_tool/classes.py -> build/bdist.linux-x86_64/egg/thinkpad_tool
  80. byte-compiling build/bdist.linux-x86_64/egg/thinkpad_tool/trackpoint.py to trackpoint.cpython-35.pyc
  81.  File "build/bdist.linux-x86_64/egg/thinkpad_tool/trackpoint.py", line 28
  82.    USAGE_HEAD: str = '''\
  83.               ^
  84. SyntaxError: invalid syntax
  85.  
  86. byte-compiling build/bdist.linux-x86_64/egg/thinkpad_tool/battery.py to battery.cpython-35.pyc
  87.   File "build/bdist.linux-x86_64/egg/thinkpad_tool/battery.py", line 18
  88.     PROPERTIES: dict = {
  89.               ^
  90. SyntaxError: invalid syntax
  91.  
  92. byte-compiling build/bdist.linux-x86_64/egg/thinkpad_tool/__init__.py to __init__.cpython-35.pyc
  93. byte-compiling build/bdist.linux-x86_64/egg/thinkpad_tool/__main__.py to __main__.cpython-35.pyc
  94. byte-compiling build/bdist.linux-x86_64/egg/thinkpad_tool/undervolt.py to undervolt.cpython-35.pyc
  95.   File "build/bdist.linux-x86_64/egg/thinkpad_tool/undervolt.py", line 36
  96.     USAGE_HEAD: str = '''\
  97.              ^
  98. SyntaxError: invalid syntax
  99.  
  100. byte-compiling build/bdist.linux-x86_64/egg/thinkpad_tool/utils.py to utils.cpython-35.pyc
  101. byte-compiling build/bdist.linux-x86_64/egg/thinkpad_tool/cmd.py to cmd.cpython-35.pyc
  102. byte-compiling build/bdist.linux-x86_64/egg/thinkpad_tool/classes.py to classes.cpython-35.pyc
  103.  File "build/bdist.linux-x86_64/egg/thinkpad_tool/classes.py", line 21
  104.    n: list = glob.glob('/dev/cpu/[0-9]*/msr')
  105.     ^
  106. SyntaxError: invalid syntax
  107.  
  108. creating build/bdist.linux-x86_64/egg/EGG-INFO
  109. installing scripts to build/bdist.linux-x86_64/egg/EGG-INFO/scripts
  110. running install_scripts
  111. running build_scripts
  112. creating build/scripts-3.5
  113. copying and adjusting thinkpad-tool -> build/scripts-3.5
  114. changing mode of build/scripts-3.5/thinkpad-tool from 644 to 755
  115. creating build/bdist.linux-x86_64/egg/EGG-INFO/scripts
  116. copying build/scripts-3.5/thinkpad-tool -> build/bdist.linux-x86_64/egg/EGG-INFO/scripts
  117. changing mode of build/bdist.linux-x86_64/egg/EGG-INFO/scripts/thinkpad-tool to 755
  118. copying thinkpad_tool.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
  119. copying thinkpad_tool.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
  120. copying thinkpad_tool.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
  121. copying thinkpad_tool.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
  122. zip_safe flag not set; analyzing archive contents...
  123. creating dist
  124. creating 'dist/thinkpad_tool-0.9.1-py3.5.egg' and adding 'build/bdist.linux-x86_64/egg' to it
  125. removing 'build/bdist.linux-x86_64/egg' (and everything under it)
  126. Processing thinkpad_tool-0.9.1-py3.5.egg
  127. Copying thinkpad_tool-0.9.1-py3.5.egg to /usr/local/lib/python3.5/dist-packages
  128. Adding thinkpad-tool 0.9.1 to easy-install.pth file
  129. Installing thinkpad-tool script to /usr/local/bin
  130.  
  131. Installed /usr/local/lib/python3.5/dist-packages/thinkpad_tool-0.9.1-py3.5.egg
  132. Processing dependencies for thinkpad-tool==0.9.1
  133. Finished processing dependencies for thinkpad-tool==0.9.1
  134. sponka@Magellan:~/PROJECTS/thinkpad-tools$ ./thinkpad-tool
  135. Traceback (most recent call last):
  136.  File "./thinkpad-tool", line 9, in <module>
  137.    from thinkpad_tool.cmd import commandline_parser
  138.  File "/home/sponka/PROJECTS/thinkpad-tools/thinkpad_tool/cmd.py", line 12, in <module>
  139.    from .battery import BatteryHandler
  140.  File "/home/sponka/PROJECTS/thinkpad-tools/thinkpad_tool/battery.py", line 18
  141.    PROPERTIES: dict = {
  142.              ^
  143. SyntaxError: invalid syntax
  144. sponka@Magellan:~/PROJECTS/thinkpad-tools$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement