Hi Daniel,
The Python environment installed by the package is meant to be
self-contained, and the Python modules within it can't be copied around.
What you're seeing is a result of that.
If you'd like RBTools to be installed into an existing Python environment,
then you'll need to install it using pip instead of the Windows installer:
pip install -U RBTools
First, though, you'll need to remove the directories you copied ito
site-packages.
Let me know if that helps or if you're still hitting problems.
Christian
On Mon, Feb 27, 2017 at 08:47 spacekangaroo <[email protected]> wrote:
> Hello everybody,
>
>
>
> I using Python 2.7 and have loaded RBTools-0.7.9.exe from
> https://www.reviewboard.org/downloads/rbtools/ … it’s using Python 2.7
> too.
>
>
> I’ve copied the folder Python27\Lib\site-packages\rbtools to my python
> site-packages folder …
>
>
>
> By instantiate the client
>
> from rbtools.api.client import RBClient
>
> I get the following fault
>
>
>
> File "C:\Python27\lib\site-packages\rbtools\api\client.py", line 3, in
> <module> from urllib.parse import urlparse
>
> ImportError: No module named parse
>
>
>
> It‘s true - in client.py line 3 the class urlparse should be imported
>
> urllib.parse import urlparse
>
> but they don’t exist at this place
>
>
>
> I’ve changed
> urllib.parse import urlparse
>
> to
>
> import urlparse
>
> and now it’s working … and I get a fault in the next line
>
> File "C:\Python27\lib\site-packages\rbtools\api\client.py", line 4, in
> <module> import SyncTransport
> ImportError: No module named SyncTransport
>
>
>
> What’s wrong with RBTools? Do I need something else?
> Sure I make a beginner error - has someone a tip for me?
>
> Thanks
> Daniel
>
> --
> 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 [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
--
--
Christian Hammond
President/CEO of Beanbag <https://www.beanbaginc.com/>
Makers of Review Board <https://www.reviewboard.org/>
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.