[Discourse.ros.org] [Next Generation ROS] ROS2: DebugModuleNotFoundError: No module named 'rclpy._rclpy'

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

[Discourse.ros.org] [Next Generation ROS] ROS2: DebugModuleNotFoundError: No module named 'rclpy._rclpy'

Dirk Thomas via ros-users


I am building ROS2 Debug Source Build on Windows (Using python_d). C++ examples works fine. But when try to run the python example get the following  error:

I'm following the steps mentioned: https://github.com/ros2/ros2/wiki/Windows-Development-Setup

Any suggestion, how to resolve these?

Regards
Mrutunjayya,

Errors:

    Failed to load entry point 'start': No module named 'rclpy._rclpy'
    Failed to load entry point 'status': No module named 'rclpy._rclpy'
    Failed to load entry point 'stop': No module named 'rclpy._rclpy'
    Failed to load entry point 'list': No module named 'rclpy._rclpy'
    Failed to load entry point 'call': No module named 'rclpy._rclpy'
    Failed to load entry point 'list': No module named 'rclpy._rclpy'
    Failed to load entry point 'echo': No module named 'rclpy._rclpy'
    Failed to load entry point 'list': No module named 'rclpy._rclpy'
    Failed to load entry point 'pub': No module named 'rclpy._rclpy'
    Traceback (most recent call last):
      File "D:\Test\ROS_Source_Build\Debug_Python\install\lib\demo_nodes_py\talker-script.py", line 11, in <module>
        load_entry_point('demo-nodes-py==0.0.0', 'console_scripts', 'talker')()
      File "C:\Python36\lib\site-packages\pkg_resources\__init__.py", line 561, in load_entry_point
        return get_distribution(dist).load_entry_point(group, name)
      File "C:\Python36\lib\site-packages\pkg_resources\__init__.py", line 2649, in load_entry_point
        return ep.load()
      File "C:\Python36\lib\site-packages\pkg_resources\__init__.py", line 2303, in load
        return self.resolve()
      File "C:\Python36\lib\site-packages\pkg_resources\__init__.py", line 2309, in resolve
        module = __import__(self.module_name, fromlist=['__name__'], level=0)
      File "D:\Test\ROS_Source_Build\Debug_Python\install\Lib\site-packages\topics\talker.py", line 18, in <module>
        import rclpy
      File "D:\Test\ROS_Source_Build\Debug_Python\install\Lib\site-packages\rclpy\__init__.py", line 18, in <module>
        from rclpy.impl.implementation_singleton import rclpy_implementation as _rclpy
      File "D:\Test\ROS_Source_Build\Debug_Python\install\Lib\site-packages\rclpy\impl\implementation_singleton.py", line 32, in <module>
        rclpy_implementation = importlib.import_module('._rclpy', package='rclpy')
      File "C:\Python36\lib\importlib\__init__.py", line 126, in import_module
        return _bootstrap._gcd_import(name[level:], package, level)
    ModuleNotFoundError: No module named 'rclpy._rclpy'





