Python Forum
ERROR: Command errored out with exit status 1
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ERROR: Command errored out with exit status 1
#1
Hi,
I am a freshman about coding things. I have just installed python 3.9. version. Now, I am trying to install jupyter notebook a hundred times. I watched many vidoes and searched on internet but I am always getting an "ERROR: Command errored out with exit status 1", whatever I've done.
Could you help me? Thx a lot.

The error down below:

C:\Users\Arda Öztürk>pip install notebook
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000002A80E5FEC40>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/notebook/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000002A80E5FE8E0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/notebook/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000002A80E5FE730>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/notebook/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000002A80E5FE580>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/notebook/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000002A80E5FE3D0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/notebook/
Collecting notebook
Using cached notebook-6.1.4-py3-none-any.whl (9.5 MB)
Collecting jinja2
Using cached Jinja2-2.11.2-py2.py3-none-any.whl (125 kB)
Collecting tornado>=5.0
Using cached tornado-6.0.4.tar.gz (496 kB)
Collecting ipython-genutils
Using cached ipython_genutils-0.2.0-py2.py3-none-any.whl (26 kB)
Collecting jupyter-core>=4.6.1
Using cached jupyter_core-4.6.3-py2.py3-none-any.whl (83 kB)
Collecting ipykernel
Using cached ipykernel-5.3.4-py3-none-any.whl (120 kB)
Collecting prometheus-client
Using cached prometheus_client-0.8.0-py2.py3-none-any.whl (53 kB)
Collecting nbformat
Using cached nbformat-5.0.8-py3-none-any.whl (172 kB)
Collecting Send2Trash
Using cached Send2Trash-1.5.0-py3-none-any.whl (12 kB)
Collecting argon2-cffi
Using cached argon2-cffi-20.1.0.tar.gz (1.8 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\arda öztürk\appdata\local\programs\python\python39\python.exe' 'c:\users\arda öztürk\appdata\local\programs\python\python39\lib\site-packages\pip\_vendor\pep517\_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\ARDAZT~1\AppData\Local\Temp\tmpk9b5ex9z'
cwd: C:\Users\Arda Öztürk\AppData\Local\Temp\pip-install-9nt1ehvc\argon2-cffi
Complete output (28 lines):
Error in sitecustomize; set PYTHONVERBOSE for traceback:
SyntaxError: (unicode error) 'utf-8' codec can't decode byte 0xf6 in position 0: invalid start byte (sitecustomize.py, line 7)
WARNING: The wheel package is not available.
Error in sitecustomize; set PYTHONVERBOSE for traceback:
SyntaxError: (unicode error) 'utf-8' codec can't decode byte 0xf6 in position 0: invalid start byte (sitecustomize.py, line 7)
WARNING: The wheel package is not available.
Error in sitecustomize; set PYTHONVERBOSE for traceback:
SyntaxError: (unicode error) 'utf-8' codec can't decode byte 0xf6 in position 0: invalid start byte (sitecustomize.py, line 7)
running dist_info
creating C:\Users\Arda Öztürk\AppData\Local\Temp\pip-modern-metadata-r26b700t\argon2_cffi.egg-info
writing C:\Users\Arda Öztürk\AppData\Local\Temp\pip-modern-metadata-r26b700t\argon2_cffi.egg-info\PKG-INFO
writing dependency_links to C:\Users\Arda Öztürk\AppData\Local\Temp\pip-modern-metadata-r26b700t\argon2_cffi.egg-info\dependency_links.txt
writing requirements to C:\Users\Arda Öztürk\AppData\Local\Temp\pip-modern-metadata-r26b700t\argon2_cffi.egg-info\requires.txt
writing top-level names to C:\Users\Arda Öztürk\AppData\Local\Temp\pip-modern-metadata-r26b700t\argon2_cffi.egg-info\top_level.txt
writing manifest file 'C:\Users\Arda Öztürk\AppData\Local\Temp\pip-modern-metadata-r26b700t\argon2_cffi.egg-info\SOURCES.txt'
reading manifest file 'C:\Users\Arda Öztürk\AppData\Local\Temp\pip-modern-metadata-r26b700t\argon2_cffi.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.txt'
warning: no files found matching '.coveragerc'
warning: no previously-included files found matching 'src\argon2\_ffi.py'
warning: no previously-included files found matching '.gitmodules'
warning: no previously-included files found matching 'extras\libargon2\.git'
warning: no previously-included files found matching '*.yml'
warning: no previously-included files matching '*.pyc' found under directory 'tests'
no previously-included directories found matching 'docs\_build'
writing manifest file 'C:\Users\Arda Öztürk\AppData\Local\Temp\pip-modern-metadata-r26b700t\argon2_cffi.egg-info\SOURCES.txt'
creating 'C:\Users\Arda Öztürk\AppData\Local\Temp\pip-modern-metadata-r26b700t\argon2_cffi.dist-info'
error: invalid command 'bdist_wheel'
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\arda öztürk\appdata\local\programs\python\python39\python.exe' 'c:\users\arda öztürk\appdata\local\programs\python\python39\lib\site-packages\pip\_vendor\pep517\_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\ARDAZT~1\AppData\Local\Temp\tmpk9b5ex9z' Check the logs for full command output.
Reply
#2
It's not pip install notebook
JupyterLab pip install jupyterlab
Reply
#3
(Oct-22-2020, 06:47 PM)snippsat Wrote: It's not pip install notebook
JupyterLab pip install jupyterlab


I also tried this but it doesn't work :(
Reply
#4
Error:
Failed to establish a new connection: [Errno 11001]
Are you being firewall or Corporate restriction?

Try with proxy.
pip install --proxy=http://yourproxy:yourport package_name
Example free list search https,then change often so try several.
Output:
G:\ λ pip install --proxy=https://78.100.34.184:80 redtape Collecting redtape Downloading redtape-1.2.tar.gz (87 kB) |████████████████████████████████| 87 kB 94 kB/s ..... Successfully installed markdown-3.3.2 redtape-1.2
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Basic Coding Question: Exit Program Command? RockBlok 3 503 Nov-19-2023, 06:31 PM
Last Post: deanhystad
  Receiving this error in my "response" and causes script to return wrong status cubangt 18 1,907 Aug-13-2023, 12:16 AM
Last Post: cubangt
  error: invalid command 'egg_info' TimTu 0 906 Jul-27-2023, 07:30 AM
Last Post: TimTu
  fetching exit status hangs in paramiko saisankalpj 3 1,130 Dec-04-2022, 12:21 AM
Last Post: nilamo
  Command error - cursor.executemany(comandoSQL,valoresInserir) TecInfo 2 1,302 Nov-18-2022, 01:57 PM
Last Post: TecInfo
  python difference between sys.exit and exit() mg24 1 1,764 Nov-12-2022, 01:37 PM
Last Post: deanhystad
  Error when running mktorrent subprocess command pythonnewbie138 4 3,761 Sep-16-2020, 01:55 AM
Last Post: pythonnewbie138
  "pip install -e ." returns : ERROR: Command errored out with exit status 1 mostafaPython 3 5,459 Jun-09-2020, 09:28 AM
Last Post: snippsat
  subprocess - get exit status of command run on different machine using rsh prashanth_CM 0 2,173 Sep-25-2018, 07:29 AM
Last Post: prashanth_CM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020