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

Cannot build via scripts/conda_build.bat? #108

Open
snyang opened this issue Jan 15, 2023 · 0 comments
Open

Cannot build via scripts/conda_build.bat? #108

snyang opened this issue Jan 15, 2023 · 0 comments

Comments

@snyang
Copy link

snyang commented Jan 15, 2023

I met the following error via running scripts/conda_build.bat, any idea to resolve it?

Added file:///C:/Users/HUAWEI/.conda/envs/pclpy2/conda-bld/pclpy_1673777755063/work to build tracker 'C:\\Users\\HUAWEI\\AppData\\Local\\Temp\\pip-build-tracker-smcdp8_3'   
  Running setup.py (path:%SRC_DIR%\setup.py) egg_info for package from file:///C:/Users/HUAWEI/.conda/envs/pclpy2/conda-bld/pclpy_1673777755063/work
  Created temporary directory: C:\Users\HUAWEI\AppData\Local\Temp\pip-pip-egg-info-cla626qb
  Preparing metadata (setup.py): started
  Running command python setup.py egg_info
  Package pcl_2d-1.9 was not found in the pkg-config search path.
  Perhaps you should add the directory containing `pcl_2d-1.9.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'pcl_2d-1.9' found
  Traceback (most recent call last):
    File "<string>", line 2, in <module>
    File "<pip-setuptools-caller>", line 34, in <module>
    File "C:\Users\HUAWEI\.conda\envs\pclpy2\conda-bld\pclpy_1673777755063\work\setup.py", line 344, in <module>
      inc_dirs = pkg_config_multi("--cflags-only-I", skip_chars=2)
    File "C:\Users\HUAWEI\.conda\envs\pclpy2\conda-bld\pclpy_1673777755063\work\pkgconfig_utils.py", line 30, in pkg_config_multi
      for value in pkg_config(arg, lib):
    File "C:\Users\HUAWEI\.conda\envs\pclpy2\conda-bld\pclpy_1673777755063\work\pkgconfig_utils.py", line 37, in pkg_config
      output = subprocess.check_output(command).decode().strip()
    File "C:\Users\HUAWEI\.conda\envs\pclpy2\conda-bld\pclpy_1673777755063\_h_env\lib\subprocess.py", line 415, in check_output
      return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
    File "C:\Users\HUAWEI\.conda\envs\pclpy2\conda-bld\pclpy_1673777755063\_h_env\lib\subprocess.py", line 516, in run
      raise CalledProcessError(retcode, process.args,
  subprocess.CalledProcessError: Command '['pkg-config', '--cflags-only-I', 'pcl_2d-1.9']' returned non-zero exit status 1.
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> See above for output.
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