World Bank PIP API Stata wrapper
ssc install pip
We recommend installing the github Stata command by E. F. Haghish
net install github, from("https://haghish.github.io/github/")
github install worldbank/pip
If you get an error similar to the image below, it might be the case that downloading from Github is not available in your computer due to firewall restrictions. Try disconnecting from the VPN and installing {pip}
again.
If none of the options above worked, you could still install pip
manually following these steps,
- Click on the green icon "Clone or Download" above.
- Download the package as zip.
- Extract the files with extension
.ado
and.sthlp
only, and place them in the directoryc:/ado/plus/p
- type
discard
in Stata.
In case {pip}
is not working correctly, try the following steps in order
- Uninstall
{pip}
by typing this
github uninstall pip
- Execute the following and see if
{pip}
is still installed somewhere in your computer
which pip
If it is installed, delete all the {pip}
files from wherever they are in your computer until the command above returns error. The idea is to leave no trace of {pip}
in your computer.
- Install
{pip}
again with the following code and check the version number. It should be the same as the most recent release
github install worldbank/pip
which pip
- Try to run it again and see if
{pip}
fails. - If it is still failing, please run the code below--making sure your replace the commented line--and send the test.log file to [email protected]
log using "test.log", name(pip_test) text replace // this is in your cd
cret list
clear all
which pip
set tracedepth 4
set traceexpand on
set traceindent on
set tracenumber on
set trace on
cap noi // pip command that is not working
set trace off
log close pip_test
Creative Commons Attribution 4.0 International
R.Andres Castaneda
The World Bank
[email protected]
Tefera Bekele Degefu
The World Bank
[email protected]