- Download and transfer pyenv
- Extract
pyenv-x.x.x.tar.gz
into~/.pyenv
- Add into
~/.zshrc
and sourceexport PATH=/home/user/.pyenv/bin:$PATH eval "$(pyenv init -)" eval "$(pyenv virtualenv-init -)"
- Download and transfer desired python-3.x.x
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt install -y libxcb1-dev libxcb-keysyms1-dev libpango1.0-dev libxcb-util0-dev libxcb-icccm4-dev libyajl-dev libstartup-notification0-dev libxcb-randr0-dev libev-dev libxcb-cursor-dev libxcb-xinerama0-dev libxcb-xkb-dev libxkbcommon-dev libxkbcommon-x11-dev autoconf libxcb-xrm0 libxcb-xrm-dev automake libxcb-shape0-dev libxcb-xrm-dev | |
cd /tmp | |
# clone the repository | |
git clone https://www.github.com/Airblader/i3 i3-gaps | |
cd i3-gaps | |
# compile & install |
For linking libboost-python to the correct python. Apt installation uses system python.
Switch to the desired pyenv
Get python headers path using python-config --includes --libs
and add the path in ~/.zshrc
:
export CPLUS_INCLUDE_PATH="$CPLUS_INCLUDE_PATH:/home/ruth/.pyenv/versions/3.6.12/include/python3.6m"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
std_msgs/Header header | |
std_msgs/String source_id | |
std_msgs/String message |