A
A
Artem Kondratsky2019-11-18 21:06:49
Python
Artem Kondratsky, 2019-11-18 21:06:49

I can't install the gphoto2 package, what should I do?

I'm trying to install gphoto2, but the installation gives an error

mistake

ERROR: Command errored out with exit status 1:
     command: 'c:\python37\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Artem\\AppData\\Local\\Temp\\pip-install-3weynwgt\\gphoto2\\setup.py'"'"'; __file__='"'"'C:\\Users\\Artem\\AppData\\Local\\Temp\\pip-install-3weynwgt\\gphoto2\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Artem\AppData\Local\Temp\pip-install-3weynwgt\gphoto2\pip-egg-info'
         cwd: C:\Users\Artem\AppData\Local\Temp\pip-install-3weynwgt\gphoto2\
    Complete output (14 lines):
    ERROR: command "pkg-config --modversion libgphoto2" failed
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\Artem\AppData\Local\Temp\pip-install-3weynwgt\gphoto2\setup.py", line 38, in <module>
        cmd, stderr=FNULL, universal_newlines=True).split('.')
      File "c:\python37\lib\subprocess.py", line 376, in check_output
        **kwargs).stdout
      File "c:\python37\lib\subprocess.py", line 453, in run
        with Popen(*popenargs, **kwargs) as process:
      File "c:\python37\lib\subprocess.py", line 756, in __init__
        restore_signals, start_new_session)
      File "c:\python37\lib\subprocess.py", line 1155, in _execute_child
        startupinfo)
    FileNotFoundError: [WinError 2] Не удается найти указанный файл
<code>
</spoiler>

В путях русских символов нет. Как установить?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question