Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-25854 Ambari With Python3 Support
  3. AMBARI-25899

Using Python Official Script "2to3" to Upgreade

    XMLWordPrintableJSON

Details

    Description

      First of all, this first subtask is the basis of  Ambari python3 adaption.

       

      1. Dowload Ambari source code here:

      https://github.com/apache/ambari/releases/tag/release-2.7.5

       

      2. Install 2to3 in your environment( if you had install it, skip this step):

      pip install 2to3

       

      3. Upgrade Ambari Python Files:

         cd apache-ambari-2.7.5-src

         python3 /usr/bin/2to3 -w .

       

      Attention: this upgrade will overwrite the src code.

         __   

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            Charming603473 Charming Wu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: