Hi John,

That import doesn’t specifically import urllib.parse; it imports it from Six, a 
Python 2 — 3 compatibility layer. Can you verify that importing 
“six.moves.urllib.parse.urlparse” does not work in terminal?

Regards,
Barret Rennie
> On Jun 18, 2015, at 12:02 PM, John Schmitt <marmalo...@gmail.com> wrote:
> 
> Which module must I install to run rbt?
> 
>         # which rbt
>         /usr/bin/rbt
>         # rpm -q --whatprovides /usr/bin/rbt
>         RBTools-0.7.2-1.el7.noarch
>         # rbt --help
>         Traceback (most recent call last):
>           File "/usr/bin/rbt", line 9, in <module>
>             load_entry_point('RBTools==0.7.2', 'console_scripts', 'rbt')()
>           File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 378, 
> in load_entry_point
>             return get_distribution(dist).load_entry_point(group, name)
>           File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 
> 2566, in load_entry_point
>             return ep.load()
>           File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 
> 2260, in load
>             entry = __import__(self.module_name, globals(),globals(), 
> ['__name__'])
>           File 
> "/usr/lib/python2.7/site-packages/rbtools/commands/__init__.py", line 12, in 
> <module>
>             from six.moves.urllib.parse import urlparse
>         ImportError: No module named urllib.parse
> 
> However, I can import urllib without error:
> 
>         # python
>         Python 2.7.5 (default, Jun 17 2014, 18:11:42)
>         [GCC 4.8.2 20140120 (Red Hat 4.8.2-16)] on linux2
>         Type "help", "copyright", "credits" or "license" for more information.
>         >>> import urllib
>         >>>
> 
> 
> 
> -- 
> Supercharge your Review Board with Power Pack: 
> https://www.reviewboard.org/powerpack/ 
> <https://www.reviewboard.org/powerpack/>
> Want us to host Review Board for you? Check out RBCommons: 
> https://rbcommons.com/ <https://rbcommons.com/>
> Happy user? Let us know! https://www.reviewboard.org/users/ 
> <https://www.reviewboard.org/users/>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to reviewboard+unsubscr...@googlegroups.com 
> <mailto:reviewboard+unsubscr...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to