PyInstaller Command not Found on Mac - path

I used pip to install pyinstaller on my mac. When using the pyinstaller command it says "-bash: pyinstaller: command not found". I know that I need to add its path to my bash profile, but I am not sure how to do that.

Related

"catkin build" not working in ros noetic via docker

I am using ros noetic via docker on windows.
The command "catkin build" returns "bash: catkin: command not found".
I tried:
sudo pip3 install git+https://github.com/catkin/catkin_tools.git
sudo apt-get install python3-catkin-tools
nothing worked.
Can someone help ?
You are missing the source part for the system to know what catkin is. Try doing source /opt/ros/noetic/setup.bash and the running the command catkin build in your workspace.

How to install Gridsome: zsh: command not found: gridsome

I'm attempting to create a new Gridsome project and continually receive the following message in the terminal:
zsh: command not found: gridsome
Steps I've taken
(https://gridsome.org/docs/)
npm install --global #gridsome/cli
cd testProjects
gridsome create my-gridsome-site
At this point i receive the error and cannot seem to find a way to resolve it.
I solved this by using yarn for installation. So simply run the following commands :
Install yarn. On Mac OS do it using homebrew. brew install yarn.
cd to place where you would like your project to be, and then run gridsome create my-gridsome-site.
However, not sure why installing with npm, doesn't work.
if you install globally like this yarn global add #gridsome/cli
you need to add this on your path in .zshrc if you use zsh
~/.yarn/bin
here's my .zshrc config in the last line, focus on the GLOBAL one
export TWEEGO=$HOME/DEV/TWINE/tweego
export ANDROID_SDK=$HOME/Library/Android/sdk
export GLOBAL=$HOME/.yarn/bin
export PATH=$ANDROID_SDK/emulator:$ANDROID_SDK/tools:$TWEEGO:$GLOBAL:$PATH

Catkin command not found

I have installed ROS indigo and gazebo2 packages in Ubuntu 14.04.5. When I try to use catkin command, I get:
catkin_init_workspace : command not found
So, I tried to install catkin, it displays that ros-indigo-catkin is the latest version.
All I did was,
$ sudo apt-get install ros-indigo-desktop-full
$ sudo apt-get install gazebo2.<They're installed perfectly>
After this, I am getting catkin issue.
Help needed. Someone please find a way to fix this issue.
Had almost the same issue when i tried to run this command (please refer to the pics attached).
$ catkin build
Screenshot for solution applied to solve catkin build error
I solved it by installing catkin ROS build system using the command below (references attached in the links and pictures attached). Screenshot for catkin build error
$ sudo apt-get install ros-kinetic-catkin python-catkin-tools
If the workspace is setup, you properly sourced ROS as stated above, and if catkin_make works, but catkin build doesn't work do this:
sudo apt install python3-catkin-tools python3-osrf-pycommon
This is a catkin-tools dependency which was delinked in Ubuntu 20.04 so it has to be manually specified to be installed.
Probably you forgot to set up the environment after installing ROS.
$ echo "source /opt/ros/indigo/setup.bash" >> ~/.bashrc
$ source ~/.bashrc
Then, I will assume you want to create a package, so you can follow these steps:
$ mkdir -p path_to_my_workspace/workspace_name/src
$ cd path_to_my_workspace/workspace_name/src
$ catkin_init_workspace
$ cd path_to_my_workspace/workspace_name/
$ catkin_make
$ source path_to_my_workspace/workspace_name/devel/setup.bash
After running these commands your workspace is created, so now you can start adding packages.
Maybe you didn't install "catkin ROS build system"
You can install it using the following command for ROS Melodic:
sudo apt-get install ros-melodic-catkin python-catkin-tool
or for ROS kinetic
sudo apt-get install ros-kinetic-catkin python-catkin-tool
If you want to create a ROS package, you can use: catkin create pkg myworkSpace --catkin-deps rospy
this command will create a ROS workspace with a source folder, CMakeLists.txt and package.xml
or use
mkdir catkin
cd catkin
catkin create pkg myworkSpace --catkin-deps rospy
The provided commands are for Python. So, make sure to modify it for Cpp if you want so.

command not found error on Mac when running mfp from command line

I am getting mfp: command not found error on Mac. I obviously have installed mobilefirst-cli using npm install -g path-to-cli-.tgz-file
How can I check/verify if mobilefirst-cli is successfully installed on Mac? I tried to run mfp but got the error "Command not found".
If you are using MobileFirst 8.0 https://mobilefirstplatform.ibmcloud.com/downloads/ then the executable will be mfpdev
Specify PATH in zshrc or bashrc. Command: gedit ~/.zshrc
Also source it. Command: source ~/.zshrc
Once that is done. Restart terminal and you should be able to access mfp commands in cli.

Problems installing iOS PonyDebugger

I am trying to install PonyDebugger. I am typing into the terminal the commands
curl -sk https://cloud.github.com/downloads/square/PonyDebugger/bootstrap-ponyd.py | \
python - --ponyd-symlink=/usr/local/bin/ponyd ~/Library/PonyDebugger
and installing the script and the files with success.
However, when I type ponyd serve --listen-interface=127.0.0.1, i receive from the terminal -bash: ponyd: command not found.
Any solutions on how to move from this step? I already installed XCode command line tools.
One of the PonyDebugger developers here. Try adding /usr/local/bin to your PATH.
An alternative is to run ponyd directly from the installation path.
~/Library/PonyDebugger/bin/ponyd serve --listen-interface=127.0.0.1

Resources