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

Errors when installing bash install-deps #259

Open
1024064118 opened this issue Jul 17, 2018 · 4 comments
Open

Errors when installing bash install-deps #259

1024064118 opened this issue Jul 17, 2018 · 4 comments

Comments

@1024064118
Copy link

Dear all,
When I tried to run this code to install Torch

git clone https://github.com/torch/distro.git ~/torch --recursive
cd ~/torch; bash install-deps;
./install.sh

I met the error:
Package python-software-properties is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
software-properties-common

E: Package 'python-software-properties' has no installation candidate

But when i tried sudo apt-get install software-properties-common
it shows this package has been installed:
Reading package lists... Done
Building dependency tree
Reading state information... Done
software-properties-common is already the newest version (0.96.24.32.3).

Could you please help me to fix it? Thank you very much

@ZhangYK124
Copy link

same here... Do you have a solution?

@ddxtanx
Copy link

ddxtanx commented Aug 7, 2018

Yes. Use your favorite text editor and changes lines 178 and 261 of install-deps to
"sudo apt-get install software-properties-common".

As the error message says, python-software-properties has been obsoleted in favour of software-properties-common.

@Masoud-Karami
Copy link

Masoud-Karami commented Sep 16, 2021

Hi,
I think it contains four commands. You should either put a semicolon after --recursive or implement them separately:
git clone https://github.com/torch/distro.git ~/torch --recursive;
cd ~/torch; bash install-deps; ./install.sh
works for me!

@Robinsssson
Copy link

Hi, I think it contains four commands. You should either put a semicolon after --recursive or implement them separately: git clone https://github.com/torch/distro.git ~/torch --recursive; cd ~/torch; bash install-deps; ./install.sh works for me!

It's worked to me, thanks!

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

5 participants