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

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

Open
Hemanth14531 opened this issue May 9, 2018 · 13 comments

Comments

@Hemanth14531
Copy link

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
Copy link

Same Issue.

@surya89s
Copy link

Same Issue.. can anyone help please

@ffabinhoo
Copy link

same issue

@ffabinhoo
Copy link

ffabinhoo commented Jul 15, 2018

I solved the problem downloading and installling http://gnuwin32.sourceforge.net/ for windows

@asharsid
Copy link

asharsid commented Dec 2, 2018

Dont read in the zipped file. Read the unzipped glove file directly.

@Dev00114
Copy link

unzip is not a normal Windows program. If you are using PowerShell or CMD as your shell, it typically won't work. If you want this feature, you'd need to install some version of Bash (e.g. Git Bash). From there, you can use the unzip command from a bash shell, or, if you select the appropriate installation options (UNIX tools in CMD), you can use unzip in CMD and PowerShell as well

@sanjeev49
Copy link

I solved the problem downloading and installling http://gnuwin32.sourceforge.net/ for windows

Yes. Thats works. Thanks

@manav3475
Copy link

I solved the problem downloading and installing http://gnuwin32.sourceforge.net/ for windows

for unzip command what package should I download

@astral-fate
Copy link

astral-fate commented Aug 11, 2022

you have to install git in your jubyter notebook envirment using the follwoing command

conda install git
then it will work just fine

image

image

@GAGANTYAGI15
Copy link

it works for me thanks

@dustinbaekpersonal
Copy link

you have to install git in your jubyter notebook envirment using the follwoing command

conda install git then it will work just fine

image image

it works for me as well, but why does it work?

@molua
Copy link

molua commented May 14, 2023

you have to install git in your jubyter notebook envirment using the follwoing command

conda install git then it will work just fine

image image

that works, thanks

@Dibya069
Copy link

I don't know how it worked, but in my case it giving me error...

image

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