Firstly, When I run sudo bash install-snap-python.sh for installing snap-python
--2018-11-27 22:49:10-- https://snap.stanford.edu/snappy/release/snap-4.0.0-4.0-centos6.5-x64-py2.6.tar.gz
Resolving snap.stanford.edu (snap.stanford.edu)... 171.64.75.80
Connecting to snap.stanford.edu (snap.stanford.edu)|171.64.75.80|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-11-27 22:49:11 ERROR 404: Not Found.
tar (child): snap-4.0.0-4.0-centos6.5-x64-py2.6.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
install-snap-python.sh: line 4: cd: snap-4.0.0-4.0-centos6.5-x64-py2.6: No such file or directory
python: can't open file 'setup.py': [Errno 2] No such file or directory
cp: cannot stat 'snap.py': No such file or directory
cp: cannot stat '_snap.so': No such file or directory
chmod: cannot access '../bellydynamic-travis/snap.py': No such file or directory
chmod: cannot access '../bellydynamic-travis/_snap.so': No such file or directory
Secondly, when I run sudo bash setup.sh
--2018-11-27 22:53:38-- https://snap.stanford.edu/snappy/release/snap-4.0.0-4.0-centos6.5-x64-py2.6.tar.gz
Resolving snap.stanford.edu (snap.stanford.edu)... 171.64.75.80
Connecting to snap.stanford.edu (snap.stanford.edu)|171.64.75.80|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-11-27 22:53:39 ERROR 404: Not Found.
tar (child): snap-4.0.0-4.0-centos6.5-x64-py2.6.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
setup.sh: line 5: cd: snap-4.0.0-4.0-centos6.5-x64-py2.6: No such file or directory
cp: cannot stat 'snap-4.0.0-4.0-centos6.5-x64-py2.6/snap.py': No such file or directory
cp: cannot stat 'snap-4.0.0-4.0-centos6.5-x64-py2.6/_snap.so': No such file or directory
chmod: cannot access './bellydynamic-adv/snap.py': No such file or directory
chmod: cannot access './bellydynamic-adv/_snap.so': No such file or directory
So, I view 2 file setup.sh & install-snap-python.sh and compare with version on http://snap.stanford.edu and I changed snap version 4.1.0 in 2 file.
And it worked successfully.
Firstly, When I run
sudo bash install-snap-python.sh
for installing snap-pythonSecondly, when I run
sudo bash setup.sh
So, I view 2 file
setup.sh
&install-snap-python.sh
and compare with version on http://snap.stanford.edu and I changed snap version 4.1.0 in 2 file. And it worked successfully.