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

installing nngraph via luarocks throws an error #158

Open
rykerryker123 opened this issue Mar 20, 2023 · 1 comment
Open

installing nngraph via luarocks throws an error #158

rykerryker123 opened this issue Mar 20, 2023 · 1 comment

Comments

@rykerryker123
Copy link

rykerryker123 commented Mar 20, 2023

When I try to run the command:
luarocks install nngraph

This gets displayed:

"Installing https://raw.githubusercontent.com/torch/rocks/master/nngraph-scm-1.rockspec...
Using https://raw.githubusercontent.com/torch/rocks/master/nngraph-scm-1.rockspec... switching to 'build' mode
Cloning into 'nngraph'...
fatal: unable to connect to github.com:
github.com[0: 140.82.114.4]: errno=Connection timed out

Error: Failed cloning git repository."

I know I can connect to github correctly in the browser, and even cloning other repositories using git doesn't throw an error, so why is this happening? I assume it's because the repository is broken or doesn't exist anymore, but I want to see what the real issue is, because I don't see anyone talking about this in the issue tracker. Sorry if this is worded a bit weirdly.

OS: Ubuntu 22.04.2 LTS

@tginouye
Copy link

tginouye commented Dec 5, 2024

I was able to get around it eventually by using:

git config --global url.https://github.com/.insteadOf git://github.com/

I also ensured I had my gitconfig already created with my user information.

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

2 participants