Coder Social home page Coder Social logo

Comments (2)

iguessthislldo avatar iguessthislldo commented on May 27, 2024

When you quote long output like this please put it in a markdown code block.

It says zsh: command not found: realpath at the beginning. I guess macOS doesn't have that command. You need to replace $(realpath ..) in the command with the path to basic_ouput.

from pyopendds.

Danny875 avatar Danny875 commented on May 27, 2024

I tried given the real path to the basic_output, but it still doesn't work. I typed basic_idl_DIR=/Users/dannyguest/Downloads/pyopendds/tests/basic_test/build/basic_output pip install . and I get the following error:

Processing /Users/dannyguest/Downloads/pyopendds/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.9/lib/python3.9/site-packages (from pybasic==0.0.0) (0.1.0)
Requirement already satisfied: jinja2 in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from pyopendds->pybasic==0.0.0) (3.0.1)
Requirement already satisfied: MarkupSafe>=2.0 in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/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.9/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/zr/2_q9sztd3rgcyn9ztx1r5_7c0000gn/T/pip-req-build-p4zd9_rj/setup.py'"'"'; __file__='"'"'/private/var/folders/zr/2_q9sztd3rgcyn9ztx1r5_7c0000gn/T/pip-req-build-p4zd9_rj/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/zr/2_q9sztd3rgcyn9ztx1r5_7c0000gn/T/pip-wheel-c_w1tblk
       cwd: /private/var/folders/zr/2_q9sztd3rgcyn9ztx1r5_7c0000gn/T/pip-req-build-p4zd9_rj/
  Complete output (43 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.macosx-10.9-x86_64-3.9
  creating build/lib.macosx-10.9-x86_64-3.9/pybasic
  copying pybasic/__init__.py -> build/lib.macosx-10.9-x86_64-3.9/pybasic
  creating build/lib.macosx-10.9-x86_64-3.9/pybasic/basic
  copying pybasic/basic/__init__.py -> build/lib.macosx-10.9-x86_64-3.9/pybasic/basic
  running build_ext
  -- The CXX compiler identification is AppleClang 12.0.5.12050022
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - done
  -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
  -- Detecting CXX compile features
  -- Detecting CXX compile features - done
  -- Found Python3: /Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 (found suitable exact version "3.9.2") found components: Development Development.Module Development.Embed
  -- Looking for C++ include pthread.h
  -- Looking for C++ include pthread.h - found
  -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
  -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
  -- Found Threads: TRUE
  CMake Error at CMakeLists.txt:11 (find_package):
    By not providing "Findbasic_idl.cmake" in CMAKE_MODULE_PATH this project
    has asked CMake to find a package configuration file provided by
    "basic_idl", but CMake did not find one.
  
    Could not find a package configuration file provided by "basic_idl" with
    any of the following names:
  
      basic_idlConfig.cmake
      basic_idl-config.cmake
  
    Add the installation prefix of "basic_idl" to CMAKE_PREFIX_PATH or set
    "basic_idl_DIR" to a directory containing one of the above files.  If
    "basic_idl" provides a separate development package or SDK, be sure it has
    been installed.
  
  
  -- Configuring incomplete, errors occurred!
  See also "/private/var/folders/zr/2_q9sztd3rgcyn9ztx1r5_7c0000gn/T/pip-req-build-p4zd9_rj/build/temp.macosx-10.9-x86_64-3.9/CMakeFiles/CMakeOutput.log".
  See also "/private/var/folders/zr/2_q9sztd3rgcyn9ztx1r5_7c0000gn/T/pip-req-build-p4zd9_rj/build/temp.macosx-10.9-x86_64-3.9/CMakeFiles/CMakeError.log".
  error: "cmake /private/var/folders/zr/2_q9sztd3rgcyn9ztx1r5_7c0000gn/T/pip-req-build-p4zd9_rj -DCMAKE_BUILD_TYPE=Debug -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_DEBUG=/private/var/folders/zr/2_q9sztd3rgcyn9ztx1r5_7c0000gn/T/pip-req-build-p4zd9_rj/build/lib.macosx-10.9-x86_64-3.9 -DCMAKE_ARCHIVE_OUTPUT_DIRECTORY_DEBUG=build/temp.macosx-10.9-x86_64-3.9 -DPYOPENDDS_PYTHON_VERSION=3.9.2 -DPYOPENDDS_INCLUDE=/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/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.9/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/zr/2_q9sztd3rgcyn9ztx1r5_7c0000gn/T/pip-req-build-p4zd9_rj/setup.py'"'"'; __file__='"'"'/private/var/folders/zr/2_q9sztd3rgcyn9ztx1r5_7c0000gn/T/pip-req-build-p4zd9_rj/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/zr/2_q9sztd3rgcyn9ztx1r5_7c0000gn/T/pip-record-ptbfqalx/install-record.txt --single-version-externally-managed --compile --install-headers /Library/Frameworks/Python.framework/Versions/3.9/include/python3.9/pybasic
         cwd: /private/var/folders/zr/2_q9sztd3rgcyn9ztx1r5_7c0000gn/T/pip-req-build-p4zd9_rj/
    Complete output (43 lines):
    running install
    running build
    running build_py
    creating build
    creating build/lib.macosx-10.9-x86_64-3.9
    creating build/lib.macosx-10.9-x86_64-3.9/pybasic
    copying pybasic/__init__.py -> build/lib.macosx-10.9-x86_64-3.9/pybasic
    creating build/lib.macosx-10.9-x86_64-3.9/pybasic/basic
    copying pybasic/basic/__init__.py -> build/lib.macosx-10.9-x86_64-3.9/pybasic/basic
    running build_ext
    -- The CXX compiler identification is AppleClang 12.0.5.12050022
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- Found Python3: /Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 (found suitable exact version "3.9.2") found components: Development Development.Module Development.Embed
    -- Looking for C++ include pthread.h
    -- Looking for C++ include pthread.h - found
    -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
    -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
    -- Found Threads: TRUE
    CMake Error at CMakeLists.txt:11 (find_package):
      By not providing "Findbasic_idl.cmake" in CMAKE_MODULE_PATH this project
      has asked CMake to find a package configuration file provided by
      "basic_idl", but CMake did not find one.
    
      Could not find a package configuration file provided by "basic_idl" with
      any of the following names:
    
        basic_idlConfig.cmake
        basic_idl-config.cmake
    
      Add the installation prefix of "basic_idl" to CMAKE_PREFIX_PATH or set
      "basic_idl_DIR" to a directory containing one of the above files.  If
      "basic_idl" provides a separate development package or SDK, be sure it has
      been installed.
    
    
    -- Configuring incomplete, errors occurred!
    See also "/private/var/folders/zr/2_q9sztd3rgcyn9ztx1r5_7c0000gn/T/pip-req-build-p4zd9_rj/build/temp.macosx-10.9-x86_64-3.9/CMakeFiles/CMakeOutput.log".
    See also "/private/var/folders/zr/2_q9sztd3rgcyn9ztx1r5_7c0000gn/T/pip-req-build-p4zd9_rj/build/temp.macosx-10.9-x86_64-3.9/CMakeFiles/CMakeError.log".
    error: "cmake /private/var/folders/zr/2_q9sztd3rgcyn9ztx1r5_7c0000gn/T/pip-req-build-p4zd9_rj -DCMAKE_BUILD_TYPE=Debug -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_DEBUG=/private/var/folders/zr/2_q9sztd3rgcyn9ztx1r5_7c0000gn/T/pip-req-build-p4zd9_rj/build/lib.macosx-10.9-x86_64-3.9 -DCMAKE_ARCHIVE_OUTPUT_DIRECTORY_DEBUG=build/temp.macosx-10.9-x86_64-3.9 -DPYOPENDDS_PYTHON_VERSION=3.9.2 -DPYOPENDDS_INCLUDE=/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pyopendds/dev/include" returned non-zero result: 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/zr/2_q9sztd3rgcyn9ztx1r5_7c0000gn/T/pip-req-build-p4zd9_rj/setup.py'"'"'; __file__='"'"'/private/var/folders/zr/2_q9sztd3rgcyn9ztx1r5_7c0000gn/T/pip-req-build-p4zd9_rj/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/zr/2_q9sztd3rgcyn9ztx1r5_7c0000gn/T/pip-record-ptbfqalx/install-record.txt --single-version-externally-managed --compile --install-headers /Library/Frameworks/Python.framework/Versions/3.9/include/python3.9/pybasic Check the logs for full command output.```

from pyopendds.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.