BQ client install error

56 views
Skip to first unread message

d'Waran v

unread,
Apr 27, 2016, 2:04:53 PM4/27/16
to BotQueue
Hello!

I am trying to install the bqclient on my mac and it is throwing an error in the terminal window.

I have the py 2.7 installed and I am following the instructions as per this page https://www.botqueue.com/help

Exception:

Traceback (most recent call last):

  File "/Library/Python/2.7/site-packages/pip-8.1.1-py2.7.egg/pip/basecommand.py", line 209, in main

    status = self.run(options, args)

  File "/Library/Python/2.7/site-packages/pip-8.1.1-py2.7.egg/pip/commands/install.py", line 317, in run

    prefix=options.prefix_path,

  File "/Library/Python/2.7/site-packages/pip-8.1.1-py2.7.egg/pip/req/req_set.py", line 732, in install

    **kwargs

  File "/Library/Python/2.7/site-packages/pip-8.1.1-py2.7.egg/pip/req/req_install.py", line 835, in install

    self.move_wheel_files(self.source_dir, root=root, prefix=prefix)

  File "/Library/Python/2.7/site-packages/pip-8.1.1-py2.7.egg/pip/req/req_install.py", line 1030, in move_wheel_files

    isolated=self.isolated,

  File "/Library/Python/2.7/site-packages/pip-8.1.1-py2.7.egg/pip/wheel.py", line 344, in move_wheel_files

    clobber(source, lib_dir, True)

  File "/Library/Python/2.7/site-packages/pip-8.1.1-py2.7.egg/pip/wheel.py", line 315, in clobber

    ensure_dir(destdir)

  File "/Library/Python/2.7/site-packages/pip-8.1.1-py2.7.egg/pip/utils/__init__.py", line 83, in ensure_dir

    os.makedirs(path)

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py", line 157, in makedirs

    mkdir(name, mode)

OSError: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/pygments'


Any idea how to resolve this ?

Justin Nesselrotte

unread,
Apr 27, 2016, 2:06:54 PM4/27/16
to botq...@googlegroups.com

You need to install the client in a virtualenv instead of with sudo.

--
You received this message because you are subscribed to the Google Groups "BotQueue" group.
To unsubscribe from this group and stop receiving emails from it, send an email to botqueue+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Message has been deleted
Message has been deleted

Justin Nesselrotte

unread,
Apr 27, 2016, 4:54:09 PM4/27/16
to botq...@googlegroups.com

Okay. That's the wrong way to do it but I have no time to work on it or help right now unfortunately.

On Apr 27, 2016 2:52 PM, "d'Waran v" <dinw...@gmail.com> wrote:
I did sudo pip install bqclient and it worked

d'Waran v

unread,
Apr 27, 2016, 4:54:29 PM4/27/16
to BotQueue
Justin,

I used sudo pip install and it worked. I didnt use sudo before

Now I am having trouble running Bumblebee


Traceback (most recent call last):

  File "/usr/local/bin/bumblebee", line 5, in <module>

    from pkg_resources import load_entry_point

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2603, in <module>

    working_set.require(__requires__)

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 666, in require

    needed = self.resolve(parse_requirements(requirements))

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 565, in resolve

    raise DistributionNotFound(req)  # XXX put more info here

pkg_resources.DistributionNotFound: beautifulsoup4 

Any help ?

d'Waran v

unread,
Apr 27, 2016, 4:56:31 PM4/27/16
to BotQueue
Could you please point me in the right direction ?

or give high level information so that I can get this up and running

Justin Nesselrotte

unread,
Apr 27, 2016, 4:59:39 PM4/27/16
to botq...@googlegroups.com

Yes, it's not working because you used sudo. I'm sorry, I don't have time to help right now. And even if you do get it installed, there's a bug that will prevent you from connecting to a bot that I'm still trying to fix.

d'Waran v

unread,
Apr 27, 2016, 5:14:45 PM4/27/16
to BotQueue
Oh okay. Thanks for letting me know.

I will keep watching this space
Reply all
Reply to author
Forward
0 new messages