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

Installation Problem #165

Closed
bamsumit opened this issue Feb 15, 2023 Discussed in #164 · 5 comments
Closed

Installation Problem #165

bamsumit opened this issue Feb 15, 2023 Discussed in #164 · 5 comments

Comments

@bamsumit
Copy link
Contributor

Discussed in #164

Originally posted by Dola47 February 14, 2023
Hi All,

I am trying to install lava on Linux:

1- I go to my directory.

2- Then I run this command:

git clone [email protected]:lava-nc/lava-dl.git

3- After a while I am getting this error:

Cloning into 'lava-dl'...
ssh: connect to host github.com port 22: Connection timed out
fatal: Could not read from remote repository.

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

Can you help me with this error, given that I am able to clone other repos normally without any problem?

On the other way around when I clone the repo by doing:

git clone https://github.com/lava-nc/lava-dl.git

The repo is cloned normally.

However, when I come to the step where I should run (I am done so, after activating a newly installed python environment):
curl -sSL https://install.python-poetry.org | python3 -
I get this error:
curl: (6) Could not resolve host: install.python-poetry.org

Any idea how can I bypass either of the errors.

Thanks.

@bamsumit
Copy link
Contributor Author

bamsumit commented Feb 15, 2023

@Dola47 Continuing from #164 (reply in thread)

Are you trying to install it in your home environment or work/university?

@Dola47
Copy link

Dola47 commented Feb 15, 2023

@bamsumit Yes, it is a notebook for work.

@bamsumit
Copy link
Contributor Author

@Dola47 you should contact your IT and get the curl instruction working.

@Dola47
Copy link

Dola47 commented Feb 15, 2023

@bamsumit I think IT is not needed, I got it running on Linux, with this workaround.

1- git clone https://github.com/lava-nc/lava-dl.git
2- cd laval-dl
3- python -m venv .venv
4- source .venv/bin/activate.csh
5- pip install poetry
6- pip install --upgrade pip
7- pip install --upgrade pytest 
8- deactivate
9- source .venv/bin/activate.csh (again)
10- poetry config virtualenvs.in-project true
11- poetry install

Step 10, and 11 may need to be run several times, if some of the packages failed during running "poetry install"

@bamsumit
Copy link
Contributor Author

@Dola47 okay great. Closing this issue. FYI you needed to repeat step 11 because of poetry issue with pip install. The curl install fixes that.

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

No branches or pull requests

2 participants