Pip configuration
October 29, 2023Less than 1 minute
How to change default installation location
pip config file.
[global]
target=C:\Users\Bob\Desktop
Pip install packages from github
# For HTTP
pip install git+https://bitbucket.org/<project_owner>/<project_name>
# For SSH
pip install git+ssh://git@bitbucket.org/<project_owner>/<project_name>.git/
#For Local Git Repository
pip install git+file///path/to/your/git/project/
Cannot use arrow key
Install the following package to resolve the arrow keys are not available.
pip install gnureadline
readline package
When the arrow keys cannot work correctly, normally because of lack of readline packages, using the following command to installpip3 install readline
Sometime errors will occur because of the dependencies problems, please use the command below to install dependency ncurses
sudo apt install libncurses5-dev libncursesw5-dev