Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue in installing reghdfe 4.x on Stata 13.1 #126

Closed
absahay opened this issue Mar 3, 2018 · 7 comments
Closed

Issue in installing reghdfe 4.x on Stata 13.1 #126

absahay opened this issue Mar 3, 2018 · 7 comments

Comments

@absahay
Copy link

absahay commented Mar 3, 2018

I am trying to install reghdfe 4.x on Stata 13.1 using:

cap ado uninstall moresyntax
cap ado uninstall ftools
net install ftools, from("https://github.com/sergiocorreia/ftools/raw/master/src/")

cap ado uninstall reghdfe
net install reghdfe, from("https://github.com/sergiocorreia/reghdfe/raw/master/src/")

if (c(version)<13) cap ado uninstall boottest
if (c(version)<13) ssc install boottest

cap ssc install moremata

source: https://github.com/sergiocorreia/reghdfe

However, I am getting the following error:
screen shot 2018-03-03 at 4 40 52 pm

Appreciate your help!

@sergiocorreia
Copy link
Owner

AFAIK Stata 13 does not support https, which means it doesn't support downloading from GitHub. You need to follow the alternative instructions, where you download the zip file of the project, extract it, and then install from the local disk.

@absahay
Copy link
Author

absahay commented Mar 3, 2018

Thanks much!

@mcaceresb
Copy link

In case it helps anyone, I'm also on Stata 13 and had this same issue, but it was solved by running:

 net install reghdfe, from("https://raw.githubusercontent.com/sergiocorreia/reghdfe/master/src/")

@sergiocorreia
Copy link
Owner

Interesting. It seems that the first link redirects to githubusercontent, but this might not work correctly on Stata 13. Will try to change the links across the place at some point.

@rcragun
Copy link

rcragun commented Aug 2, 2021

net install reghdfe, from("https://raw.githubusercontent.com/sergiocorreia/reghdfe/master/src/") no longer works on Stata 13:

Received fatal alert: protocol_version
https://raw.githubusercontent.com/sergiocorreia/reghdfe/master/src/ either
  1)  is not a valid URL, or
  2)  could not be contacted, or
  3)  is not a Stata download site (has no stata.toc file).

@sergiocorreia
Copy link
Owner

Sadly, Stata 13 does not support HTTPS, which is the only way you can download content from Github.

The workaround is to download the zipfile of the release, unzip it and do a "net install" locally (where the contents of from() are in your local drive):

image

image

@rcragun
Copy link

rcragun commented Aug 6, 2021

Sadly, Stata 13 does not support HTTPS, which is the only way you can download content from Github.

The reason I mentioned it not working on Stata 13 is that I saw the above comment from @mcaceresb suggesting that HTTPS had worked for them on Stata 13. Either that comment was a mistake or Stata 13 stopped supporting this at some point (or I am just doing something wrong in Stata, which happens often).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants