Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu problems with data setup #58

Closed
TuulaP opened this issue Mar 25, 2019 · 3 comments
Closed

Ubuntu problems with data setup #58

TuulaP opened this issue Mar 25, 2019 · 3 comments

Comments

@TuulaP
Copy link

TuulaP commented Mar 25, 2019

Interesting module, the basic setup is causing me some problems. In ubuntu:

conda env create --name deepbach_pytorch -f environment.yml

SpecNotFound: Invalid name, try the format: user/package

And if I skip that, then

the next examples, e.g.

python3 deepBach.py
Using TensorFlow backend.
ends up to:
  File "/mnt/c/dev/2019/DeepBach/data_utils.py", line 584, in initialization
    chorale_list = filter_file_list(corpus.getBachChorales(fileExtensions='xml'))
AttributeError: module 'music21.corpus' has no attribute 'getBachChorales'

so some data seems to be missing, and wondering where I could get those.

@Ghadjeres
Copy link
Owner

Hi!
Are you on the master branch?
Because, this error is due to the fact that you do not have the latest version of music21

@soma-n8
Copy link

soma-n8 commented Jun 22, 2019

Here has same problem,
But my music21 is 5.7.0
when I try to update it
I input this:

pip install --upgrade music21

and I got This:
Requirement already up-to-date: music21 in /home/mors/anaconda3/lib/python3.6/site-packages (5.7.0)

@soma-n8
Copy link

soma-n8 commented Jun 22, 2019

BTW
I tried this:
pip uninstall music21
pip install --upgrade music21=4.1.0

It's work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants