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

Error pip installing yolo34py on windows #142

Open
MarcosLen opened this issue Oct 26, 2021 · 0 comments
Open

Error pip installing yolo34py on windows #142

MarcosLen opened this issue Oct 26, 2021 · 0 comments

Comments

@MarcosLen
Copy link

MarcosLen commented Oct 26, 2021

Hello! Anyone knows what to do with this error?
Using Python 3.8
Thanks!

Collecting yolo34py
  Using cached yolo34py-0.2.tar.gz (67 kB)
  Preparing metadata (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: 'C:\Users\marco\Desktop\Kupner\AnalisisCND\venv\Scripts\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\marco\\AppData\\Local\\Temp\\pi
p-install-sx99_r65\\yolo34py_5eea0ccadc464285abf82972384d77b9\\setup.py'"'"'; __file__='"'"'C:\\Users\\marco\\AppData\\Local\\Temp\\pip-install-sx99_r65\\yolo34py_5eea0ccadc464285abf82972
384d77b9\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read()
.replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\marco\AppData\Local\Temp\pip-pip-egg-info-4i_k8c5j'
       cwd: C:\Users\marco\AppData\Local\Temp\pip-install-sx99_r65\yolo34py_5eea0ccadc464285abf82972384d77b9\
  Complete output (12 lines):
  INFO:root:Darknet will be downloaded from 'https://github.com/madhawav/darknet/archive/yolo34py-intergration-nogpu-v2.zip'
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "C:\Users\marco\AppData\Local\Temp\pip-install-sx99_r65\yolo34py_5eea0ccadc464285abf82972384d77b9\setup.py", line 31, in <module>
      extra_compiler_flags = get_python_cflags()
    File "C:\Users\marco\AppData\Local\Temp\pip-install-sx99_r65\yolo34py_5eea0ccadc464285abf82972384d77b9\setup_util.py", line 93, in get_python_cflags
      proc = subprocess.Popen(shlex.split(command), stdout=subprocess.PIPE, stderr=subprocess.PIPE)
    File "C:\Users\marco\AppData\Local\Programs\Python\Python38\lib\subprocess.py", line 858, in __init__
      self._execute_child(args, executable, preexec_fn, close_fds,
    File "C:\Users\marco\AppData\Local\Programs\Python\Python38\lib\subprocess.py", line 1311, in _execute_child
      hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
  FileNotFoundError: [WinError 2] El sistema no puede encontrar el archivo especificado
  ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/28/4f/1cc9767064d8981682ecfc4bb5466352e4cb4748dc0900ee1cf87ee53b2f/yolo34py-0.2.tar.gz#sha256=2ab0b507cfd3d8849b6ecbd6468d8f738
4ccd222b5f8127a48d39013aad67e6f (from https://pypi.org/simple/yolo34py/) (requires-python:>=3.5). Command errored out with exit status 1: python setup.py egg_info Check the logs for full
command output.
  Using cached yolo34py-0.1.tar.gz (65 kB)
  Preparing metadata (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: 'C:\Users\marco\Desktop\Kupner\AnalisisCND\venv\Scripts\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\marco\\AppData\\Local\\Temp\\pi
p-install-sx99_r65\\yolo34py_ee594ea984cf4f7a9fd3494af5722b8c\\setup.py'"'"'; __file__='"'"'C:\\Users\\marco\\AppData\\Local\\Temp\\pip-install-sx99_r65\\yolo34py_ee594ea984cf4f7a9fd3494a
f5722b8c\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read()
.replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\marco\AppData\Local\Temp\pip-pip-egg-info-kf8vilcq'
       cwd: C:\Users\marco\AppData\Local\Temp\pip-install-sx99_r65\yolo34py_ee594ea984cf4f7a9fd3494af5722b8c\
  Complete output (11 lines):
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "C:\Users\marco\AppData\Local\Temp\pip-install-sx99_r65\yolo34py_ee594ea984cf4f7a9fd3494af5722b8c\setup.py", line 53, in <module>
      if USE_CV & (get_libs("opencv") is None or get_cflags("opencv") is None):
    File "C:\Users\marco\AppData\Local\Temp\pip-install-sx99_r65\yolo34py_ee594ea984cf4f7a9fd3494af5722b8c\setup_util.py", line 120, in get_libs
      proc = subprocess.Popen(shlex.split(command), stdout=subprocess.PIPE, stderr=subprocess.PIPE)
    File "C:\Users\marco\AppData\Local\Programs\Python\Python38\lib\subprocess.py", line 858, in __init__
      self._execute_child(args, executable, preexec_fn, close_fds,
    File "C:\Users\marco\AppData\Local\Programs\Python\Python38\lib\subprocess.py", line 1311, in _execute_child
      hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
  FileNotFoundError: [WinError 2] El sistema no puede encontrar el archivo especificado
  ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/b5/d5/2c827c4b2cffd2864612d350325cde533f80726daf8fbc64786497ae0667/yolo34py-0.1.tar.gz#sha256=c3af659c7f80346a0ad4a6e60fd4e622d
30e5e3b8a1d527addde5a474d524360 (from https://pypi.org/simple/yolo34py/) (requires-python:>=3.5). Command errored out with exit status 1: python setup.py egg_info Check the logs for full
command output.
ERROR: Could not find a version that satisfies the requirement yolo34py (from versions: 0.1rc10, 0.1rc12, 0.1rc61, 0.1, 0.2rc5, 0.2)
ERROR: No matching distribution found for yolo34py
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