Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Error Building libqi-python for Windows: 'qi/[~4]' Package Not Resolved #28

Open
@jhonatanramires

Description

@jhonatanramires

Goal

I'm working on building libqi-python for Windows to expand its compatibility and make it more accessible for Windows users, particularly for NAO robot development.

Current Status

  • Created a virtual environment for the project.
  • Installed dependencies listed in requirements.txt.
  • Attempted to run conan install . --build=missing -c tools.build:skip_test=true.
  • Encountered an error regarding the 'qi/[~4]' package not being resolved.

Steps Taken So Far

  1. Cloned the libqi-python repository running git clone --depth=1 --branch "master" https://github.com/aldebaran/libqi-python.
  2. Set up a Python virtual environment.
  3. Installed dependencies from the provided requirements.txt.
  4. Navigated to the project directory.
  5. run conan profile detect
  6. Attempted to install Conan dependencies using the command mentioned above.

Current Roadblock

When running the command:

conan install . --build=missing -c tools.build:skip_test=true

I encounter the following error:

ERROR: Package 'qi/[~4]' not resolved: Version range '~4' from requirement 'qi/[~4]' required by '' could not be resolved.

Questions

  1. How can I resolve the 'qi/[~4]' package not being found? Is there a specific version of qi I should be using or a particular Conan remote I need to add?
  2. Are there any Windows-specific configurations I need to set in Conan or CMake?
  3. How should I specify the Visual Studio toolchain in the build process?
  4. Are there any known issues with specific versions of dependencies on Windows?
  5. Is there any additional setup required for building libqi-python on Windows that isn't mentioned in the README?

Additional Information

  • This is part of a project to develop an LLM agent for NAO robots.
  • The ultimate goal is to create a wheel file for easy distribution on Windows.
  • I'm relatively new to building projects on Windows, so any detailed guidance would be appreciated.

System Information

  • OS: Windows 11 [23H2]
  • Python version: [3.12.4]
  • Conan version: [2.5.0]
  • CMake version: [3.30.1]

Thank you for your time and assistance with this issue. Any guidance or pointers would be greatly appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions