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

Got some errors installing paramiko in Day 2, Part 4 - Linux Cluster Lab #51

Closed
codingoutloud opened this issue Mar 23, 2014 · 1 comment

Comments

@codingoutloud
Copy link
Contributor

Got some errors configuring this lab. Not sure whether the errors are fatal or even consequential, but they were surprising. The image created from quick create using Ubuntu Server 13.10:

azureuser@pycluster0:/azure-sdk-for-python$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=13.10
DISTRIB_CODENAME=saucy
DISTRIB_DESCRIPTION="Ubuntu 13.10"
azureuser@pycluster0:
/azure-sdk-for-python$

Here is trace of session in ubuntu:

login as: azureuser
azureuser@pycluster0.cloudapp.net's password:

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

azureuser@pycluster0:$ pwd
/home/azureuser
azureuser@pycluster0:
$ ls -a
. .. .bash_logout .bashrc .cache .profile .ssh


azureuser@pycluster0:~$ sudo apt-get install git
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
git-man liberror-perl
Suggested packages:
git-daemon-run git-daemon-sysvinit git-doc git-el git-email git-gui gitk
gitweb git-arch git-bzr git-cvs git-svn
The following NEW packages will be installed:
git git-man liberror-perl
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 8,729 kB of archives.
After this operation, 19.7 MB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://azure.archive.ubuntu.com/ubuntu/ saucy/main liberror-perl all 0.17-1 [23.8 kB]
Get:2 http://azure.archive.ubuntu.com/ubuntu/ saucy/main git-man all 1:1.8.3.2-1 [670 kB]
Get:3 http://azure.archive.ubuntu.com/ubuntu/ saucy/main git amd64 1:1.8.3.2-1 [8,035 kB]
Fetched 8,729 kB in 6s (1,402 kB/s)
Selecting previously unselected package liberror-perl.
(Reading database ... 58206 files and directories currently installed.)
Unpacking liberror-perl (from .../liberror-perl_0.17-1_all.deb) ...
Selecting previously unselected package git-man.
Unpacking git-man (from .../git-man_1%3a1.8.3.2-1_all.deb) ...
Selecting previously unselected package git.
Unpacking git (from .../git_1%3a1.8.3.2-1_amd64.deb) ...
Processing triggers for man-db ...
Setting up liberror-perl (0.17-1) ...
Setting up git-man (1:1.8.3.2-1) ...
Setting up git (1:1.8.3.2-1) ...


azureuser@pycluster0:~$ sudo apt-get install python-setuptools
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
python-setuptools
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 455 kB of archives.
After this operation, 1,147 kB of additional disk space will be used.
Get:1 http://azure.archive.ubuntu.com/ubuntu/ saucy/main python-setuptools all 0.6.37-1ubuntu1 [455 kB]
Fetched 455 kB in 1s (336 kB/s)
Selecting previously unselected package python-setuptools.
(Reading database ... 58973 files and directories currently installed.)
Unpacking python-setuptools (from .../python-setuptools_0.6.37-1ubuntu1_all.deb) ...
Setting up python-setuptools (0.6.37-1ubuntu1) ...


azureuser@pycluster0:$ git clone https://github.com/WindowsAzure/azure-sdk-for-python.git
Cloning into 'azure-sdk-for-python'...
remote: Reusing existing pack: 963, done.
remote: Total 963 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (963/963), 3.56 MiB | 5.64 MiB/s, done.
Resolving deltas: 100% (568/568), done.
Checking connectivity... done
azureuser@pycluster0:
$ ls
azure-sdk-for-python
azureuser@pycluster0:$ cd
azureuser@pycluster0:
$ cd ./azure-sdk-for-python/
azureuser@pycluster0:/azure-sdk-for-python$ cd src
-bash: cd: src: No such file or directory
azureuser@pycluster0:
/azure-sdk-for-python$ ls
azure azure.sln ChangeLog.txt LICENSE.txt README.md setup.py tests
azureuser@pycluster0:/azure-sdk-for-python$ cd azure
azureuser@pycluster0:
/azure-sdk-for-python/azure$ ls
azure.pyproj http init.py servicebus servicemanagement storage
azureuser@pycluster0:/azure-sdk-for-python/azure$ cd ..
azureuser@pycluster0:
/azure-sdk-for-python$ ls
azure azure.sln ChangeLog.txt LICENSE.txt README.md setup.py tests


azureuser@pycluster0:~/azure-sdk-for-python$ sudo python setup.py install
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/azure
copying azure/init.py -> build/lib.linux-x86_64-2.7/azure
creating build/lib.linux-x86_64-2.7/azure/http
copying azure/http/winhttp.py -> build/lib.linux-x86_64-2.7/azure/http
copying azure/http/httpclient.py -> build/lib.linux-x86_64-2.7/azure/http
copying azure/http/batchclient.py -> build/lib.linux-x86_64-2.7/azure/http
copying azure/http/init.py -> build/lib.linux-x86_64-2.7/azure/http
creating build/lib.linux-x86_64-2.7/azure/servicebus
copying azure/servicebus/servicebusservice.py -> build/lib.linux-x86_64-2.7/azure/servicebus
copying azure/servicebus/init.py -> build/lib.linux-x86_64-2.7/azure/servicebus
creating build/lib.linux-x86_64-2.7/azure/storage
copying azure/storage/sharedaccesssignature.py -> build/lib.linux-x86_64-2.7/azure/storage
copying azure/storage/storageclient.py -> build/lib.linux-x86_64-2.7/azure/storage
copying azure/storage/cloudstorageaccount.py -> build/lib.linux-x86_64-2.7/azure/storage
copying azure/storage/blobservice.py -> build/lib.linux-x86_64-2.7/azure/storage
copying azure/storage/queueservice.py -> build/lib.linux-x86_64-2.7/azure/storage
copying azure/storage/tableservice.py -> build/lib.linux-x86_64-2.7/azure/storage
copying azure/storage/init.py -> build/lib.linux-x86_64-2.7/azure/storage
creating build/lib.linux-x86_64-2.7/azure/servicemanagement
copying azure/servicemanagement/servicemanagementservice.py -> build/lib.linux-x86_64-2.7/azure/servicemanagement
copying azure/servicemanagement/init.py -> build/lib.linux-x86_64-2.7/azure/servicemanagement
copying azure/servicemanagement/servicemanagementclient.py -> build/lib.linux-x86_64-2.7/azure/servicemanagement
copying azure/servicemanagement/servicebusmanagementservice.py -> build/lib.linux-x86_64-2.7/azure/servicemanagement
running install_lib
creating /usr/local/lib/python2.7/dist-packages/azure
creating /usr/local/lib/python2.7/dist-packages/azure/http
copying build/lib.linux-x86_64-2.7/azure/http/winhttp.py -> /usr/local/lib/python2.7/dist-packages/azure/http
copying build/lib.linux-x86_64-2.7/azure/http/httpclient.py -> /usr/local/lib/python2.7/dist-packages/azure/http
copying build/lib.linux-x86_64-2.7/azure/http/batchclient.py -> /usr/local/lib/python2.7/dist-packages/azure/http
copying build/lib.linux-x86_64-2.7/azure/http/init.py -> /usr/local/lib/python2.7/dist-packages/azure/http
creating /usr/local/lib/python2.7/dist-packages/azure/servicemanagement
copying build/lib.linux-x86_64-2.7/azure/servicemanagement/servicemanagementservice.py -> /usr/local/lib/python2.7/dist-packages/azure/servicemanagement
copying build/lib.linux-x86_64-2.7/azure/servicemanagement/init.py -> /usr/local/lib/python2.7/dist-packages/azure/servicemanagement
copying build/lib.linux-x86_64-2.7/azure/servicemanagement/servicemanagementclient.py -> /usr/local/lib/python2.7/dist-packages/azure/servicemanagement
copying build/lib.linux-x86_64-2.7/azure/servicemanagement/servicebusmanagementservice.py -> /usr/local/lib/python2.7/dist-packages/azure/servicemanagement
creating /usr/local/lib/python2.7/dist-packages/azure/servicebus
copying build/lib.linux-x86_64-2.7/azure/servicebus/servicebusservice.py -> /usr/local/lib/python2.7/dist-packages/azure/servicebus
copying build/lib.linux-x86_64-2.7/azure/servicebus/init.py -> /usr/local/lib/python2.7/dist-packages/azure/servicebus
copying build/lib.linux-x86_64-2.7/azure/init.py -> /usr/local/lib/python2.7/dist-packages/azure
creating /usr/local/lib/python2.7/dist-packages/azure/storage
copying build/lib.linux-x86_64-2.7/azure/storage/sharedaccesssignature.py -> /usr/local/lib/python2.7/dist-packages/azure/storage
copying build/lib.linux-x86_64-2.7/azure/storage/storageclient.py -> /usr/local/lib/python2.7/dist-packages/azure/storage
copying build/lib.linux-x86_64-2.7/azure/storage/cloudstorageaccount.py -> /usr/local/lib/python2.7/dist-packages/azure/storage
copying build/lib.linux-x86_64-2.7/azure/storage/blobservice.py -> /usr/local/lib/python2.7/dist-packages/azure/storage
copying build/lib.linux-x86_64-2.7/azure/storage/queueservice.py -> /usr/local/lib/python2.7/dist-packages/azure/storage
copying build/lib.linux-x86_64-2.7/azure/storage/tableservice.py -> /usr/local/lib/python2.7/dist-packages/azure/storage
copying build/lib.linux-x86_64-2.7/azure/storage/init.py -> /usr/local/lib/python2.7/dist-packages/azure/storage
byte-compiling /usr/local/lib/python2.7/dist-packages/azure/http/winhttp.py to winhttp.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/azure/http/httpclient.py to httpclient.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/azure/http/batchclient.py to batchclient.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/azure/http/init.py to init.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/azure/servicemanagement/servicemanagementservice.py to servicemanagementservice.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/azure/servicemanagement/init.py to init.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/azure/servicemanagement/servicemanagementclient.py to servicemanagementclient.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/azure/servicemanagement/servicebusmanagementservice.py to servicebusmanagementservice.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/azure/servicebus/servicebusservice.py to servicebusservice.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/azure/servicebus/init.py to init.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/azure/init.py to init.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/azure/storage/sharedaccesssignature.py to sharedaccesssignature.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/azure/storage/storageclient.py to storageclient.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/azure/storage/cloudstorageaccount.py to cloudstorageaccount.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/azure/storage/blobservice.py to blobservice.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/azure/storage/queueservice.py to queueservice.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/azure/storage/tableservice.py to tableservice.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/azure/storage/init.py to init.pyc
running install_egg_info
Writing /usr/local/lib/python2.7/dist-packages/azure-0.8.0pr2.egg-info


