Skip to content

Can install from pip but not from source #16

Description

MOOS is installed from svn source
moos-ivp-extend builds with no issue
Can install pymoos using python -m pip install pymoos

but when trying to install using source, i get the following errors:

  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: pymoos
  Building wheel for pymoos (pyproject.toml) ... error
  error: subprocess-exited-with-error
  
  × Building wheel for pymoos (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [10 lines of output]
      running bdist_wheel
      running build
      running build_ext
      x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/usr/include/python3.10 -c flagcheck.cpp -o flagcheck.o -std=c++17
      x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DVERSION_INFO=2022.1 -I/tmp/pip-build-env-460rbc63/overlay/local/lib/python3.10/dist-packages/pybind11/include -I/usr/include/python3.10 -c src/pyMOOS.cpp -o build/temp.linux-x86_64-3.10/src/pyMOOS.o -std=c++17 -fvisibility=hidden -g0
      src/pyMOOS.cpp:6:10: fatal error: MOOS/libMOOS/Comms/MOOSMsg.h: No such file or directory
          6 | #include "MOOS/libMOOS/Comms/MOOSMsg.h"
            |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      compilation terminated.
      error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pymoos
Failed to build pymoos
ERROR: Could not build wheels for pymoos, which is required to install pyproject.toml-based projects

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions