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

Install instruction yield ../nbsvm: No such file or directory #6

Open
datatalking opened this issue Jan 10, 2020 · 0 comments
Open

Comments

@datatalking
Copy link

When I follow the instructions to this otherwise helpful Naive Bayes python script it gives me an error.

owner at Owners-iMac in ~/sbox/test/nbsvm on master
$ ./oh_my_go.sh
mkdir: nbsvm_run: File exists
dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
  Referenced from: /usr/local/bin/wget
  Reason: image not found
./oh_my_go.sh: line 11: 64166 Abort trap: 6           wget http://ai.stanford.edu/~amaas/data/sentiment/aclImdb_v1.tar.gz
tar: Error opening archive: Failed to open 'aclImdb_v1.tar.gz'
rm: aclImdb_v1.tar.gz: No such file or directory
ls: aclImdb/train/pos: No such file or directory
./oh_my_go.sh: line 3: temp: No such file or directory
mv: rename temp-norm to aclImdb/train/pos/norm.txt: No such file or directory
rm: temp: No such file or directory
ls: aclImdb/train/neg: No such file or directory
./oh_my_go.sh: line 3: temp: No such file or directory
mv: rename temp-norm to aclImdb/train/neg/norm.txt: No such file or directory
rm: temp: No such file or directory
ls: aclImdb/test/pos: No such file or directory
./oh_my_go.sh: line 3: temp: No such file or directory
mv: rename temp-norm to aclImdb/test/pos/norm.txt: No such file or directory
rm: temp: No such file or directory
ls: aclImdb/test/neg: No such file or directory
./oh_my_go.sh: line 3: temp: No such file or directory
mv: rename temp-norm to aclImdb/test/neg/norm.txt: No such file or directory
rm: temp: No such file or directory
mkdir: data: File exists
mv: rename aclImdb/train/pos/norm.txt to data/train-pos.txt: No such file or directory
mv: rename aclImdb/train/neg/norm.txt to data/train-neg.txt: No such file or directory
mv: rename aclImdb/test/pos/norm.txt to data/test-pos.txt: No such file or directory
mv: rename aclImdb/test/neg/norm.txt to data/test-neg.txt: No such file or directory
rm: aclImdb: No such file or directory
dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
  Referenced from: /usr/local/bin/wget
  Reason: image not found
./oh_my_go.sh: line 29: 64195 Abort trap: 6           wget https://www.csie.ntu.edu.tw/~cjlin/liblinear/oldfiles/liblinear-1.96.zip
unzip:  cannot find or open liblinear-1.96.zip, liblinear-1.96.zip.zip or liblinear-1.96.zip.ZIP.
rm: liblinear-1.96.zip: No such file or directory
./oh_my_go.sh: line 32: cd: liblinear-1.96: No such file or directory
make: *** No targets specified and no makefile found.  Stop.
BI-GRAM
python: can't open file '../nbsvm/nbsvm.py': [Errno 2] No such file or directory
TRI-GRAM
python: can't open file '../nbsvm/nbsvm.py': [Errno 2] No such file or directory
./oh_my_go.sh: line 40: cd: ../nbsvm: No such file or directory
(base) 
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

1 participant