dflemin3 / approxposterior

A Python package for approximate Bayesian inference and optimization using Gaussian processes
https://dflemin3.github.io/approxposterior/
MIT License
41 stars 9 forks source link

Can't clone from git@github.com:dflemin3 #45

Closed tomr-stargazer closed 5 years ago

tomr-stargazer commented 5 years ago

Hi! Per the install instructions in the README, I tried the following step:

➜  cloned_projects git clone git@github.com:dflemin3/approxposterior.git
Cloning into 'approxposterior'...
The authenticity of host 'github.com (192.30.253.112)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,192.30.253.112' (RSA) to the list of known hosts.
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

When I tried to clone directly from the https address, things worked fine:

➜  cloned_projects git clone https://github.com/dflemin3/approxposterior.git
Cloning into 'approxposterior'...
remote: Enumerating objects: 312, done.
remote: Counting objects: 100% (312/312), done.
remote: Compressing objects: 100% (184/184), done.
remote: Total 2047 (delta 213), reused 199 (delta 128), pack-reused 1735
Receiving objects: 100% (2047/2047), 40.47 MiB | 8.51 MiB/s, done.
Resolving deltas: 100% (1297/1297), done.

Just wanted to leave a bit of feedback regarding the suggested install steps! (:

dflemin3 commented 5 years ago

Hi Tom - thanks for the feedback! I changed the default install git clone instructions on the repo and in the docs to recommend https to make this a hopefully cleaner install. I tend to only use ssh keys and so I appreciate the catch!