mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-11-04 09:02:12 +00:00 
			
		
		
		
	docs/user_information: Fix references to Python 2.7
Remove references to Python 2.7 and update example paths to Python3.
This commit is contained in:
		@@ -73,7 +73,7 @@ the install location of the SDK (i.e. ``<path_to_android_sdk>/sdk``).
 | 
			
		||||
Python
 | 
			
		||||
------
 | 
			
		||||
 | 
			
		||||
Workload Automation 3 currently supports both Python 2.7 and Python 3.
 | 
			
		||||
Workload Automation 3 currently supports Python 3.5+
 | 
			
		||||
 | 
			
		||||
.. _pip:
 | 
			
		||||
 | 
			
		||||
@@ -95,11 +95,11 @@ similar distributions, this may be done with APT::
 | 
			
		||||
                  sudo -H pip install --upgrade pip
 | 
			
		||||
                  sudo -H pip install --upgrade setuptools
 | 
			
		||||
 | 
			
		||||
          If you do run  into this issue after already installing some packages,
 | 
			
		||||
          If you do run into this issue after already installing some packages,
 | 
			
		||||
          you can resolve it by running ::
 | 
			
		||||
 | 
			
		||||
                  sudo chmod -R a+r /usr/local/lib/python2.7/dist-packages
 | 
			
		||||
                  sudo find /usr/local/lib/python2.7/dist-packages -type d -exec chmod a+x {} \;
 | 
			
		||||
                  sudo chmod -R a+r /usr/local/lib/python3.X/dist-packages
 | 
			
		||||
                  sudo find /usr/local/lib/python3.X/dist-packages -type d -exec chmod a+x {} \;
 | 
			
		||||
 | 
			
		||||
          (The paths above will work for Ubuntu; they may need to be adjusted
 | 
			
		||||
          for other distros).
 | 
			
		||||
 
 | 
			
		||||
@@ -20,7 +20,7 @@ Install
 | 
			
		||||
.. note:: This is a quick summary. For more detailed instructions, please see
 | 
			
		||||
          the :ref:`installation` section.
 | 
			
		||||
 | 
			
		||||
Make sure you have Python 2.7 or Python 3 and a recent Android SDK with API
 | 
			
		||||
Make sure you have Python 3.5+ and a recent Android SDK with API
 | 
			
		||||
level 18 or above installed on your system. A complete install of the Android
 | 
			
		||||
SDK is required, as WA uses a number of its utilities, not just adb. For the
 | 
			
		||||
SDK, make sure that either ``ANDROID_HOME`` environment variable is set, or that
 | 
			
		||||
 
 | 
			
		||||
@@ -40,7 +40,7 @@ Will display help for this subcommand that will look something like this:
 | 
			
		||||
          AGENDA                Agenda for this workload automation run. This defines
 | 
			
		||||
                                which workloads will be executed, how many times, with
 | 
			
		||||
                                which tunables, etc. See example agendas in
 | 
			
		||||
                                /usr/local/lib/python2.7/dist-packages/wa for an
 | 
			
		||||
                                /usr/local/lib/python3.X/dist-packages/wa for an
 | 
			
		||||
                                example of how this file should be structured.
 | 
			
		||||
 | 
			
		||||
        optional arguments:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user