Skip to content

basic_idl_DIR=$(realpath ..) pip install . - MacOS (Error) #28

@Danny875

Description

@Danny875

Hi,

I have tried given the real path to the "basic_output" directory, as you indicated, but it still doesn't work. After I typed the following command:

basic_idl_DIR=/Users/dannyguest/Downloads/pyopendds/tests/basic_test/build/basic_output pip install .

The error that I'm getting is the following:

Processing /Users/dannydragoi/Downloads/pyopendds-master/tests/basic_test/build/basic_output
  DEPRECATION: A future pip version will change local packages to be built in-place without first copying to a temporary directory. We recommend you use --use-feature=in-tree-build to test your packages with this new behavior before it becomes the default.
   pip 21.3 will remove support for this functionality. You can find discussion regarding this at https://github.com/pypa/pip/issues/7555.
Requirement already satisfied: pyopendds in /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages (from pybasic==0.0.0) (0.1.0)
Requirement already satisfied: jinja2 in /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages (from pyopendds->pybasic==0.0.0) (3.0.2)
Requirement already satisfied: MarkupSafe>=2.0 in /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages (from jinja2->pyopendds->pybasic==0.0.0) (2.0.1)
Building wheels for collected packages: pybasic
  Building wheel for pybasic (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/8h/gxjssfgj3d35hmpjt9mq2v6r0000gn/T/pip-req-build-q0r5nh6_/setup.py'"'"'; __file__='"'"'/private/var/folders/8h/gxjssfgj3d35hmpjt9mq2v6r0000gn/T/pip-req-build-q0r5nh6_/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/8h/gxjssfgj3d35hmpjt9mq2v6r0000gn/T/pip-wheel-pgva0ptj
       cwd: /private/var/folders/8h/gxjssfgj3d35hmpjt9mq2v6r0000gn/T/pip-req-build-q0r5nh6_/
  Complete output (38 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.macosx-10.9-universal2-3.10
  creating build/lib.macosx-10.9-universal2-3.10/pybasic
  copying pybasic/__init__.py -> build/lib.macosx-10.9-universal2-3.10/pybasic
  creating build/lib.macosx-10.9-universal2-3.10/pybasic/basic
  copying pybasic/basic/__init__.py -> build/lib.macosx-10.9-universal2-3.10/pybasic/basic
  running build_ext
  -- The CXX compiler identification is AppleClang 13.0.0.13000029
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - done
  -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
  -- Detecting CXX compile features
  -- Detecting CXX compile features - done
  -- Found Python3: /Library/Frameworks/Python.framework/Versions/3.10/include/python3.10 (found suitable exact version "3.10.0") found components: Development Development.Module Development.Embed
  CMake Error at CMakeLists.txt:10 (find_package):
    By not providing "FindOpenDDS.cmake" in CMAKE_MODULE_PATH this project has
    asked CMake to find a package configuration file provided by "OpenDDS", but
    CMake did not find one.
  
    Could not find a package configuration file provided by "OpenDDS" with any
    of the following names:
  
      OpenDDSConfig.cmake
      opendds-config.cmake
  
    Add the installation prefix of "OpenDDS" to CMAKE_PREFIX_PATH or set
    "OpenDDS_DIR" to a directory containing one of the above files.  If
    "OpenDDS" provides a separate development package or SDK, be sure it has
    been installed.
  
  
  -- Configuring incomplete, errors occurred!
  See also "/private/var/folders/8h/gxjssfgj3d35hmpjt9mq2v6r0000gn/T/pip-req-build-q0r5nh6_/build/temp.macosx-10.9-universal2-3.10/CMakeFiles/CMakeOutput.log".
  See also "/private/var/folders/8h/gxjssfgj3d35hmpjt9mq2v6r0000gn/T/pip-req-build-q0r5nh6_/build/temp.macosx-10.9-universal2-3.10/CMakeFiles/CMakeError.log".
  error: "cmake /private/var/folders/8h/gxjssfgj3d35hmpjt9mq2v6r0000gn/T/pip-req-build-q0r5nh6_ -DCMAKE_BUILD_TYPE=Debug -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_DEBUG=/private/var/folders/8h/gxjssfgj3d35hmpjt9mq2v6r0000gn/T/pip-req-build-q0r5nh6_/build/lib.macosx-10.9-universal2-3.10 -DCMAKE_ARCHIVE_OUTPUT_DIRECTORY_DEBUG=build/temp.macosx-10.9-universal2-3.10 -DPYOPENDDS_PYTHON_VERSION=3.10.0 -DPYOPENDDS_INCLUDE=/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyopendds/dev/include" returned non-zero result: 1
  ----------------------------------------
  ERROR: Failed building wheel for pybasic
  Running setup.py clean for pybasic
Failed to build pybasic
Installing collected packages: pybasic
    Running setup.py install for pybasic ... error
    ERROR: Command errored out with exit status 1:
     command: /Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/8h/gxjssfgj3d35hmpjt9mq2v6r0000gn/T/pip-req-build-q0r5nh6_/setup.py'"'"'; __file__='"'"'/private/var/folders/8h/gxjssfgj3d35hmpjt9mq2v6r0000gn/T/pip-req-build-q0r5nh6_/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/8h/gxjssfgj3d35hmpjt9mq2v6r0000gn/T/pip-record-zbf3oepc/install-record.txt --single-version-externally-managed --compile --install-headers /Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/pybasic
         cwd: /private/var/folders/8h/gxjssfgj3d35hmpjt9mq2v6r0000gn/T/pip-req-build-q0r5nh6_/
    Complete output (38 lines):
    running install
    running build
    running build_py
    creating build
    creating build/lib.macosx-10.9-universal2-3.10
    creating build/lib.macosx-10.9-universal2-3.10/pybasic
    copying pybasic/__init__.py -> build/lib.macosx-10.9-universal2-3.10/pybasic
    creating build/lib.macosx-10.9-universal2-3.10/pybasic/basic
    copying pybasic/basic/__init__.py -> build/lib.macosx-10.9-universal2-3.10/pybasic/basic
    running build_ext
    -- The CXX compiler identification is AppleClang 13.0.0.13000029
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- Found Python3: /Library/Frameworks/Python.framework/Versions/3.10/include/python3.10 (found suitable exact version "3.10.0") found components: Development Development.Module Development.Embed
    CMake Error at CMakeLists.txt:10 (find_package):
      By not providing "FindOpenDDS.cmake" in CMAKE_MODULE_PATH this project has
      asked CMake to find a package configuration file provided by "OpenDDS", but
      CMake did not find one.
    
      Could not find a package configuration file provided by "OpenDDS" with any
      of the following names:
    
        OpenDDSConfig.cmake
        opendds-config.cmake
    
      Add the installation prefix of "OpenDDS" to CMAKE_PREFIX_PATH or set
      "OpenDDS_DIR" to a directory containing one of the above files.  If
      "OpenDDS" provides a separate development package or SDK, be sure it has
      been installed.
    
    
    -- Configuring incomplete, errors occurred!
    See also "/private/var/folders/8h/gxjssfgj3d35hmpjt9mq2v6r0000gn/T/pip-req-build-q0r5nh6_/build/temp.macosx-10.9-universal2-3.10/CMakeFiles/CMakeOutput.log".
    See also "/private/var/folders/8h/gxjssfgj3d35hmpjt9mq2v6r0000gn/T/pip-req-build-q0r5nh6_/build/temp.macosx-10.9-universal2-3.10/CMakeFiles/CMakeError.log".
    error: "cmake /private/var/folders/8h/gxjssfgj3d35hmpjt9mq2v6r0000gn/T/pip-req-build-q0r5nh6_ -DCMAKE_BUILD_TYPE=Debug -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_DEBUG=/private/var/folders/8h/gxjssfgj3d35hmpjt9mq2v6r0000gn/T/pip-req-build-q0r5nh6_/build/lib.macosx-10.9-universal2-3.10 -DCMAKE_ARCHIVE_OUTPUT_DIRECTORY_DEBUG=build/temp.macosx-10.9-universal2-3.10 -DPYOPENDDS_PYTHON_VERSION=3.10.0 -DPYOPENDDS_INCLUDE=/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyopendds/dev/include" returned non-zero result: 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/8h/gxjssfgj3d35hmpjt9mq2v6r0000gn/T/pip-req-build-q0r5nh6_/setup.py'"'"'; __file__='"'"'/private/var/folders/8h/gxjssfgj3d35hmpjt9mq2v6r0000gn/T/pip-req-build-q0r5nh6_/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/8h/gxjssfgj3d35hmpjt9mq2v6r0000gn/T/pip-record-zbf3oepc/install-record.txt --single-version-externally-managed --compile --install-headers /Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/pybasic Check the logs for full command output.

Is there any fix for this issue?

Thank you very much!

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