Open arrickx opened 4 years ago
solution
subprocess.call(['./requirements.sh'], shell=True)
even it's not showing the error, but it does not install any packages as well.
so I switch back to your initial attempts.
!conda update --all --y !pip install tensorflow-gpu==1.14.0 !pip install numpy==1.16.4 !pip install pretty_midi !pip install pypianoroll !pip install music21 !pip install seaborn !pip install --ignore-installed moviepy
FileNotFoundError: [Errno 2] No such file or directory: './requirements.sh': './requirements.sh'
Same issue, after using shell=True, pianoroll is not installed..
I tried to add a new line to upgrade the pip into the latest version and it fixed my issue.
As simple as adding pip install --upgrade pip
after conda update
ImportError: cannot import name 'Video'
by running from IPython.display import Video
Any resolution?
FileNotFoundError: [Errno 2] No such file or directory: './requirements.sh': './requirements.sh'
Same issue, after using shell=True, pianoroll is not installed..
Please update requirements, remove version of numpy, some of dependencies didn't work with this old version. Sry, haven't captured a screenshot, or trace for u. And add !conda install ffmpeg -y , to solve pypianoroll issue.
Solved by changing to conda_tensorflow_p36
kernel and moving everything from the ./requirements.sh
straight into the notebook this way:
import subprocess
subprocess.call(["conda update --all --y"], shell=True)
subprocess.call(["pip install tensorflow-gpu==1.14.0"], shell=True)
subprocess.call(["pip install numpy==1.16.4"], shell=True)
subprocess.call(["pip install pretty_midi"], shell=True)
subprocess.call(["pip install pypianoroll"], shell=True)
subprocess.call(["pip install music21"], shell=True)
subprocess.call(["pip install seaborn"], shell=True)
subprocess.call(["pip install --ignore-installed moviepy"], shell=True)
It works! thx.
@s8 Thanks for solving this!
Instead of using subprocess, simply running this command in jupyter notebook can also help !bash requirements.sh
FileNotFoundError: [Errno 2] No such file or directory: './requirements.sh': './requirements.sh'