azureuser@pycluster0:~/azure-sdk-for-python$ sudo easy_install workerpool
Searching for workerpool
Reading http://pypi.python.org/simple/workerpool/
Best match: workerpool 0.9.2
Downloading https://pypi.python.org/packages/source/w/workerpool/workerpool-0.9.2.tar.gz#md5=42904070f1a58f2a7b7276b22134375b
Processing workerpool-0.9.2.tar.gz
Writing /tmp/easy_install-Uv71Ar/workerpool-0.9.2/setup.cfg
Running workerpool-0.9.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-Uv71Ar/workerpool-0.9.2/egg-dist-tmp-kfIVIU
Adding workerpool 0.9.2 to easy-install.pth file

Installed /usr/local/lib/python2.7/dist-packages/workerpool-0.9.2-py2.7.egg
Processing dependencies for workerpool
Finished processing dependencies for workerpool


azureuser@pycluster0:~/azure-sdk-for-python$ sudo easy_install paramiko
Searching for paramiko
Reading http://pypi.python.org/simple/paramiko/
Best match: paramiko 1.13.0
Downloading https://pypi.python.org/packages/source/p/paramiko/paramiko-1.13.0.tar.gz#md5=acc53ee396dd907220a4141e118a845d
Processing paramiko-1.13.0.tar.gz
Writing /tmp/easy_install-LCvQSZ/paramiko-1.13.0/setup.cfg
Running paramiko-1.13.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-LCvQSZ/paramiko-1.13.0/egg-dist-tmp-3Xh7YB
zip_safe flag not set; analyzing archive contents...
Adding paramiko 1.13.0 to easy-install.pth file

