udibr / headlines

Automatically generate headlines to short articles
MIT License
525 stars 150 forks source link

'unzip' is not recognized as an internal or external command, operable program or batch file. #35

Open Hemanth14531 opened 6 years ago

Hemanth14531 commented 6 years ago

Can someone help me with issue?

when i am trying to run this block

fname = 'glove.6B.%dd.txt'%embedding_dim import os datadir_base = os.path.expanduser(os.path.join('~', '.keras')) if not os.access(datadir_base, os.W_OK): datadir_base = os.path.join('/tmp', '.keras') datadir = os.path.join(datadir_base, 'datasets') glove_name = os.path.join(datadir, fname) if not os.path.exists(glove_name): path = 'glove.6B.zip' path = get_file(path, origin="http://nlp.stanford.edu/data/glove.6B.zip") !unzip {datadir}/{path}

i am getting this error

'unzip' is not recognized as an internal or external command, operable program or batch file.

yasersakkaf commented 6 years ago

I am facing the same issue. If you have found the solution then please provide it to me

elainelinlin commented 6 years ago

Do you have unzip installed in your command line?