ELVIS-Project / vis-framework

Thoroughly modern symbolic musical data analysis suite.
http://elvisproject.ca/
31 stars 6 forks source link

Cannot execute VIS scripts on new server. #423

Closed alexandermorgan closed 7 years ago

alexandermorgan commented 7 years ago

I think I have not properly installed VIS on the new server. Until I can get VIS working again in the new server, progress on VIS 3.0 is frozen so this is a very important issue. @musicus and @slhowes , any ideas? When I try to run scripts from the scripts folder, I get this error:

(visvirtualenv)amor@vis:~/Code/vis-framework/vis/scripts$ sudo python ngram_test.py
Traceback (most recent call last):
  File "ngram_test.py", line 1, in <module>
    from vis.analyzers.indexers import noterest, interval, ngram, meter, dissonance, active_voices
ImportError: No module named vis.analyzers.indexers

When I try to install vis with: sudo pip install vis-framework I eventually get this error:

    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Ipandas/src/klib -Ipandas/src -I/usr/local/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/python2.7 -c pandas/index.c -o build/temp.linux-x86_64-2.7/pandas/index.o
    unable to execute 'x86_64-linux-gnu-gcc': No such file or directory
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

    ----------------------------------------
  Rolling back uninstall of pandas
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-IEhtrt/pandas/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-X0DurW-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-IEhtrt/pandas/

Any advice would be appreciated.

alexandermorgan commented 7 years ago

Update: for some reason I'm only running into this problem when I execute scripts from the scripts folder. If I execute the same code from a different folder (such as from the vis-framework folder) it works.

alexandermorgan commented 7 years ago

@mrbannon sorted all this out. Thanks.