Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-1388

Document how to uninstall local built version of picard from CLI

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2.2
    • 2.0.4
    • None
    • Mageia 6, Mageia Cauldron, MATE desktop.

      It would be nice to have python setup.py uninstall as well to remove it if one decides to build it and install it locally from CLI.

          [PICARD-1388] Document how to uninstall local built version of picard from CLI

          Philipp Wolfer added a comment - Clarified in https://github.com/metabrainz/picard/blob/master/INSTALL.md

          You only get that SyntaxError because the `python` on your system is not at least Python 3.5.

          Wieland Hoffmann added a comment - You only get that SyntaxError because the `python` on your system is not at least Python 3.5.

          However pip uninstall picard worked as root.

          Can this be added as a foot note to the README.md?

          Kristoffer Grundström added a comment - However pip uninstall picard worked as root. Can this be added as a foot note to the README.md?

          Running python setup.py install --record files.txt as root in the local picard folder gave me this as a result:

          [root@localhost picard]# python setup.py install --record files.txt
          File "setup.py", line 220
          generate_file('win-version-info.txt.in', 'win-version-info.txt', {**args, **version_args})
          ^
          SyntaxError: invalid syntax

          Kristoffer Grundström added a comment - Running python setup.py install --record files.txt as root in the local picard folder gave me this as a result: [root@localhost picard] # python setup.py install --record files.txt File "setup.py", line 220 generate_file('win-version-info.txt.in', 'win-version-info.txt', {**args, **version_args}) ^ SyntaxError: invalid syntax

          You should be able to remove all files if you record them during installation with:

          python setup.py install --record files.txt

          In this case files.txt will contain all files that were installed and you can delete them. If you did not do this on your initial installation just re-install it.

          Also you should probably be able to use "pip uninstall picard", but I have nevertried this.

          See also https://stackoverflow.com/questions/1550226/python-setup-py-uninstall

          Philipp Wolfer added a comment - You should be able to remove all files if you record them during installation with: python setup.py install --record files.txt In this case files.txt will contain all files that were installed and you can delete them. If you did not do this on your initial installation just re-install it. Also you should probably be able to use "pip uninstall picard", but I have nevertried this. See also https://stackoverflow.com/questions/1550226/python-setup-py-uninstall

            outsidecontext Philipp Wolfer
            Umeaboy Kristoffer Grundström
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                2.2