Soft Patch Panel
 help / color / Atom feed
* [spp] [Bug 455] spp does not run with python3
@ 2020-04-19  6:23 bugzilla
  2020-04-19  6:52 ` bugzilla
  2020-04-23  8:32 ` bugzilla
  0 siblings, 2 replies; 3+ messages in thread
From: bugzilla @ 2020-04-19  6:23 UTC (permalink / raw)
  To: spp

https://bugs.dpdk.org/show_bug.cgi?id=455

            Bug ID: 455
           Summary: spp does not run with python3
           Product: SPP
           Version: unspecified
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: ctl
          Assignee: yasufum.o@gmail.com
          Reporter: vipin.varghese@intel.com
                CC: spp@dpdk.org
  Target Milestone: ---

URL: https://doc.dpdk.org/spp/setup/getting_started.html#setup
Python version: 3.6

CMD: ```python3 spp.py```

result:
```
Traceback (most recent call last):
  File "spp.py", line 10, in <module>
    spp.main(sys.argv[1:])
  File "/home/saesrv02/Downloads/explore/spp-19.11/src/cli/spp.py", line 56, in
main
    shell = Shell(spp_cli_objs, args.config, args.wait_pri)
  File "/home/saesrv02/Downloads/explore/spp-19.11/src/cli/shell.py", line 43,
in __init__
    Loader=yaml.FullLoader)
```

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [spp] [Bug 455] spp does not run with python3
  2020-04-19  6:23 [spp] [Bug 455] spp does not run with python3 bugzilla
@ 2020-04-19  6:52 ` bugzilla
  2020-04-23  8:32 ` bugzilla
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla @ 2020-04-19  6:52 UTC (permalink / raw)
  To: spp

https://bugs.dpdk.org/show_bug.cgi?id=455

--- Comment #1 from Vipin Varghese (vipin.varghese@intel.com) ---
spp works with python3 only, after updating ```pip3 install -U PyYAML```.

Please update the documentation for the correct version for ```PyYAML```

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [spp] [Bug 455] spp does not run with python3
  2020-04-19  6:23 [spp] [Bug 455] spp does not run with python3 bugzilla
  2020-04-19  6:52 ` bugzilla
@ 2020-04-23  8:32 ` bugzilla
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla @ 2020-04-23  8:32 UTC (permalink / raw)
  To: spp

https://bugs.dpdk.org/show_bug.cgi?id=455

masahiro nemoto (masahiro.nemoto.es@s1.ntt-tx.co.jp) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |masahiro.nemoto.es@s1.ntt-t
                   |                            |x.co.jp

--- Comment #2 from masahiro nemoto (masahiro.nemoto.es@s1.ntt-tx.co.jp) ---
Hello Vipin.

According to the latest documents in master branch, such dependency is resolved
by follwing
the instruction. pip3 install -r means installing pyYAML to the latest
avaialble version.
What do you think?

https://git.dpdk.org/apps/spp/tree/docs/guides/gsg/install.rst


SPP provides ``requirements.txt`` for installing required packages of Python3.
You might fail to run ``pip3`` without sudo on some environments.

.. code-block:: console

    $ pip3 install -r requirements.txt


The content of requirements.txt.
# spp-ctl
eventlet
bottle
netaddr

# SPP CLI
pyyaml
tornado
websocket-client

# docs
sphinx
sphinx-rtd-theme

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-19  6:23 [spp] [Bug 455] spp does not run with python3 bugzilla
2020-04-19  6:52 ` bugzilla
2020-04-23  8:32 ` bugzilla

Soft Patch Panel

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/spp/0 spp/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 spp spp/ http://inbox.dpdk.org/spp \
		spp@dpdk.org
	public-inbox-index spp


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.spp


AGPL code for this site: git clone https://public-inbox.org/ public-inbox