Installing without Anaconda on Windows 10
marcomusy opened this issue · 19 comments
Installing pianoplayer
without Anaconda is possible with the following steps:
-
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 -
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 selectPath
and click EditAdd 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.
-
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
-
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"
-
Double clicking the desktop icon will start the program.
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
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
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
open a terminal with cmd (or anaconda terminal) and type pianoplayer
, does that work?
(that's why i hate windows :)
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
it doesn't find the path installation i guess
How to run pianoplayer in mac? Thank you!
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:
Tried changing HOME to HOMEPATH or HOMEDRIVE in activate.py, which yields this:
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:. 🤣 )
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
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!
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!
My pianoplayer is at C:\Users****\AppData\Roaming\Python\Python39\Scripts\pianoplayer
**** is my user name.
maybe you should find where your pianoplayer is.
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
and then quit that
find the path you download conda.
enter the "Scripts" folder, then right click, chose open in the terminal
type "python pianoplayer" and enter
Done,enjoy it.
it works for me in Win 11. Note that the python path may diffrenent and need to add to environment.
I get this error: "AttributeError: 'Part' object has no attribute 'flatten'".
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!
I am sorry I cannot seem to install. Don't know anything about Python. Is there an idiots guide for me? lol 😂