bash: pip : command not found
Download and install
wget “https://pypi.python.org/packages/source/p/pip/pip-1.5.4.tar.gz#md5=834b2904f92d46aaa333267fb1c922bb” –no-check-certificate
tar -axf pip-1.5.4.tar.gz
cd pip-1.5.4/
python setup.py install
After installation, use PIP – V to report an error as follows:
bash: PIP: command not found…
what should I do at this time
just make a soft connection:
first check the installation path:
find/-name pip
Make a soft connection
ln -sv /usr/local/python/bin/pip /usr/bin/pip
You can use it when you’re done
bash: scrapy: command not found
1、 Scene
After PIP install sketch
is executed, the installation is successful and Import sketch
is executed successfully
2、 Questions
Executing sketch in shell returns bash: Sketch: command not found
3、 Solutions
(1) Enter the python home directory, such as CD/usr/local/python3.6/bin
, and find the sketch item
(2) check CD/usr/bin/| ll | grep sketch
, and check whether it exists
(3) if it does not exist, execute ln - S/usr/local/bin/sketch/usr/bin/sketch
(4) return to the shell, execute sketch version
, and succeed
Similar Posts:
- Failed to create symbolic link ‘/usr/bin/utserver’: File exists with Error: Cannot find…
- [Solved] yum Execute Error: -bash: /usr/bin/yum: /usr/bin/python3.7: bad interpreter: No such file or directory
- [Solved] Accessing MSSql under Ubuntu prompts SSL Handshake failed with OpenSSL error
- Python compiles and installs under Linux and reports an error: makefile: 1141: install
- Redis service failed to start, prompt: redis server: command not found
- Linux error: command not found [How to Solve]
- CentOS prompt – bash: Make: command not found solution
- ImportError: /lib64/libc.so.6: version `GLIBC_2.17′ problem solved
- Bpython ImportError: No module named _curses [How to Solve]
- Download and installation of iconfont in sketch and abnormal display of Icon