You can also tick the following checkbox: right click cmd icon -> Properties -> Shortcut -> Advanced -> Run As Administrator
.
Enable viewing hidden files on Windows Explorer
Main Explorer menu -> view -> check both "Hidden items" and "File name extensions"
https://code.visualstudio.com/download Check all checkboxes during installation
https://gitforwindows.org/
When asked, select Use visual studio code as git's default editor
.
Otherwise, just press "next".
From terminal:
git config --global user.email "idotavorslab@gmail.com"
git config --global user.name "ITLab"
https://github.com/coreybutler/nvm-windows/releases Extract then install.
Check if installed: run
nvm -v
Should see
Running version <whatever>
nvm install 13.5.0
Check if installed correctly:
nvm list
Should display 13.5.0
cd C:\
git clone https://github.com/idotavorslab/PYANO.git
cd PYANO
This will take a while because of the piano samples (lots of audio files).
From within PYANO
root folder (that's C:\PYANO
)
nvm use 13.5.0
Should see Now using node v13.5.0 (64-bit)
.
Check versions:
node -v
Should see v13.5.0
.
npm -v
Should see 6.13.4
.
From within PYANO root folder:
npm install --save-exact
This may take a while. Then run:
git checkout node_modules/pyano_local_modules
Should see Updated <around 40> paths from the index
https://www.python.org/downloads/release/python-376/
(specifically for windowsx64bit: https://www.python.org/ftp/python/3.7.6/python-3.7.6-amd64.exe)
Make sure to check Add python to PATH
and press Customize installation
. Next -> Tick all checkboxes -> Next -> ... -> until done.
Close and re-open terminal (as admin), then:
python
Should see >>> Python 3.7.6
.
To exit press Ctrl+Z
then Enter
.
pip install virtualenv
Check if installed correctly:
virtualenv --version
Should see:
virtualenv <whatver> from c:\program files\python37\lib\site-packages\virtualenv\__init__.py
(Or something similar)
cd C:\PYANO\src\engine
virtualenv env
Should see something like: Then, run
env\scripts\activate
Check if ok:
pip list -v
Still from C:\PYANO\src\engine
:
pip install -r requirements.txt
May take a while, get yourself a coffe. If it looks stuck after 5+ minutes, try pressing Enter
to refresh the terminal GUI.
pip install -e .
pip list -v
https://ffmpeg.zeranoe.com/builds/win64/static/ffmpeg-4.2.2-win64-static.zip
If it's broken, then try:
https://ffmpeg.zeranoe.com/builds/
Create dir: C:\ffmpeg
Open the zip file you downloaded, double click the only dir, copy the content into C:\ffmpeg
.
Result:
cd C:\PYANO
npm start
If Pyano seems stuck on launch, or loads only partially, quit Pyano.
In a new terminal, go to C:\PYANO
and run:
git status
git checkout node_modules/pyano_local_modules
then run git status
again to check if the deleted
files are back.
Note: don't worry about other files being modified
or even deleted
, especially config files or subject data. Just things under node_modules
are important.
Open DevTools via Ctrl+Y
(if nothing happens, try alt-tabbing out and back in once to Pyano, then try Ctrl+Y
again).
Shouldn't see any reds.