Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sponka@Magellan:~/PROJECTS$ git clone https://github.com/devksingh4/thinkpad-tools
- Cloning into 'thinkpad-tools'...
- remote: Enumerating objects: 33, done.
- remote: Counting objects: 100% (33/33), done.
- remote: Compressing objects: 100% (27/27), done.
- remote: Total 173 (delta 12), reused 12 (delta 4), pack-reused 140
- Receiving objects: 100% (173/173), 53.07 KiB | 0 bytes/s, done.
- Resolving deltas: 100% (84/84), done.
- Checking connectivity... done.
- sponka@Magellan:~/PROJECTS$ cd thinkpad-tools/
- sponka@Magellan:~/PROJECTS/thinkpad-tools$ python3 setup.py install
- running install
- Checking .pth file support in /usr/local/lib/python3.5/dist-packages/
- error: can't create or remove files in install directory
- The following error occurred while trying to add or remove files in the
- installation directory:
- [Errno 13] Permission denied: '/usr/local/lib/python3.5/dist-packages/test-easy-install-18247.pth'
- The installation directory you specified (via --install-dir, --prefix, or
- the distutils default setting) was:
- /usr/local/lib/python3.5/dist-packages/
- Perhaps your account does not have write access to this directory? If the
- installation directory is a system-owned directory, you may need to sign in
- as the administrator or "root" account. If you do not have administrative
- access to this machine, you may wish to choose a different installation
- directory, preferably one that is listed in your PYTHONPATH environment
- variable.
- For information on other options, you may wish to consult the
- documentation at:
- https://pythonhosted.org/setuptools/easy_install.html
- Please make the appropriate changes for your system and try again.
- sponka@Magellan:~/PROJECTS/thinkpad-tools$ sudo python3 setup.py install
- [sudo] password for sponka:
- running install
- Checking .pth file support in /usr/local/lib/python3.5/dist-packages/
- /usr/bin/python3 -E -c pass
- TEST PASSED: /usr/local/lib/python3.5/dist-packages/ appears to support .pth files
- running bdist_egg
- running egg_info
- creating thinkpad_tool.egg-info
- writing dependency_links to thinkpad_tool.egg-info/dependency_links.txt
- writing thinkpad_tool.egg-info/PKG-INFO
- writing top-level names to thinkpad_tool.egg-info/top_level.txt
- writing manifest file 'thinkpad_tool.egg-info/SOURCES.txt'
- reading manifest file 'thinkpad_tool.egg-info/SOURCES.txt'
- writing manifest file 'thinkpad_tool.egg-info/SOURCES.txt'
- installing library code to build/bdist.linux-x86_64/egg
- running install_lib
- running build_py
- creating build
- creating build/lib
- creating build/lib/thinkpad_tool
- copying thinkpad_tool/trackpoint.py -> build/lib/thinkpad_tool
- copying thinkpad_tool/battery.py -> build/lib/thinkpad_tool
- copying thinkpad_tool/__init__.py -> build/lib/thinkpad_tool
- copying thinkpad_tool/__main__.py -> build/lib/thinkpad_tool
- copying thinkpad_tool/undervolt.py -> build/lib/thinkpad_tool
- copying thinkpad_tool/utils.py -> build/lib/thinkpad_tool
- copying thinkpad_tool/cmd.py -> build/lib/thinkpad_tool
- copying thinkpad_tool/classes.py -> build/lib/thinkpad_tool
- creating build/bdist.linux-x86_64
- creating build/bdist.linux-x86_64/egg
- creating build/bdist.linux-x86_64/egg/thinkpad_tool
- copying build/lib/thinkpad_tool/trackpoint.py -> build/bdist.linux-x86_64/egg/thinkpad_tool
- copying build/lib/thinkpad_tool/battery.py -> build/bdist.linux-x86_64/egg/thinkpad_tool
- copying build/lib/thinkpad_tool/__init__.py -> build/bdist.linux-x86_64/egg/thinkpad_tool
- copying build/lib/thinkpad_tool/__main__.py -> build/bdist.linux-x86_64/egg/thinkpad_tool
- copying build/lib/thinkpad_tool/undervolt.py -> build/bdist.linux-x86_64/egg/thinkpad_tool
- copying build/lib/thinkpad_tool/utils.py -> build/bdist.linux-x86_64/egg/thinkpad_tool
- copying build/lib/thinkpad_tool/cmd.py -> build/bdist.linux-x86_64/egg/thinkpad_tool
- copying build/lib/thinkpad_tool/classes.py -> build/bdist.linux-x86_64/egg/thinkpad_tool
- byte-compiling build/bdist.linux-x86_64/egg/thinkpad_tool/trackpoint.py to trackpoint.cpython-35.pyc
- File "build/bdist.linux-x86_64/egg/thinkpad_tool/trackpoint.py", line 28
- USAGE_HEAD: str = '''\
- ^
- SyntaxError: invalid syntax
- byte-compiling build/bdist.linux-x86_64/egg/thinkpad_tool/battery.py to battery.cpython-35.pyc
- File "build/bdist.linux-x86_64/egg/thinkpad_tool/battery.py", line 18
- PROPERTIES: dict = {
- ^
- SyntaxError: invalid syntax
- byte-compiling build/bdist.linux-x86_64/egg/thinkpad_tool/__init__.py to __init__.cpython-35.pyc
- byte-compiling build/bdist.linux-x86_64/egg/thinkpad_tool/__main__.py to __main__.cpython-35.pyc
- byte-compiling build/bdist.linux-x86_64/egg/thinkpad_tool/undervolt.py to undervolt.cpython-35.pyc
- File "build/bdist.linux-x86_64/egg/thinkpad_tool/undervolt.py", line 36
- USAGE_HEAD: str = '''\
- ^
- SyntaxError: invalid syntax
- byte-compiling build/bdist.linux-x86_64/egg/thinkpad_tool/utils.py to utils.cpython-35.pyc
- byte-compiling build/bdist.linux-x86_64/egg/thinkpad_tool/cmd.py to cmd.cpython-35.pyc
- byte-compiling build/bdist.linux-x86_64/egg/thinkpad_tool/classes.py to classes.cpython-35.pyc
- File "build/bdist.linux-x86_64/egg/thinkpad_tool/classes.py", line 21
- n: list = glob.glob('/dev/cpu/[0-9]*/msr')
- ^
- SyntaxError: invalid syntax
- creating build/bdist.linux-x86_64/egg/EGG-INFO
- installing scripts to build/bdist.linux-x86_64/egg/EGG-INFO/scripts
- running install_scripts
- running build_scripts
- creating build/scripts-3.5
- copying and adjusting thinkpad-tool -> build/scripts-3.5
- changing mode of build/scripts-3.5/thinkpad-tool from 644 to 755
- creating build/bdist.linux-x86_64/egg/EGG-INFO/scripts
- copying build/scripts-3.5/thinkpad-tool -> build/bdist.linux-x86_64/egg/EGG-INFO/scripts
- changing mode of build/bdist.linux-x86_64/egg/EGG-INFO/scripts/thinkpad-tool to 755
- copying thinkpad_tool.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
- copying thinkpad_tool.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
- copying thinkpad_tool.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
- copying thinkpad_tool.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
- zip_safe flag not set; analyzing archive contents...
- creating dist
- creating 'dist/thinkpad_tool-0.9.1-py3.5.egg' and adding 'build/bdist.linux-x86_64/egg' to it
- removing 'build/bdist.linux-x86_64/egg' (and everything under it)
- Processing thinkpad_tool-0.9.1-py3.5.egg
- Copying thinkpad_tool-0.9.1-py3.5.egg to /usr/local/lib/python3.5/dist-packages
- Adding thinkpad-tool 0.9.1 to easy-install.pth file
- Installing thinkpad-tool script to /usr/local/bin
- Installed /usr/local/lib/python3.5/dist-packages/thinkpad_tool-0.9.1-py3.5.egg
- Processing dependencies for thinkpad-tool==0.9.1
- Finished processing dependencies for thinkpad-tool==0.9.1
- sponka@Magellan:~/PROJECTS/thinkpad-tools$ ./thinkpad-tool
- Traceback (most recent call last):
- File "./thinkpad-tool", line 9, in <module>
- from thinkpad_tool.cmd import commandline_parser
- File "/home/sponka/PROJECTS/thinkpad-tools/thinkpad_tool/cmd.py", line 12, in <module>
- from .battery import BatteryHandler
- File "/home/sponka/PROJECTS/thinkpad-tools/thinkpad_tool/battery.py", line 18
- PROPERTIES: dict = {
- ^
- SyntaxError: invalid syntax
- sponka@Magellan:~/PROJECTS/thinkpad-tools$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement