Error bench init frappe

Hi everyone, I have an issue when trying to bench init frappe-bench && bench-frappe. it gives me this message:

INFO:bench.app:installing frappe
INFO:bench.utils:frappe-bench/env/bin/pip install -q  -e frappe-bench/apps/frappe --no-cache-dir
  Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f513dd66bd0>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/rq/
  Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f513cce5b10>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/rq/
  Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f513d4043d0>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/rq/
  Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f513ccbeb90>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/cssselect/
  Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f513be7ead0>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/cssselect/
  Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f513be6d810>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/cssselect/
  Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f513be83f90>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/cssselect/
  Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f513beb3090>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/cssselect/
  Could not find a version that satisfies the requirement cssselect (from premailer->frappe==10.1.37) (from versions: )
No matching distribution found for cssselect (from premailer->frappe==10.1.37)
Traceback (most recent call last):
  File "/usr/local/bin/bench", line 11, in <module>
    load_entry_point('bench', 'console_scripts', 'bench')()
  File "/home/ubuntudesktop/bench-repo/bench/cli.py", line 40, in cli
    bench_command()
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/home/ubuntudesktop/bench-repo/bench/commands/make.py", line 30, in init
    python 		 = python)
  File "/home/ubuntudesktop/bench-repo/bench/utils.py", line 75, in init
    get_app(frappe_path, branch=frappe_branch, bench_path=path, build_asset_files=False, verbose=verbose)
  File "/home/ubuntudesktop/bench-repo/bench/app.py", line 135, in get_app
    install_app(app=app_name, bench_path=bench_path, verbose=verbose)
  File "/home/ubuntudesktop/bench-repo/bench/app.py", line 181, in install_app
    find_links=find_links))
  File "/home/ubuntudesktop/bench-repo/bench/utils.py", line 159, in exec_cmd
    raise CommandFailedError(cmd)
bench.utils.CommandFailedError: frappe-bench/env/bin/pip install -q  -e frappe-bench/apps/frappe --no-cache-dir

can anyone help me with the error?

Seems like a network problem. Try doing it again.

this morning I tried again and it said that is already exist. it’s really weird… thanks btw for your help

Ohh, is it working?
If not I think you’l have to delete the frappe-bench folder and do I bench init frappe-bench again