python3 -m pip install pygraphviz pydot
Collecting pygraphviz
Using cached https://files.pythonhosted.org/packages/7e/b1/d6d849ddaf6f11036f9980d433f383d4c13d1ebcfc3cd09bc845bda7e433/pygraphviz-1.5.zip
Building wheels for collected packages: pygraphviz
Building wheel for pygraphviz (setup.py) ... error
Complete output from command /usr/local/opt/python/bin/python3.7 -u -c "import setuptools, tokenize;__file__='/private/var/folders/tl/vh0p3k113bx20dnv50s4pv3h0000gn/T/pip-install-i_qa55z_/pygraphviz/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /private/var/folders/tl/vh0p3k113bx20dnv50s4pv3h0000gn/T/pip-wheel-5wd2cnve --python-tag cp37:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.13-x86_64-3.7
creating build/lib.macosx-10.13-x86_64-3.7/pygraphviz
copying pygraphviz/release.py -> build/lib.macosx-10.13-x86_64-3.7/pygraphviz
copying pygraphviz/version.py -> build/lib.macosx-10.13-x86_64-3.7/pygraphviz
copying pygraphviz/graphviz.py -> build/lib.macosx-10.13-x86_64-3.7/pygraphviz
copying pygraphviz/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/pygraphviz
copying pygraphviz/agraph.py -> build/lib.macosx-10.13-x86_64-3.7/pygraphviz
creating build/lib.macosx-10.13-x86_64-3.7/pygraphviz/tests
copying pygraphviz/tests/test_setup.py -> build/lib.macosx-10.13-x86_64-3.7/pygraphviz/tests
copying pygraphviz/tests/test_unicode.py -> build/lib.macosx-10.13-x86_64-3.7/pygraphviz/tests
copying pygraphviz/tests/test_readwrite.py -> build/lib.macosx-10.13-x86_64-3.7/pygraphviz/tests
copying pygraphviz/tests/test_string.py -> build/lib.macosx-10.13-x86_64-3.7/pygraphviz/tests
copying pygraphviz/tests/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/pygraphviz/tests
copying pygraphviz/tests/test_html.py -> build/lib.macosx-10.13-x86_64-3.7/pygraphviz/tests
copying pygraphviz/tests/test_node_attributes.py -> build/lib.macosx-10.13-x86_64-3.7/pygraphviz/tests
copying pygraphviz/tests/test.py -> build/lib.macosx-10.13-x86_64-3.7/pygraphviz/tests
copying pygraphviz/tests/test_drawing.py -> build/lib.macosx-10.13-x86_64-3.7/pygraphviz/tests
copying pygraphviz/tests/test_subgraph.py -> build/lib.macosx-10.13-x86_64-3.7/pygraphviz/tests
copying pygraphviz/tests/test_edge_attributes.py -> build/lib.macosx-10.13-x86_64-3.7/pygraphviz/tests
copying pygraphviz/tests/test_clear.py -> build/lib.macosx-10.13-x86_64-3.7/pygraphviz/tests
copying pygraphviz/tests/test_layout.py -> build/lib.macosx-10.13-x86_64-3.7/pygraphviz/tests
copying pygraphviz/tests/test_attribute_defaults.py -> build/lib.macosx-10.13-x86_64-3.7/pygraphviz/tests
copying pygraphviz/tests/test_graph.py -> build/lib.macosx-10.13-x86_64-3.7/pygraphviz/tests
copying pygraphviz/tests/test_attributes.py -> build/lib.macosx-10.13-x86_64-3.7/pygraphviz/tests
running egg_info
writing pygraphviz.egg-info/PKG-INFO
writing dependency_links to pygraphviz.egg-info/dependency_links.txt
writing top-level names to pygraphviz.egg-info/top_level.txt
reading manifest file 'pygraphviz.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.png' under directory 'doc'
warning: no files found matching '*.html' under directory 'doc'
warning: no files found matching '*.txt' under directory 'doc'
warning: no files found matching '*.css' under directory 'doc'
warning: no previously-included files matching '*~' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '.svn' found anywhere in distribution
no previously-included directories found matching 'doc/build'
writing manifest file 'pygraphviz.egg-info/SOURCES.txt'
copying pygraphviz/graphviz.i -> build/lib.macosx-10.13-x86_64-3.7/pygraphviz
copying pygraphviz/graphviz_wrap.c -> build/lib.macosx-10.13-x86_64-3.7/pygraphviz
running build_ext
building 'pygraphviz._graphviz' extension
creating build/temp.macosx-10.13-x86_64-3.7
creating build/temp.macosx-10.13-x86_64-3.7/pygraphviz
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c pygraphviz/graphviz_wrap.c -o build/temp.macosx-10.13-x86_64-3.7/pygraphviz/graphviz_wrap.o
pygraphviz/graphviz_wrap.c:3354:12: warning: incompatible pointer to integer conversion returning 'Agsym_t *' (aka 'struct Agsym_s *') from a function with result type 'int' [-Wint-conversion]
return agattr(g, kind, name, val);
^~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
clang -bundle -undefined dynamic_lookup build/temp.macosx-10.13-x86_64-3.7/pygraphviz/graphviz_wrap.o -L/usr/local/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/sqlite/lib -lcdt -lcgraph -o build/lib.macosx-10.13-x86_64-3.7/pygraphviz/_graphviz.cpython-37m-darwin.so
installing to build/bdist.macosx-10.13-x86_64/wheel
running install
Trying dpkg
Failed to find dpkg
Trying pkg-config
Failed to find pkg-config
Trying dotneato-config
Failed to find dotneato-config
Failed to find dotneato-config
Your Graphviz installation could not be found.
1) You don't have Graphviz installed:
Install Graphviz (http://graphviz.org)
2) Your Graphviz package might incomplete.
Install the binary development subpackage (e.g. libgraphviz-dev or similar.)
3) You are using Windows
There are no PyGraphviz binary packages for Windows but you might be
able to build it from this source. See
http://networkx.lanl.gov/pygraphviz/reference/faq.html
If you think your installation is correct you will need to manually
provide path to graphviz include and library. For example:
pip install pygraphviz --install-option="--include-path=/usr/include/graphviz" --install-option="--library-path=/usr/lib/graphviz/"
The current setting of library_dirs and include_dirs is:
library_dirs=None
include_dirs=None
error: Error locating graphviz.
Failed building wheel for pygraphviz
Running setup.py clean for pygraphviz
Failed to build pygraphviz
Installing collected packages: pygraphviz
Running setup.py install for pygraphviz ... error
Complete output from command /usr/local/opt/python/bin/python3.7 -u -c "import setuptools, tokenize;file='/private/var/folders/tl/vh0p3k113bx20dnv50s4pv3h0000gn/T/pip-install-i_qa55z_/pygraphviz/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /private/var/folders/tl/vh0p3k113bx20dnv50s4pv3h0000gn/T/pip-record-6rau2afj/install-record.txt --single-version-externally-managed --compile:
running install
Trying dpkg
Failed to find dpkg
Trying pkg-config
Failed to find pkg-config
Trying dotneato-config
Failed to find dotneato-config
Failed to find dotneato-config
Your Graphviz installation could not be found.
1) You don't have Graphviz installed:
Install Graphviz (http://graphviz.org)
2) Your Graphviz package might incomplete.
Install the binary development subpackage (e.g. libgraphviz-dev or similar.)
3) You are using Windows
There are no PyGraphviz binary packages for Windows but you might be
able to build it from this source. See
http://networkx.lanl.gov/pygraphviz/reference/faq.html
If you think your installation is correct you will need to manually
provide path to graphviz include and library. For example:
pip install pygraphviz --install-option="--include-path=/usr/include/graphviz" --install-option="--library-path=/usr/lib/graphviz/"
The current setting of library_dirs and include_dirs is:
library_dirs=None
include_dirs=None
error: Error locating graphviz.
----------------------------------------
Command "/usr/local/opt/python/bin/python3.7 -u -c "import setuptools, tokenize;file='/private/var/folders/tl/vh0p3k113bx20dnv50s4pv3h0000gn/T/pip-install-i_qa55z_/pygraphviz/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /private/var/folders/tl/vh0p3k113bx20dnv50s4pv3h0000gn/T/pip-record-6rau2afj/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/tl/vh0p3k113bx20dnv50s4pv3h0000gn/T/pip-install-i_qa55z_/pygraphviz/
I'm using High Sierra.
Hi,
I was following the ros2 crystal install from source instructions.
I'm using a Docker image for Ubuntu 18.04
FROM ubuntu:18.04
# working directory
ENV HOME /root
WORKDIR $HOME
# Set timezone otherwise tz will ask for it
ENV TZ=America/Los_Angeles
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
# general utilities
RUN apt-get update && apt-get install -y \
curl \
wget \
git \
vim \
nano \
python3-pip
# pip
RUN pip3 install --upgrade pip
# Locale options
RUN apt-get install -y locales
This is the initial content of the Dockerfile, then I added all the instructions found here.
You find the full Dockerfile here
Even if I'm on Ubuntu 18.04, I need the following lines
RUN python3 -m pip install -U \
pytest \
pytest-cov \
pytest-runner \
setuptools
Otherwise a lots of warnings are prompted about the correct version of pytest not being found and then the build fails while building the demo_nodes_cpp
package.
This warning appears for several packages
CMake Warning at /root/ros2_ws/install/ament_cmake_pytest/share/ament_cmake_pytest/cmake/ament_add_pytest_test.cmake:73 (message):
The Python module 'pytest' was not found, pytests can not be run (e.g. on
Ubuntu/Debian install the package 'python3-pytest')
Call Stack (most recent call first):
CMakeLists.txt:31 (ament_add_pytest_test)
The error for the demo_nodes_cpp
package
CMake Error at CMakeLists.txt:114 (set_property):
set_property given TEST names that do not exist:
test_tutorial_add_two_ints_server_add_two_ints_client_async__rmw_opensplice_cpp
Call Stack (most recent call first):
/root/ros2_ws/build/demo_nodes_cpp/call_for_each_rmw_implementation.cmake:1 (tests)
/root/ros2_ws/install/rmw_implementation_cmake/share/rmw_implementation_cmake/cmake/call_for_each_rmw_implementation.cmake:64 (include)
CMakeLists.txt:121 (call_for_each_rmw_implementation)
General install instructions for people who don't use any of the listed platforms.
I'd appreciate some notes on the technical steps, or discussion on the best way to do this or if it's relevant.
consolidating links, cases in code, etc that have historically been an issue.
Ideas:
- Visibility control
- Scheduling (spurious wakeups)
- exporting stdlib structure symbols
- templating and namespace resolution
The installation instructions installing ROS2 on Windows do not include the installation of development tools like colcon, etc. It would be very useful if the instructions included everything that is needed for ROS2 development (as in Building ROS 2 on Windows).
Maybe this applies to the instructions for other platforms as well (can only speak for Windows right now).
I'd suggest putting all of the documentation content in a sub folder. Here are a few reasons:
- I was going to look for the instructions for generating this documentation locally on my machine, so I looked at the README, which is actually the wiki root.
- If the README is useful, then having less files in the root of the repository will make it more visible.
- There is a
Contributing.rst
file, but again it's for the wiki content, but because of the name it pops up when you're making a new issue (see: https://help.github.com/articles/setting-guidelines-for-repository-contributors/), which is confusing because it's about contributing to ROS in general.
- Another option here is to use the
.github
folder, but I don't know which takes precedence.
I was going to make this a pull request, but I don't know what else needs to check in order for this to work.
Also, to the original reason I ran into this, it would be nice if this were a sphinx project which I could generate locally to test my changes before making a content pull request.
Our install instructions for RTI Connext refer to installing 5.3.1, but this does not seem to be available from RTI's website. Only 6.0.0 is available for download, which affects instructions for macOS and Windows.
Places where our instructions are out-dated:
Following ros2/rclcpp#665 (and ros2/demos#319), the composition tutorial needs to be updated. For example, api_composition
is no longer a valid executable.
The Windows documentation suggests to install Qt 5.10.0, however, this will not be listed by the Qt installer, see below
![image](https://user-images.githubusercontent.com/26366414/69420758-3f8f8280-0d17-11ea-834d-7df9584971e0.png)
The ROS 2 tutorial for Releasing a ROS 2 package with bloom just says to follow the ROS 1 Releasing a Package for the First Time. But at the same time, the step 2 of that tutorial says:
Note: This procedure will not work for ROS2 packages, since ROS2 uses a new build system. If using ROS2, you will have to create the changelog and release tags yourself. Please see the ROS 2 Bloom page for more information.
The problem is that the ROS 2 tutorial doesn't mention anything about changelog and release tags creation.
Is the ROS 2 tutorial missing those steps? Or is the note in the ROS 1 tutorial outdated?
When installing ROS2 (Building ROS 2 on Linux) on a NVIDIA Jetson Nano running Ubuntu 18, I am seeing the following error when running the "Install dependencies using rosdep"
Ubuntu Version
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic
These are the steps I ran to see the issue
sudo rosdep init
rosdep update
# [Ubuntu 18.04]
rosdep install --from-paths src --ignore-src --rosdistro crystal -y --skip-keys "console_bridge fastcdr fastrtps libopensplice67 libopensplice69 rti-connext-dds-5.3.1 urdfdom_headers"
Error seen
rosdep install --from-paths src --ignore-src --rosdistro crystal -y --skip-keys "console_bridge fastcdr fastrtps libopensplice67 libopensplice69 rti-connext-dds-5.3.1 urdfdom_headers"
executing command [sudo -H apt-get install -y ros-crystal-rosidl-typesupport-connext-cpp]
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ros-crystal-rosidl-typesupport-connext-cpp
ERROR: the following rosdeps failed to install
apt: command [sudo -H apt-get install -y ros-crystal-rosidl-typesupport-connext-cpp] failed
If I run the apt-get help, this is what is reported
sudo -H apt-get install -y ros-crystal-rosidl-typesupport-connext-cpp
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ros-crystal-rosidl-typesupport-connext-cpp
In the last step of "Linux-Install-Debians" documentation page. Under the "Additional packagas using ROS 1 packages". The user is guided on how to work with ros1_bridge, but the command doesn't work.
'sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/'
E: Unable to locate package ros-crystal-turtlebot2-*
We should consider adding a section about the new syntax for ROS-specific command-line arguments. Specifically, since Eloquent the user should wrap them in --ros-args
and --
and explicitly mark remaps with --remap
(or -r
). The remap flag is also required for changing the node name and/or namespace with __node:=new_name
and __ns:=/new_namespace
. As an example, the following ROS 1 command:
./ros_executable non_ros_arg __node:=node_name __ns:=/namespace foo:=bar non_ros_arg2
Gets translated in ROS 2 as:
./ros_executable non_ros_arg --ros-args -r __node:=node_name -r __ns:=/namespace -r foo:=bar -- non_ros_arg2
Recommend Projects
-
-
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
An Open Source Machine Learning Framework for Everyone
-
The Web framework for perfectionists with deadlines.
-
A PHP framework for web artisans
-
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
Some thing interesting about web. New door for the world.
-
A server is a program made to process requests and deliver data to clients.
-
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Some thing interesting about visualization, use data art
-
Some thing interesting about game, make everyone happy.
-
Recommend Org
-
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Open source projects and samples from Microsoft.
-
Google โค๏ธ Open Source for everyone.
-
Alibaba Open Source for everyone
-
Data-Driven Documents codes.
-
China tencent open source team.
-