Installed /usr/local/lib/python2.7/dist-packages/paramiko-1.13.0-py2.7.egg
Processing dependencies for paramiko
Searching for ecdsa
Reading http://pypi.python.org/simple/ecdsa/
Best match: ecdsa 0.11
Downloading https://pypi.python.org/packages/source/e/ecdsa/ecdsa-0.11.tar.gz#md5=8ef586fe4dbb156697d756900cb41d7c
Processing ecdsa-0.11.tar.gz
Writing /tmp/easy_install-At4nYo/ecdsa-0.11/setup.cfg
Running ecdsa-0.11/setup.py -q bdist_egg --dist-dir /tmp/easy_install-At4nYo/ecdsa-0.11/egg-dist-tmp-km_GF7
zip_safe flag not set; analyzing archive contents...
Adding ecdsa 0.11 to easy-install.pth file

Installed /usr/local/lib/python2.7/dist-packages/ecdsa-0.11-py2.7.egg
Searching for pycrypto>=2.1,!=2.4
Reading http://pypi.python.org/simple/pycrypto/
Best match: pycrypto 2.6.1
Downloading https://pypi.python.org/packages/source/p/pycrypto/pycrypto-2.6.1.tar.gz#md5=55a61a054aa66812daf5161a0d5d7eda
Processing pycrypto-2.6.1.tar.gz
Writing /tmp/easy_install-cQrrqE/pycrypto-2.6.1/setup.cfg
Running pycrypto-2.6.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-cQrrqE/pycrypto-2.6.1/egg-dist-tmp-IuDGsx
configure: error: in /tmp/easy_install-cQrrqE/pycrypto-2.6.1': configure: error: no acceptable C compiler found in $PATH Seeconfig.log' for more details
Traceback (most recent call last):
File "/usr/bin/easy_install", line 9, in
load_entry_point('distribute==0.6.37', 'console_scripts', 'easy_install')()
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 2002, in main
with_ei_usage(lambda:
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 1983, in with_ei_usage
return f()
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 2006, in
distclass=DistributionWithoutHelpCommands, **kw
File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 378, in run
self.easy_install(spec, not self.no_deps)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 622, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 654, in install_item
self.process_distribution(spec, dist, deps)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 706, in process_distribution
[requirement], self.local_index, self.easy_install
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 586, in resolve
dist = best[req.key] = env.best_match(req, self, installer)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 831, in best_match
return self.obtain(req, installer) # try and download/install
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 843, in obtain
return installer(requirement)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 622, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 652, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 847, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 1127, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 1113, in run_setup
run_setup(setup_script, args)
File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 33, in run_setup
lambda: execfile(
File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 81, in run
return func()
File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 35, in
{'file':setup_script, 'name':'main'}
File "setup.py", line 456, in

File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/dist-packages/setuptools/command/bdist_egg.py", line 179, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "/usr/lib/python2.7/dist-packages/setuptools/command/bdist_egg.py", line 166, in call_command
self.run_command(cmdname)
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/dist-packages/setuptools/command/install_lib.py", line 20, in run
self.build()
File "/usr/lib/python2.7/distutils/command/install_lib.py", line 111, in build
self.run_command('build_ext')
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "setup.py", line 251, in run

File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "setup.py", line 278, in run

RuntimeError: autoconf error
azureuser@pycluster0:~/azure-sdk-for-python$

@codingoutloud codingoutloud changed the title Got some errors installing tools in Day 2, Part 4 - Linux Cluster Lab Got some errors installing paramiko in Day 2, Part 4 - Linux Cluster Lab Mar 23, 2014
@codingoutloud codingoutloud removed the bug label Mar 23, 2014
@JohnWintellect
Copy link
Contributor

Closing as ancient.

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