---
[Visit Topic](https://discourse.ros.org/t/ros2-debugmodulenotfounderror-no-module-named-rclpy--rclpy/2401/1) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
[hidden email]
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>
Reply | Threaded
Open this post in threaded view
|

[Discourse.ros.org] [Next Generation ROS] ROS2: DebugModuleNotFoundError: No module named 'rclpy._rclpy'

Dirk Thomas via ros-users


thanks @mrutyu1987 for reporting.

By the look of it it looks like the python debug libraries have not been found when you built.

Can you confirm that you have a file called `_rclpy_d.pyd` in `D:\Test\ROS_Source_Build\Debug_Python\install\Lib\site-packages\rclpy` ?

I would expect the result to be the same but can you try to run the executable directly:
```
call D:\Test\ROS_Source_Build\Debug_Python\install\setup.bat
D:\Test\ROS_Source_Build\Debug_Python\install\Lib\demo_nodes_py\talker.exe
```

Finally can you provide your build output of rclpy and demo_nodes_py ?
```
rmdir /S D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py D:\Test\ROS_Source_Build\Debug_Python\build\rclpy
python_d D:\Test\ROS_Source_Build\Debug_Python\src\ament\ament_tools\scripts\ament.py build --cmake-args -DCMAKE-BUILD_TYPE=Debug -- --only rclpy demo_nodes_py
```

Thanks!





---
[Visit Topic](https://discourse.ros.org/t/ros2-debugmodulenotfounderror-no-module-named-rclpy--rclpy/2401/2) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
[hidden email]
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>
Reply | Threaded
Open this post in threaded view
|

[Discourse.ros.org] [Next Generation ROS] ROS2: DebugModuleNotFoundError: No module named 'rclpy._rclpy'

Dirk Thomas via ros-users
In reply to this post by Dirk Thomas via ros-users


Thanks @marguedas.

I do not see _rclply_d.pyd file in the site-packages\rclpy folder.

Re-Built as mentioned in your response still not "_rclply_d.pyd". Here is the build log as you mentioned:

    D:\Test\ROS_Source_Build\Debug_Python>python_d D:\Test\ROS_Source_Build\Debug_Python\src\ament\ament_tools\scripts\ament.py build --cmake-args -DCMAKE-BUILD_TYPE=Debug -- --only rclpy demo_nodes_py
    # Topological order

    Process package 'rclpy' with context:
    --------------------------------------------------------------------------------
     source_space => D:\Test\ROS_Source_Build\Debug_Python\src\ros2\rclpy\rclpy
      build_space => D:\Test\ROS_Source_Build\Debug_Python\build\rclpy
    install_space => D:\Test\ROS_Source_Build\Debug_Python\install
       make_flags => -j8, -l8
      build_tests => False
    --------------------------------------------------------------------------------
    +++ Building 'rclpy'
    ==> 'D:\Test\ROS_Source_Build\Debug_Python\build\rclpy\cmake__build.bat C:\Program Files\CMake\bin\cmake.EXE D:\Test\ROS_Source_Build\Debug_Python\src\ros2\rclpy\rclpy -DBUILD_TESTING=0 -DCMAKE-BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=D:\Test\ROS_Source_Build\Debug_Python\install -G Visual Studio 14 2015 Win64' in 'D:\Test\ROS_Source_Build\Debug_Python\build\rclpy'
    -- The C compiler identification is MSVC 19.0.24215.1
    -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe
    -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Found ament_cmake: 0.0.2 (D:/Test/ROS_Source_Build/Debug_Python/install/share/ament_cmake/cmake)
    -- Found PythonInterp: C:/Python36/python.exe (found suitable version "3.6.1", minimum required is "3")
    -- Using PYTHON_EXECUTABLE: C:/Python36/python.exe
    -- Found rcl: 0.0.2 (D:/Test/ROS_Source_Build/Debug_Python/install/share/rcl/cmake)
    -- Found rmw_implementation_cmake: 0.0.2 (D:/Test/ROS_Source_Build/Debug_Python/install/share/rmw_implementation_cmake/cmake)
    -- Using RMW implementation 'rmw_fastrtps_cpp' as default
    -- Found rmw_fastrtps_cpp: 0.0.2 (D:/Test/ROS_Source_Build/Debug_Python/install/share/rmw_fastrtps_cpp/cmake)
    -- Found fastrtps_cmake_module: 0.0.2 (D:/Test/ROS_Source_Build/Debug_Python/install/share/fastrtps_cmake_module/cmake)
    -- Found FastRTPS: D:/Test/ROS_Source_Build/Debug_Python/install/include
    -- Found python_cmake_module: 0.0.2 (D:/Test/ROS_Source_Build/Debug_Python/install/share/python_cmake_module/cmake)
    -- Found PythonInterp: C:/Python36/python.exe (found suitable version "3.6.1", minimum required is "3.5")
    -- Found PythonLibs: optimized;C:/Python36/libs/python36.lib;debug;C:/Python36/libs/python36_d.lib (found suitable version "3.6.1", minimum required is "3.5")
    -- Using PYTHON_EXECUTABLE: C:/Python36/python.exe
    -- Using PYTHON_INCLUDE_DIRS: C:/Python36/include
    -- Using PYTHON_LIBRARIES: optimized;C:/Python36/libs/python36.lib;debug;C:/Python36/libs/python36_d.lib
    -- Found PythonExtra: .pyd
    -- Configuring done
    -- Generating done
    CMake Warning:
      Manually-specified variables were not used by the project:

        CMAKE-BUILD_TYPE


    -- Build files have been written to: D:/Test/ROS_Source_Build/Debug_Python/build/rclpy
    ==> 'D:\Test\ROS_Source_Build\Debug_Python\build\rclpy\cmake__build.bat C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.EXE /m:8 /p:Configuration=Release D:\Test\ROS_Source_Build\Debug_Python\build\rclpy\rclpy.sln' in 'D:\Test\ROS_Source_Build\Debug_Python\build\rclpy'
    Microsoft (R) Build Engine version 14.0.25420.1
    Copyright (C) Microsoft Corporation. All rights reserved.

    Build started 8/14/2017 11:14:22 AM.
         1>Project "D:\Test\ROS_Source_Build\Debug_Python\build\rclpy\rclpy.sln" on node 1 (default targets).
         1>ValidateSolutionConfiguration:
             Building solution configuration "Release|x64".
           ValidateProjects:
             The project "INSTALL" is not selected for building in solution configuration "Release|x64".
             The project "uninstall" is not selected for building in solution configuration "Release|x64".
         1>Project "D:\Test\ROS_Source_Build\Debug_Python\build\rclpy\rclpy.sln" (1) is building "D:\Test\ROS_Sourc
           e_Build\Debug_Python\build\rclpy\ALL_BUILD.vcxproj.metaproj" (2) on node 1 (default targets).
         2>Project "D:\Test\ROS_Source_Build\Debug_Python\build\rclpy\ALL_BUILD.vcxproj.metaproj" (2) is building "D:\K
           idSpace\ROS_Source_Build\Debug_Python\build\rclpy\ZERO_CHECK.vcxproj" (4) on node 2 (default targets).
         4>PrepareForBuild:
             Creating directory "x64\Release\ZERO_CHECK\".
             Creating directory "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\".
           InitializeBuildStatus:
             Creating "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
           CustomBuild:
             Checking Build System
             CMake does not need to re-run because D:/Test/ROS_Source_Build/Debug_Python/build/rclpy/CMakeFiles/generat
             e.stamp is up-to-date.
           FinalizeBuildStatus:
             Deleting file "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild".
             Touching "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\ZERO_CHECK.lastbuildstate".
         4>Done Building Project "D:\Test\ROS_Source_Build\Debug_Python\build\rclpy\ZERO_CHECK.vcxproj" (default target
           s).
         1>Project "D:\Test\ROS_Source_Build\Debug_Python\build\rclpy\rclpy.sln" (1) is building "D:\Test\ROS_Sourc
           e_Build\Debug_Python\build\rclpy\rclpy.vcxproj.metaproj" (3) on node 1 (default targets).
         3>Project "D:\Test\ROS_Source_Build\Debug_Python\build\rclpy\rclpy.vcxproj.metaproj" (3) is building "D:\KidSp
           ace\ROS_Source_Build\Debug_Python\build\rclpy\rclpy.vcxproj" (5) on node 1 (default targets).
         5>PrepareForBuild:
             Creating directory "rclpy.dir\Release\".
             Creating directory "rclpy.dir\Release\rclpy.tlog\".
           InitializeBuildStatus:
             Creating "rclpy.dir\Release\rclpy.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
           CustomBuild:
             Building Custom Rule D:/Test/ROS_Source_Build/Debug_Python/src/ros2/rclpy/rclpy/CMakeLists.txt
             CMake does not need to re-run because D:/Test/ROS_Source_Build/Debug_Python/build/rclpy/CMakeFiles/generat
             e.stamp is up-to-date.
           ClCompile:
             C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\CL.exe /c /ID:\Test\ROS_Source_Build\
             Debug_Python\install\include /IC:\Python36\include /nologo /W3 /WX- /O2 /Ob2 /D WIN32 /D _WINDOWS /D NDEBUG /D
              "CMAKE_INTDIR=\"Release\"" /D rclpy_EXPORTS /D _WINDLL /D _MBCS /Gm- /MD /GS /fp:precise /Zc:wchar_t /Zc:forS
             cope /Zc:inline /Fo"rclpy.dir\Release\\" /Fd"rclpy.dir\Release\vc140.pdb" /Gd /TC /errorReport:queue D:\KidSpa
             ce\ROS_Source_Build\Debug_Python\src\ros2\rclpy\rclpy\src\rclpy\_rclpy.c
             _rclpy.c
           MakeDirsForLink:
             Creating directory "D:\Test\ROS_Source_Build\Debug_Python\build\rclpy\Release\".
           Link:
             C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\link.exe /ERRORREPORT:QUEUE /OUT:"D:\KidS
             pace\ROS_Source_Build\Debug_Python\build\rclpy\rclpy\_rclpy.pyd" /INCREMENTAL:NO /NOLOGO kernel32.lib user32.l
             ib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib C:\Python36\li
             bs\python36.lib D:\Test\ROS_Source_Build\Debug_Python\install\Lib\rcl_interfaces__rosidl_typesupport_c.lib
              D:\Test\ROS_Source_Build\Debug_Python\install\Lib\rcl_interfaces__rosidl_typesupport_cpp.lib D:\Test\
             ROS_Source_Build\Debug_Python\install\Lib\rcl_interfaces__rosidl_typesupport_introspection_c.lib D:\Test\R
             OS_Source_Build\Debug_Python\install\Lib\rcl_interfaces__rosidl_generator_c.lib D:\Test\ROS_Source_Build\D
             ebug_Python\install\Lib\rcl_interfaces__rosidl_typesupport_introspection_cpp.lib "D:\Test\ROS_Source_Build
             \Debug_Python\install\Lib\fastrtps-1.5.lib" "D:\Test\ROS_Source_Build\Debug_Python\install\Lib\fastcdr-1.0
             .lib" D:\Test\ROS_Source_Build\Debug_Python\install\Lib\rmw.lib D:\Test\ROS_Source_Build\Debug_Python\
             install\Lib\rosidl_typesupport_introspection_c.lib D:\Test\ROS_Source_Build\Debug_Python\install\Lib\rosid
             l_typesupport_introspection_cpp.lib D:\Test\ROS_Source_Build\Debug_Python\install\Lib\rmw_fastrtps_cpp.lib
              D:\Test\ROS_Source_Build\Debug_Python\install\Lib\rosidl_generator_c.lib D:\Test\ROS_Source_Build\Deb
             ug_Python\install\Lib\rcl.lib D:\Test\ROS_Source_Build\Debug_Python\install\Lib\rcutils.lib /MANIFEST /MAN
             IFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:"D:/Test/ROS_Source_Build/Debug_Python/
             build/rclpy/rclpy/_rclpy.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"D:/Test/ROS_Sour
             ce_Build/Debug_Python/build/rclpy/Release/_rclpy.lib" /MACHINE:X64   /machine:x64 /DLL rclpy.dir\Release\_rclp
             y.obj
                Creating library D:/Test/ROS_Source_Build/Debug_Python/build/rclpy/Release/_rclpy.lib and object D:/Kid
             Space/ROS_Source_Build/Debug_Python/build/rclpy/Release/_rclpy.exp
             rclpy.vcxproj -> D:\Test\ROS_Source_Build\Debug_Python\build\rclpy\rclpy\_rclpy.pyd
           FinalizeBuildStatus:
             Deleting file "rclpy.dir\Release\rclpy.tlog\unsuccessfulbuild".
             Touching "rclpy.dir\Release\rclpy.tlog\rclpy.lastbuildstate".
         5>Done Building Project "D:\Test\ROS_Source_Build\Debug_Python\build\rclpy\rclpy.vcxproj" (default targets).
         3>Done Building Project "D:\Test\ROS_Source_Build\Debug_Python\build\rclpy\rclpy.vcxproj.metaproj" (default ta
           rgets).
         2>Project "D:\Test\ROS_Source_Build\Debug_Python\build\rclpy\ALL_BUILD.vcxproj.metaproj" (2) is building "D:\K
           idSpace\ROS_Source_Build\Debug_Python\build\rclpy\ALL_BUILD.vcxproj" (6) on node 1 (default targets).
         6>PrepareForBuild:
             Creating directory "x64\Release\ALL_BUILD\".
             Creating directory "x64\Release\ALL_BUILD\ALL_BUILD.tlog\".
           InitializeBuildStatus:
             Creating "x64\Release\ALL_BUILD\ALL_BUILD.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
           CustomBuild:
             Building Custom Rule D:/Test/ROS_Source_Build/Debug_Python/src/ros2/rclpy/rclpy/CMakeLists.txt
             CMake does not need to re-run because D:/Test/ROS_Source_Build/Debug_Python/build/rclpy/CMakeFiles/generat
             e.stamp is up-to-date.
           FinalizeBuildStatus:
             Deleting file "x64\Release\ALL_BUILD\ALL_BUILD.tlog\unsuccessfulbuild".
             Touching "x64\Release\ALL_BUILD\ALL_BUILD.tlog\ALL_BUILD.lastbuildstate".
         6>Done Building Project "D:\Test\ROS_Source_Build\Debug_Python\build\rclpy\ALL_BUILD.vcxproj" (default targets
           ).
         2>Done Building Project "D:\Test\ROS_Source_Build\Debug_Python\build\rclpy\ALL_BUILD.vcxproj.metaproj" (defaul
           t targets).
         1>Done Building Project "D:\Test\ROS_Source_Build\Debug_Python\build\rclpy\rclpy.sln" (default targets).

    Build succeeded.
        0 Warning(s)
        0 Error(s)

    Time Elapsed 00:00:01.78
    +++ Installing 'rclpy'
    ==> 'D:\Test\ROS_Source_Build\Debug_Python\build\rclpy\cmake__install.bat C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.EXE /p:Configuration=Release D:\Test\ROS_Source_Build\Debug_Python\build\rclpy\INSTALL.vcxproj' in 'D:\Test\ROS_Source_Build\Debug_Python\build\rclpy'
    Microsoft (R) Build Engine version 14.0.25420.1
    Copyright (C) Microsoft Corporation. All rights reserved.

    Build started 8/14/2017 11:14:26 AM.
    Project "D:\Test\ROS_Source_Build\Debug_Python\build\rclpy\INSTALL.vcxproj" on node 1 (default targets).
    Project "D:\Test\ROS_Source_Build\Debug_Python\build\rclpy\INSTALL.vcxproj" (1) is building "D:\Test\ROS_Source
    _Build\Debug_Python\build\rclpy\ZERO_CHECK.vcxproj" (2) on node 1 (default targets).
    InitializeBuildStatus:
      Creating "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
    CustomBuild:
      All outputs are up-to-date.
    FinalizeBuildStatus:
      Deleting file "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild".
      Touching "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\ZERO_CHECK.lastbuildstate".
    Done Building Project "D:\Test\ROS_Source_Build\Debug_Python\build\rclpy\ZERO_CHECK.vcxproj" (default targets).

    Project "D:\Test\ROS_Source_Build\Debug_Python\build\rclpy\INSTALL.vcxproj" (1) is building "D:\Test\ROS_Source
    _Build\Debug_Python\build\rclpy\ALL_BUILD.vcxproj" (3) on node 1 (default targets).
    Project "D:\Test\ROS_Source_Build\Debug_Python\build\rclpy\ALL_BUILD.vcxproj" (3) is building "D:\Test\ROS_Sour
    ce_Build\Debug_Python\build\rclpy\rclpy.vcxproj" (4) on node 1 (default targets).
    InitializeBuildStatus:
      Creating "rclpy.dir\Release\rclpy.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
    CustomBuild:
      All outputs are up-to-date.
    ClCompile:
      All outputs are up-to-date.
    Link:
      All outputs are up-to-date.
      rclpy.vcxproj -> D:\Test\ROS_Source_Build\Debug_Python\build\rclpy\rclpy\_rclpy.pyd
    FinalizeBuildStatus:
      Deleting file "rclpy.dir\Release\rclpy.tlog\unsuccessfulbuild".
      Touching "rclpy.dir\Release\rclpy.tlog\rclpy.lastbuildstate".
    Done Building Project "D:\Test\ROS_Source_Build\Debug_Python\build\rclpy\rclpy.vcxproj" (default targets).

    InitializeBuildStatus:
      Creating "x64\Release\ALL_BUILD\ALL_BUILD.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
    CustomBuild:
      All outputs are up-to-date.
    FinalizeBuildStatus:
      Deleting file "x64\Release\ALL_BUILD\ALL_BUILD.tlog\unsuccessfulbuild".
      Touching "x64\Release\ALL_BUILD\ALL_BUILD.tlog\ALL_BUILD.lastbuildstate".
    Done Building Project "D:\Test\ROS_Source_Build\Debug_Python\build\rclpy\ALL_BUILD.vcxproj" (default targets).

    PrepareForBuild:
      Creating directory "x64\Release\INSTALL\".
      Creating directory "x64\Release\INSTALL\INSTALL.tlog\".
    InitializeBuildStatus:
      Creating "x64\Release\INSTALL\INSTALL.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
    PostBuildEvent:
      setlocal
      "C:\Program Files\CMake\bin\cmake.exe" -DBUILD_TYPE=Release -P cmake_install.cmake
      if %errorlevel% neq 0 goto :cmEnd
      :cmEnd
      endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
      :cmErrorLevel
      exit /b %1
      :cmDone
      if %errorlevel% neq 0 goto :VCEnd
      :VCEnd
      -- Install configuration: "Release"
      -- Installing: D:/Test/ROS_Source_Build/Debug_Python/install/share/rclpy/environment/pythonpath.bat
      -- Up-to-date: D:/Test/ROS_Source_Build/Debug_Python/install/Lib/site-packages/rclpy
      -- Up-to-date: D:/Test/ROS_Source_Build/Debug_Python/install/Lib/site-packages/rclpy/client.py
      -- Up-to-date: D:/Test/ROS_Source_Build/Debug_Python/install/Lib/site-packages/rclpy/constants.py
      -- Up-to-date: D:/Test/ROS_Source_Build/Debug_Python/install/Lib/site-packages/rclpy/exceptions.py
      -- Up-to-date: D:/Test/ROS_Source_Build/Debug_Python/install/Lib/site-packages/rclpy/expand_topic_name.py
      -- Up-to-date: D:/Test/ROS_Source_Build/Debug_Python/install/Lib/site-packages/rclpy/impl
      -- Up-to-date: D:/Test/ROS_Source_Build/Debug_Python/install/Lib/site-packages/rclpy/impl/implementation_singleto
      n.py
      -- Up-to-date: D:/Test/ROS_Source_Build/Debug_Python/install/Lib/site-packages/rclpy/impl/__init__.py
      -- Up-to-date: D:/Test/ROS_Source_Build/Debug_Python/install/Lib/site-packages/rclpy/node.py
      -- Up-to-date: D:/Test/ROS_Source_Build/Debug_Python/install/Lib/site-packages/rclpy/publisher.py
      -- Up-to-date: D:/Test/ROS_Source_Build/Debug_Python/install/Lib/site-packages/rclpy/qos.py
      -- Up-to-date: D:/Test/ROS_Source_Build/Debug_Python/install/Lib/site-packages/rclpy/service.py
      -- Up-to-date: D:/Test/ROS_Source_Build/Debug_Python/install/Lib/site-packages/rclpy/subscription.py
      -- Up-to-date: D:/Test/ROS_Source_Build/Debug_Python/install/Lib/site-packages/rclpy/timer.py
      -- Up-to-date: D:/Test/ROS_Source_Build/Debug_Python/install/Lib/site-packages/rclpy/topic_or_service_is_hidden.p
      y
      -- Up-to-date: D:/Test/ROS_Source_Build/Debug_Python/install/Lib/site-packages/rclpy/utilities.py
      -- Up-to-date: D:/Test/ROS_Source_Build/Debug_Python/install/Lib/site-packages/rclpy/validate_full_topic_name.py
      -- Up-to-date: D:/Test/ROS_Source_Build/Debug_Python/install/Lib/site-packages/rclpy/validate_namespace.py
      -- Up-to-date: D:/Test/ROS_Source_Build/Debug_Python/install/Lib/site-packages/rclpy/validate_node_name.py
      -- Up-to-date: D:/Test/ROS_Source_Build/Debug_Python/install/Lib/site-packages/rclpy/validate_topic_name.py
      -- Up-to-date: D:/Test/ROS_Source_Build/Debug_Python/install/Lib/site-packages/rclpy/__init__.py
      -- Installing: D:/Test/ROS_Source_Build/Debug_Python/install/Lib/site-packages/rclpy/_rclpy.lib
      -- Installing: D:/Test/ROS_Source_Build/Debug_Python/install/Lib/site-packages/rclpy/_rclpy.pyd
      -- Installing: D:/Test/ROS_Source_Build/Debug_Python/install/share/ament_index/resource_index/package_run_depende
      ncies/rclpy
      -- Installing: D:/Test/ROS_Source_Build/Debug_Python/install/share/ament_index/resource_index/parent_prefix_path/
      rclpy
      -- Up-to-date: D:/Test/ROS_Source_Build/Debug_Python/install/share/rclpy/environment/ament_prefix_path.bat
      -- Up-to-date: D:/Test/ROS_Source_Build/Debug_Python/install/share/rclpy/environment/path.bat
      -- Installing: D:/Test/ROS_Source_Build/Debug_Python/install/share/rclpy/local_setup.bat
      -- Installing: D:/Test/ROS_Source_Build/Debug_Python/install/share/ament_index/resource_index/packages/rclpy
      -- Installing: D:/Test/ROS_Source_Build/Debug_Python/install/share/rclpy/cmake/rclpyConfig.cmake
      -- Installing: D:/Test/ROS_Source_Build/Debug_Python/install/share/rclpy/cmake/rclpyConfig-version.cmake
      -- Up-to-date: D:/Test/ROS_Source_Build/Debug_Python/install/share/rclpy/package.xml
    FinalizeBuildStatus:
      Deleting file "x64\Release\INSTALL\INSTALL.tlog\unsuccessfulbuild".
      Touching "x64\Release\INSTALL\INSTALL.tlog\INSTALL.lastbuildstate".
    Done Building Project "D:\Test\ROS_Source_Build\Debug_Python\build\rclpy\INSTALL.vcxproj" (default targets).


    Build succeeded.
        0 Warning(s)
        0 Error(s)

    Time Elapsed 00:00:00.81
    -- [ament] Deploying: D:\Test\ROS_Source_Build\Debug_Python\install\local_setup.bat
    -- [ament] Deploying: D:\Test\ROS_Source_Build\Debug_Python\install\setup.bat
    -- [ament] Deploying: D:\Test\ROS_Source_Build\Debug_Python\install\_order_packages.py

    Process package 'demo_nodes_py' with context:
    --------------------------------------------------------------------------------
     source_space => D:\Test\ROS_Source_Build\Debug_Python\src\ros2\demos\demo_nodes_py
      build_space => D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py
    install_space => D:\Test\ROS_Source_Build\Debug_Python\install
       make_flags => -j8, -l8
      build_tests => False
    --------------------------------------------------------------------------------
    +++ Building 'demo_nodes_py'
    +++ Installing 'demo_nodes_py'
    -- [ament] Deploying: D:\Test\ROS_Source_Build\Debug_Python\install\share\demo_nodes_py\package.xml
    -- [ament] Deploying: D:\Test\ROS_Source_Build\Debug_Python\install\share\demo_nodes_py\environment\ament_prefix_path.bat
    -- [ament] Deploying: D:\Test\ROS_Source_Build\Debug_Python\install\share\demo_nodes_py\environment\path.bat
    -- [ament] Deploying: D:\Test\ROS_Source_Build\Debug_Python\install\share\demo_nodes_py\environment\pythonpath.bat
    -- [ament] Deploying: D:\Test\ROS_Source_Build\Debug_Python\install\share\demo_nodes_py\local_setup.bat
    ==> 'D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\ament_python__install.bat C:\Python36\python_d.exe setup.py egg_info --egg-base D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py build --build-base D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build install --prefix D:\Test\ROS_Source_Build\Debug_Python\install --install-scripts D:\Test\ROS_Source_Build\Debug_Python\install\bin --record D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\install.log --single-version-externally-managed bdist_egg --dist-dir D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\dist' in 'D:\Test\ROS_Source_Build\Debug_Python\src\ros2\demos\demo_nodes_py'
    running egg_info
    creating D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\demo_nodes_py.egg-info
    writing D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\demo_nodes_py.egg-info\PKG-INFO
    writing dependency_links to D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\demo_nodes_py.egg-info\dependency_links.txt
    writing entry points to D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\demo_nodes_py.egg-info\entry_points.txt
    writing requirements to D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\demo_nodes_py.egg-info\requires.txt
    writing top-level names to D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\demo_nodes_py.egg-info\top_level.txt
    writing manifest file 'D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\demo_nodes_py.egg-info\SOURCES.txt'
    package init file 'topics\__init__.py' not found (or not a regular file)
    package init file 'services\__init__.py' not found (or not a regular file)
    reading manifest file 'D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\demo_nodes_py.egg-info\SOURCES.txt'
    writing manifest file 'D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\demo_nodes_py.egg-info\SOURCES.txt'
    running build
    running build_py
    creating D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build
    creating D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\lib
    creating D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\lib\topics
    copying topics\listener.py -> D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\lib\topics
    copying topics\talker.py -> D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\lib\topics
    copying topics\listener_qos.py -> D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\lib\topics
    copying topics\talker_qos.py -> D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\lib\topics
    creating D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\lib\services
    copying services\add_two_ints_client.py -> D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\lib\services
    copying services\add_two_ints_client_async.py -> D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\lib\services
    copying services\add_two_ints_server.py -> D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\lib\services
    running install
    running install_lib
    running install_data
    running install_egg_info
    removing 'D:\Test\ROS_Source_Build\Debug_Python\install\Lib\site-packages\demo_nodes_py-0.0.0-py3.6.egg-info' (and everything under it)
    Copying D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\demo_nodes_py.egg-info to D:\Test\ROS_Source_Build\Debug_Python\install\Lib\site-packages\demo_nodes_py-0.0.0-py3.6.egg-info
    running install_scripts
    Installing add_two_ints_client-script.py script to D:\Test\ROS_Source_Build\Debug_Python\install\lib\demo_nodes_py
    Installing add_two_ints_client.exe script to D:\Test\ROS_Source_Build\Debug_Python\install\lib\demo_nodes_py
    Installing add_two_ints_client_async-script.py script to D:\Test\ROS_Source_Build\Debug_Python\install\lib\demo_nodes_py
    Installing add_two_ints_client_async.exe script to D:\Test\ROS_Source_Build\Debug_Python\install\lib\demo_nodes_py
    Installing add_two_ints_server-script.py script to D:\Test\ROS_Source_Build\Debug_Python\install\lib\demo_nodes_py
    Installing add_two_ints_server.exe script to D:\Test\ROS_Source_Build\Debug_Python\install\lib\demo_nodes_py
    Installing listener-script.py script to D:\Test\ROS_Source_Build\Debug_Python\install\lib\demo_nodes_py
    Installing listener.exe script to D:\Test\ROS_Source_Build\Debug_Python\install\lib\demo_nodes_py
    Installing listener_qos-script.py script to D:\Test\ROS_Source_Build\Debug_Python\install\lib\demo_nodes_py
    Installing listener_qos.exe script to D:\Test\ROS_Source_Build\Debug_Python\install\lib\demo_nodes_py
    Installing talker-script.py script to D:\Test\ROS_Source_Build\Debug_Python\install\lib\demo_nodes_py
    Installing talker.exe script to D:\Test\ROS_Source_Build\Debug_Python\install\lib\demo_nodes_py
    Installing talker_qos-script.py script to D:\Test\ROS_Source_Build\Debug_Python\install\lib\demo_nodes_py
    Installing talker_qos.exe script to D:\Test\ROS_Source_Build\Debug_Python\install\lib\demo_nodes_py
    writing list of installed files to 'D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\install.log'
    running bdist_egg
    installing library code to D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\bdist.win-amd64\egg
    running install_lib
    creating D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\bdist.win-amd64
    creating D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\bdist.win-amd64\egg
    creating D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\bdist.win-amd64\egg\services
    copying D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\lib\services\add_two_ints_client.py -> D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\bdist.win-amd64\egg\services
    copying D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\lib\services\add_two_ints_client_async.py -> D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\bdist.win-amd64\egg\services
    copying D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\lib\services\add_two_ints_server.py -> D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\bdist.win-amd64\egg\services
    creating D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\bdist.win-amd64\egg\topics
    copying D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\lib\topics\listener.py -> D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\bdist.win-amd64\egg\topics
    copying D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\lib\topics\listener_qos.py -> D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\bdist.win-amd64\egg\topics
    copying D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\lib\topics\talker.py -> D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\bdist.win-amd64\egg\topics
    copying D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\lib\topics\talker_qos.py -> D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\bdist.win-amd64\egg\topics
    byte-compiling D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\bdist.win-amd64\egg\services\add_two_ints_client.py to add_two_ints_client.cpython-36.pyc
    byte-compiling D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\bdist.win-amd64\egg\services\add_two_ints_client_async.py to add_two_ints_client_async.cpython-36.pyc
    byte-compiling D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\bdist.win-amd64\egg\services\add_two_ints_server.py to add_two_ints_server.cpython-36.pyc
    byte-compiling D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\bdist.win-amd64\egg\topics\listener.py to listener.cpython-36.pyc
    byte-compiling D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\bdist.win-amd64\egg\topics\listener_qos.py to listener_qos.cpython-36.pyc
    byte-compiling D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\bdist.win-amd64\egg\topics\talker.py to talker.cpython-36.pyc
    byte-compiling D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\bdist.win-amd64\egg\topics\talker_qos.py to talker_qos.cpython-36.pyc
    installing package data to D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\bdist.win-amd64\egg
    running install_data
    creating D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\bdist.win-amd64\egg\share
    creating D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\bdist.win-amd64\egg\share\demo_nodes_py
    copying package.xml -> D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\bdist.win-amd64\egg\share\demo_nodes_py
    creating D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\bdist.win-amd64\egg\share\ament_index
    creating D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\bdist.win-amd64\egg\share\ament_index\resource_index
    creating D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\bdist.win-amd64\egg\share\ament_index\resource_index\packages
    copying resource\demo_nodes_py -> D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\bdist.win-amd64\egg\share\ament_index\resource_index\packages
    creating D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\bdist.win-amd64\egg\EGG-INFO
    copying D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\demo_nodes_py.egg-info\PKG-INFO -> D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\bdist.win-amd64\egg\EGG-INFO
    copying D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\demo_nodes_py.egg-info\SOURCES.txt -> D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\bdist.win-amd64\egg\EGG-INFO
    copying D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\demo_nodes_py.egg-info\dependency_links.txt -> D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\bdist.win-amd64\egg\EGG-INFO
    copying D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\demo_nodes_py.egg-info\entry_points.txt -> D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\bdist.win-amd64\egg\EGG-INFO
    copying D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\demo_nodes_py.egg-info\requires.txt -> D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\bdist.win-amd64\egg\EGG-INFO
    copying D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\demo_nodes_py.egg-info\top_level.txt -> D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\bdist.win-amd64\egg\EGG-INFO
    zip_safe flag not set; analyzing archive contents...
    creating D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\dist
    creating 'D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\dist\demo_nodes_py-0.0.0-py3.6.egg' and adding 'D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\bdist.win-amd64\egg' to it
    removing 'D:\Test\ROS_Source_Build\Debug_Python\build\demo_nodes_py\build\bdist.win-amd64\egg' (and everything under it)
    -- [ament] Deploying: D:\Test\ROS_Source_Build\Debug_Python\install\local_setup.bat
    -- [ament] Deploying: D:\Test\ROS_Source_Build\Debug_Python\install\setup.bat
    -- [ament] Deploying: D:\Test\ROS_Source_Build\Debug_Python\install\_order_packages.py





---
[Visit Topic](https://discourse.ros.org/t/ros2-debugmodulenotfounderror-no-module-named-rclpy--rclpy/2401/3) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
[hidden email]
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>
Reply | Threaded
Open this post in threaded view
|

[Discourse.ros.org] [Next Generation ROS] ROS2: DebugModuleNotFoundError: No module named 'rclpy._rclpy'

Dirk Thomas via ros-users
In reply to this post by Dirk Thomas via ros-users


[quote="mrutyu1987, post:3, topic:2401"]
-DCMAKE-BUILD_TYPE=Debug
[/quote]

@mrutyu1987 sorry looks like ther was a typo in my message. can you try the same thing with
```-DCMAKE_BUILD_TYPE=Debug```  ?
You should see
```
Found PythonExtra: _d.pyd
```





---
[Visit Topic](https://discourse.ros.org/t/ros2-debugmodulenotfounderror-no-module-named-rclpy--rclpy/2401/4) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
[hidden email]
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>
Reply | Threaded
Open this post in threaded view
|

[Discourse.ros.org] [Next Generation ROS] ROS2: DebugModuleNotFoundError: No module named 'rclpy._rclpy'

Dirk Thomas via ros-users
In reply to this post by Dirk Thomas via ros-users


@marguedas

In the build command i'm using

--cmake-args -DCMAKE-BUILD_TYPE=Debug

isn't it correct?

Regards,
MJay





---
[Visit Topic](https://discourse.ros.org/t/ros2-debugmodulenotfounderror-no-module-named-rclpy--rclpy/2401/5) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
[hidden email]
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>
Reply | Threaded
Open this post in threaded view
|

[Discourse.ros.org] [Next Generation ROS] ROS2: DebugModuleNotFoundError: No module named 'rclpy._rclpy'

Dirk Thomas via ros-users
In reply to this post by Dirk Thomas via ros-users


the name of the cmake variable is `CMAKE_BUILD_TYPE` (with only underscores) (https://cmake.org/cmake/help/v3.5/variable/CMAKE_BUILD_TYPE.html). Right now it is trying to build in "None" that's why the libraries dont have the right suffix





---
[Visit Topic](https://discourse.ros.org/t/ros2-debugmodulenotfounderror-no-module-named-rclpy--rclpy/2401/6) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
[hidden email]
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>
Reply | Threaded
Open this post in threaded view
|

[Discourse.ros.org] [Next Generation ROS] ROS2: DebugModuleNotFoundError: No module named 'rclpy._rclpy'

Dirk Thomas via ros-users
In reply to this post by Dirk Thomas via ros-users


@marguedas

thanks now i can see the file. But I get the following runtime ![python_debugError|642x361](/uploads/ros/original/1X/10a4186d1f24f11a8ed27f4fe557e37cb2ffa60c.jpg) error attached
screenshot. Should this go on different thread?

Regards,
Mjay





---
[Visit Topic](https://discourse.ros.org/t/ros2-debugmodulenotfounderror-no-module-named-rclpy--rclpy/2401/7) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
[hidden email]
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>
Reply | Threaded
Open this post in threaded view
|

[Discourse.ros.org] [Next Generation ROS] ROS2: DebugModuleNotFoundError: No module named 'rclpy._rclpy'

Dirk Thomas via ros-users
In reply to this post by Dirk Thomas via ros-users


hmm that looks a lot like an issue I faced recently https://github.com/ros2/rclpy/pull/101/files
Can you try to apply the same change and see if you still have the same error ?





---
[Visit Topic](https://discourse.ros.org/t/ros2-debugmodulenotfounderror-no-module-named-rclpy--rclpy/2401/8) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
[hidden email]
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>
Reply | Threaded
Open this post in threaded view
|

[Discourse.ros.org] [Next Generation ROS] ROS2: DebugModuleNotFoundError: No module named 'rclpy._rclpy'

Dirk Thomas via ros-users
In reply to this post by Dirk Thomas via ros-users


Yes..still the same error.

Regards,
MJay





---
[Visit Topic](https://discourse.ros.org/t/ros2-debugmodulenotfounderror-no-module-named-rclpy--rclpy/2401/9) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
[hidden email]
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>
Reply | Threaded
Open this post in threaded view
|

[Discourse.ros.org] [Next Generation ROS] ROS2: DebugModuleNotFoundError: No module named 'rclpy._rclpy'

Dirk Thomas via ros-users
In reply to this post by Dirk Thomas via ros-users


Yeah let's move it to a different thread then.
Can you open an issue on [rclpy](https://github.com/ros2/rclpy) with:
-  your configuration:
   - Windows version
   - Visual Studio version
   - Python version
   - which rmw_implementation you use

-  the exact list of commands you ran
- a stacktrace (or the callstack from Visual Studio debugger)
- if it works in Release mode but not in Debug mode
- if it works when you build master instead of beta2
- Any other information you think will be useful for us to reproduce your issue.

Thanks!





---
[Visit Topic](https://discourse.ros.org/t/ros2-debugmodulenotfounderror-no-module-named-rclpy--rclpy/2401/10) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
[hidden email]
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>
Reply | Threaded
Open this post in threaded view
|

[Discourse.ros.org] [Next Generation ROS] ROS2: DebugModuleNotFoundError: No module named 'rclpy._rclpy'

Dirk Thomas via ros-users
In reply to this post by Dirk Thomas via ros-users


@marguedas Thanks for your assistance. I will create a new thread for the issue under rclpy
.





---
[Visit Topic](https://discourse.ros.org/t/ros2-debugmodulenotfounderror-no-module-named-rclpy--rclpy/2401/11) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
[hidden email]
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>