Getting error while installing Autobahn

#1

pip install autobahntestsuite

Requirement already satisfied (use --upgrade to upgrade): autobahntestsuite in /usr/local/lib/python2.7/dist-packages

Requirement already satisfied (use --upgrade to upgrade): setuptools in /usr/lib/python2.7/dist-packages (from autobahntestsuite)

Requirement already satisfied (use --upgrade to upgrade): autobahn[twisted,accelerate]>=0.9.2 in /usr/local/lib/python2.7/dist-packages (from autobahntestsuite)

Requirement already satisfied (use --upgrade to upgrade): jinja2>=2.6 in /usr/local/lib/python2.7/dist-packages (from autobahntestsuite)

Requirement already satisfied (use --upgrade to upgrade): markupsafe>=0.19 in /usr/local/lib/python2.7/dist-packages (from autobahntestsuite)

Requirement already satisfied (use --upgrade to upgrade): Werkzeug>=0.9.4 in /usr/local/lib/python2.7/dist-packages (from autobahntestsuite)

Requirement already satisfied (use --upgrade to upgrade): klein>=0.2.1 in /usr/local/lib/python2.7/dist-packages (from autobahntestsuite)

Downloading/unpacking pyopenssl>=0.14 (from autobahntestsuite)

Running setup.py egg_info for package pyopenssl

/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: ‘test_suite’

warnings.warn(msg)

/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: ‘install_requires’

warnings.warn(msg)

usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] …]

or: -c --help [cmd1 cmd2 …]

or: -c --help-commands

or: -c cmd --help

error: invalid command ‘egg_info’

Complete output from command python setup.py egg_info:

/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: ‘test_suite’

warnings.warn(msg)

/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: ‘install_requires’

warnings.warn(msg)

usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] …]

or: -c --help [cmd1 cmd2 …]

or: -c --help-commands

or: -c cmd --help

error: invalid command ‘egg_info’

···

Command python setup.py egg_info failed with error code 1

Storing complete log in /root/.pip/pip.log

0 Likes

#2

Did you tried getting the package from git? and using setup script from there…

···

On Tuesday, May 5, 2015 at 10:07:27 AM UTC-7, abhishek sharma wrote:

pip install autobahntestsuite

Requirement already satisfied (use --upgrade to upgrade): autobahntestsuite in /usr/local/lib/python2.7/dist-packages

Requirement already satisfied (use --upgrade to upgrade): setuptools in /usr/lib/python2.7/dist-packages (from autobahntestsuite)

Requirement already satisfied (use --upgrade to upgrade): autobahn[twisted,accelerate]>=0.9.2 in /usr/local/lib/python2.7/dist-packages (from autobahntestsuite)

Requirement already satisfied (use --upgrade to upgrade): jinja2>=2.6 in /usr/local/lib/python2.7/dist-packages (from autobahntestsuite)

Requirement already satisfied (use --upgrade to upgrade): markupsafe>=0.19 in /usr/local/lib/python2.7/dist-packages (from autobahntestsuite)

Requirement already satisfied (use --upgrade to upgrade): Werkzeug>=0.9.4 in /usr/local/lib/python2.7/dist-packages (from autobahntestsuite)

Requirement already satisfied (use --upgrade to upgrade): klein>=0.2.1 in /usr/local/lib/python2.7/dist-packages (from autobahntestsuite)

Downloading/unpacking pyopenssl>=0.14 (from autobahntestsuite)

Running setup.py egg_info for package pyopenssl

/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: ‘test_suite’

warnings.warn(msg)

/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: ‘install_requires’

warnings.warn(msg)

usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] …]

or: -c --help [cmd1 cmd2 …]

or: -c --help-commands

or: -c cmd --help

error: invalid command ‘egg_info’

Complete output from command python setup.py egg_info:

/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: ‘test_suite’

warnings.warn(msg)

/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: ‘install_requires’

warnings.warn(msg)

usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] …]

or: -c --help [cmd1 cmd2 …]

or: -c --help-commands

or: -c cmd --help

error: invalid command ‘egg_info’


Command python setup.py egg_info failed with error code 1

Storing complete log in /root/.pip/pip.log

0 Likes

#3

I installed it from git. But when I run “wstest --help” command then I get below error while I have installed pyasn1 explicitly on my machine.

Traceback (most recent call last):

File “/usr/local/bin/wstest”, line 5, in

from pkg_resources import load_entry_point

File “/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py”, line 3070, in

@_call_aside

File “/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py”, line 3056, in _call_aside

f(*args, **kwargs)

File “/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py”, line 3083, in _initialize_master_working_set

working_set = WorkingSet._build_master()

File “/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py”, line 647, in _build_master

return cls._build_from_requirements(requires)

File “/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py”, line 660, in _build_from_requirements

dists = ws.resolve(reqs, Environment())

File “/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py”, line 833, in resolve

raise DistributionNotFound(req, requirers)

pkg_resources.DistributionNotFound: The ‘pyasn1-modules’ distribution was not found and is required by service-identity

···

On Tuesday, 5 May 2015 22:45:52 UTC+5:30, Mohit Sharma wrote:

Did you tried getting the package from git? and using setup script from there…

On Tuesday, May 5, 2015 at 10:07:27 AM UTC-7, abhishek sharma wrote:

pip install autobahntestsuite

Requirement already satisfied (use --upgrade to upgrade): autobahntestsuite in /usr/local/lib/python2.7/dist-packages

Requirement already satisfied (use --upgrade to upgrade): setuptools in /usr/lib/python2.7/dist-packages (from autobahntestsuite)

Requirement already satisfied (use --upgrade to upgrade): autobahn[twisted,accelerate]>=0.9.2 in /usr/local/lib/python2.7/dist-packages (from autobahntestsuite)

Requirement already satisfied (use --upgrade to upgrade): jinja2>=2.6 in /usr/local/lib/python2.7/dist-packages (from autobahntestsuite)

Requirement already satisfied (use --upgrade to upgrade): markupsafe>=0.19 in /usr/local/lib/python2.7/dist-packages (from autobahntestsuite)

Requirement already satisfied (use --upgrade to upgrade): Werkzeug>=0.9.4 in /usr/local/lib/python2.7/dist-packages (from autobahntestsuite)

Requirement already satisfied (use --upgrade to upgrade): klein>=0.2.1 in /usr/local/lib/python2.7/dist-packages (from autobahntestsuite)

Downloading/unpacking pyopenssl>=0.14 (from autobahntestsuite)

Running setup.py egg_info for package pyopenssl

/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: ‘test_suite’

warnings.warn(msg)

/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: ‘install_requires’

warnings.warn(msg)

usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] …]

or: -c --help [cmd1 cmd2 …]

or: -c --help-commands

or: -c cmd --help

error: invalid command ‘egg_info’

Complete output from command python setup.py egg_info:

/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: ‘test_suite’

warnings.warn(msg)

/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: ‘install_requires’

warnings.warn(msg)

usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] …]

or: -c --help [cmd1 cmd2 …]

or: -c --help-commands

or: -c cmd --help

error: invalid command ‘egg_info’


Command python setup.py egg_info failed with error code 1

Storing complete log in /root/.pip/pip.log

0 Likes