flupke / pypotrace

Python bindings for potrace library
Other
165 stars 43 forks source link

error occured during installation with python 3 and windows 8.1 64 bit #16

Closed pavanyogi closed 4 years ago

pavanyogi commented 6 years ago

i have followed instructions provided here . But installation not successful screenshot 90

LeiMazizizi commented 5 years ago

Hi! Has anyone solved this problem? I came across this same issue...

fiveh commented 5 years ago

subprocess.CalledProcessError: Command '['pkg-config', '--libs', '--cflags', 'libagg']' returned non-zero exit status 1 ubuntu 18.04 python3.6 1

flupke commented 5 years ago

Hi, I don't have the ability to test on Windows unfortunately.

I recently fixed python 3 compilation issues though, maybe that can help, please have a look at #21

sazr commented 4 years ago

Hi has this been resolved? I get the same error on Windows 10 Python 3.7 and Python 2.7.

C:\Users\a>pip install pypotrace Collecting pypotrace Using cached https://files.pythonhosted.org/packages/a8/66/3b6236524ef1f3655397ed87c08564f9e7364c6922c12f948bace59a4d96/pypotrace-0.2.tar.g z Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in File "C:\Users\a\AppData\Local\Temp\pip-install-peuxb1po\pypotrace\setup.py", line 4, in setup() File "C:\Users\a\AppData\Local\Temp\pip-install-peuxb1po\pypotrace\cysetuptools.py", line 149, in setup parsed_setup_cfg = parse_setup_cfg(fp, cythonize=cythonize) File "C:\Users\a\AppData\Local\Temp\pip-install-peuxb1po\pypotrace\cysetuptools.py", line 222, in parse_setup_cfg return _expand_cython_modules(config, cythonize, pkg_config, base_dir) File "C:\Users\a\AppData\Local\Temp\pip-install-peuxb1po\pypotrace\cysetuptools.py", line 231, in _expand_cython_modules pkg_config, base_dir) File "C:\Users\a\AppData\Local\Temp\pip-install-peuxb1po\pypotrace\cysetuptools.py", line 239, in _expand_one_cython_module _expand_pkg_config_pkgs(config, section, pkg_config) File "C:\Users\a\AppData\Local\Temp\pip-install-peuxb1po\pypotrace\cysetuptools.py", line 299, in _expand_pkg_config_pkgs extra_compile_args = pkg_config(pkg_names, '--cflags', env) File "C:\Users\a\AppData\Local\Temp\pip-install-peuxb1po\pypotrace\cysetuptools.py", line 309, in _run_pkg_config env=env).decode('utf8') File "c:\users\a\appdata\local\programs\python\python37\lib\subprocess.py", line 376, in check_output *kwargs).stdout File "c:\users\a\appdata\local\programs\python\python37\lib\subprocess.py", line 453, in run with Popen(popenargs, **kwargs) as process: File "c:\users\a\appdata\local\programs\python\python37\lib\subprocess.py", line 756, in init restore_signals, start_new_session) File "c:\users\a\appdata\local\programs\python\python37\lib\subprocess.py", line 1155, in _execute_child startupinfo) FileNotFoundError: [WinError 2] The system cannot find the file specified

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in C:\Users\a\AppData\Local\Temp\pip-install-peuxb1po\pypotrace\

flupke commented 4 years ago

Closing for no activity.