Skip to content

Installing without Anaconda on Windows 10 #27

Description

@marcomusy

Installing pianoplayer without Anaconda is possible with the following steps:

  1. If python is not already installed download it from https://www.python.org/downloads/windows/
    (choose preferably version 3.6) and install it the usual way

  2. Click the Start button and start typing sysdm.cpl and click OK. This opens the System Properties window.
    Navigate to the Advanced tab and select Environment Variables
    On the lower panel select Path and click Edit

    image

    Add now two new entries: (path may change depending on your system, e.g. if you installed version 3.6)
    "C:\Python36"
    "C:\Python36\Scripts"

    Click OK and close.

  3. Click the Start button and start typing cmd and click OK. This opens a new terminal.
    Install now pianoplayer. Type: (this may take some time to complete)
    pip install pianoplayer

    If the above fails type instead:
    pip install music21
    pip install --no-deps pianoplayer

  4. Place this file to your desktop. When you save it, make sure its extension is .bat (not .bat.txt)
    Edit it and change the path to:
    anaconda_path="C:\Python36"

  5. Double clicking the desktop icon will start the program.

Activity

  1. pinned this issue on Aug 23, 2020
  2. Leiasticot commented on Jan 9, 2021

    @Leiasticot

    Hello !
    First, thanks you for this program 👍
    I got an error when I try to do "pip install pianoplayer" :
    "ERROR: Could not find a version that satisfies the requirement vtkplotter (from pianoplayer) (from versions: none)
    ERROR: No matching distribution found for vtkplotter (from pianoplayer)"

    Idk what it can means, I tried to search on google but found nothing interesting...
    Can you help me pls ? Thanks you very much

  3. marcomusy commented on Jan 9, 2021

    @marcomusy
    OwnerAuthor

    that's super weird! vtkplotter does not exist anymore, the new name is vedo.
    What operative system are you using?
    try
    pip install --upgrade music21==6.1.0

    pip install -U git+https://github.com/marcomusy/pianoplayer.git
    Or else:
    pip install --no-deps pianoplayer

  4. Leiasticot commented on Jan 9, 2021

    @Leiasticot

    that's super weird! vtkplotter does not exist anymore, the new name is vedo.
    What operative system are you using?
    try
    pip install --upgrade music21==6.1.0

    pip install -U git+https://github.com/marcomusy/pianoplayer.git
    Or else:
    pip install --no-deps pianoplayer

    I'm using windows 10
    The 2 first command worked, but now, nothing happen when I launch the bat (I changed the path)
    Idk why it doesn't work, I followed this guide

  5. marcomusy commented on Jan 9, 2021

    @marcomusy
    OwnerAuthor

    open a terminal with cmd (or anaconda terminal) and type pianoplayer, does that work?
    (that's why i hate windows :)

  6. Leiasticot commented on Jan 9, 2021

    @Leiasticot

    open a terminal with cmd (or anaconda terminal) and type pianoplayer, does that work?
    (that's why i hate windows :)

    Nop, it doesn't work...
    I will try with a ubuntu VM

  7. marcomusy commented on Jan 9, 2021

    @marcomusy
    OwnerAuthor

    it doesn't find the path installation i guess

  8. imcaptor commented on Jan 12, 2022

    @imcaptor

    How to run pianoplayer in mac? Thank you!

  9. kchurch05 commented on Jan 21, 2022

    @kchurch05

    Hi there-
    I've got all the packages installed and PATH variables set, but when I try to run pianoplayer from the cmd line, I get this error:

    image

    Tried changing HOME to HOMEPATH or HOMEDRIVE in activate.py, which yields this:
    image

    Any suggestions? (Yes, I know my Python path variable is the super lazy version in APPDATA and I really need to just re-install it under C:. 🤣 )

  10. marcomusy commented on Jan 21, 2022

    @marcomusy
    OwnerAuthor

    Hi - sorry I'm not very familiar with windows OS ... I think there should be a bin area where executables are stored - if you manage to find it it should contain the pianoplayer executable or script. You may need to then type:
    python pianoplayer

  11. marcomusy commented on Jan 21, 2022

    @marcomusy
    OwnerAuthor

    How to run pianoplayer in mac? Thank you!

    On mac - after pip install pianoplayer - you should be able to simply run it by command line!

  12. kchurch05 commented on Jan 27, 2022

    @kchurch05

    Got it working!

    One thing I found (that I wasn't aware of) is that Windows had mucked up my 2.7 and 3.6 Python installs and was using 2.7 as the default, so every library and script was in 2.7. I ended up uninstalling 2.7, but it still wasn't working when I typed it in as "python pianoplayer." It would work if I double clicked on the pianoplayer file in file explorer and used "open with," but then the output.xml file was ending up in /Windows/System32 and it'd throw a permissions error.

    I then noticed that if I just typed "python" in the command prompt, the #$& Windows store kept opening, which lead me to this: https://stackoverflow.com/questions/58754860/cmd-opens-window-store-when-i-type-python

    Fixed that and am able to run in command prompt with "python pianoplayer" in the /bin directory. Make sure you're running it as admin.

    Hope this helps!

  13. Zeshan17 commented on Apr 4, 2022

    @Zeshan17

    image

  14. Zeshan17 commented on Jul 23, 2022

    @Zeshan17

    image
    jesus christ

  15. yangbentw commented on Mar 7, 2023

    @yangbentw

    My pianoplayer is at C:\Users****\AppData\Roaming\Python\Python39\Scripts\pianoplayer

    **** is my user name.

    maybe you should find where your pianoplayer is.

  16. auravan commented on May 11, 2023

    @auravan

    Hi,there. Here is a way to avoid bat file to run this porject in windows 11(surely),winodws10(not sure)
    if you have try to learn the d2l,you are likely to have download a miniconda.
    this vedio may help
    if so, try to use this terminal tpye in pip install pianoplayer
    image
    and then quit that
    find the path you download conda.
    image
    enter the "Scripts" folder, then right click, chose open in the terminal
    image
    type "python pianoplayer" and enter
    Done,enjoy it.

  17. VIVEKPIANO commented on Jul 26, 2023

    @VIVEKPIANO

    Hi Im a newbie Did all that was said. Finally when I double click the bat file this is what I get. I have no background in python.
    Please let me know where Im wrong
    Screenshot

  18. howlup commented on Jan 6, 2024

    @howlup

    it works for me in Win 11. Note that the python path may diffrenent and need to add to environment.

  19. winoni71 commented on Mar 26, 2024

    @winoni71

    I get this error: "AttributeError: 'Part' object has no attribute 'flatten'".

  20. unpinned this issue on Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    InfoInformation

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions