Git install - errors

Get this when trying to install from source
OS X 10.7.5

File “setup.py”, line 158, in
site_packages = getsitepackages()[0]
File “setup.py”, line 83, in getsitepackages
prefixes.append(sys.real_prefix)
AttributeError: ‘module’ object has no attribute ‘real_prefix’

Any suggestions

Harry

It seems a bug introduced by the last PR… and it is platform-specific…

Would you mind to open an issue at Github? I will investigate it today…

···

On Thu, Feb 27, 2014 at 12:33 PM, Harry [email protected] wrote:

Get this when trying to install from source
OS X 10.7.5

File “setup.py”, line 158, in
site_packages = getsitepackages()[0]
File “setup.py”, line 83, in getsitepackages

prefixes.append(sys.real_prefix)

AttributeError: ‘module’ object has no attribute ‘real_prefix’

Any suggestions

Harry

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/24ce90c9-4ad5-4004-9169-4194508d83ff%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out.

Forget about opening the issue… I reopened a close one here: https://github.com/ContinuumIO/bokeh/issues/378

And you have a fix attempt here: https://github.com/ContinuumIO/bokeh/pull/381

Please, check if this fix PR is working for you and report us back (you can use the Github interface to do it).

Cheers.

···

On Thu, Feb 27, 2014 at 12:54 PM, Damian Avila [email protected] wrote:

It seems a bug introduced by the last PR… and it is platform-specific…

Would you mind to open an issue at Github? I will investigate it today…

On Thu, Feb 27, 2014 at 12:33 PM, Harry [email protected] wrote:

Get this when trying to install from source
OS X 10.7.5

File “setup.py”, line 158, in
site_packages = getsitepackages()[0]
File “setup.py”, line 83, in getsitepackages

prefixes.append(sys.real_prefix)

AttributeError: ‘module’ object has no attribute ‘real_prefix’

Any suggestions

Harry

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/24ce90c9-4ad5-4004-9169-4194508d83ff%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out.

Can’t seem to find the place to create an issue on the git.

···

On Thursday, February 27, 2014 9:54:05 AM UTC-6, Damian Avila wrote:

It seems a bug introduced by the last PR… and it is platform-specific…

Would you mind to open an issue at Github? I will investigate it today…

On Thu, Feb 27, 2014 at 12:33 PM, Harry [email protected] wrote:

Get this when trying to install from source
OS X 10.7.5

File “setup.py”, line 158, in
site_packages = getsitepackages()[0]
File “setup.py”, line 83, in getsitepackages

prefixes.append(sys.real_prefix)

AttributeError: ‘module’ object has no attribute ‘real_prefix’

Any suggestions

Harry

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/24ce90c9-4ad5-4004-9169-4194508d83ff%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out.

No problem! I did it for you… I just sent an email to this list about that… probably you will get it soon, but if not, please just check if this PR fix the problem: https://github.com/ContinuumIO/bokeh/pull/381

Cheers.

···

On Thu, Feb 27, 2014 at 2:44 PM, Harry [email protected] wrote:

Can’t seem to find the place to create an issue on the git.

On Thursday, February 27, 2014 9:54:05 AM UTC-6, Damian Avila wrote:

It seems a bug introduced by the last PR… and it is platform-specific…

Would you mind to open an issue at Github? I will investigate it today…

On Thu, Feb 27, 2014 at 12:33 PM, Harry [email protected] wrote:

Get this when trying to install from source
OS X 10.7.5

File “setup.py”, line 158, in
site_packages = getsitepackages()[0]
File “setup.py”, line 83, in getsitepackages

prefixes.append(sys.real_prefix)

AttributeError: ‘module’ object has no attribute ‘real_prefix’

Any suggestions

Harry

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/24ce90c9-4ad5-4004-9169-4194508d83ff%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/b8c8f37e-9e9a-4de5-946b-97db6b600576%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out.

This is what I get from the new file

user$ python setup.py
File “setup.py”, line 85
for prefix in prefixes:
^
IndentationError: expected an indented block
hihosilver:bokeh user$ python setup.py
/Users/user/anaconda/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: ‘zip_safe’
warnings.warn(msg)
/Users/user/anaconda/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: ‘install_requires’
warnings.warn(msg)
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] …]
or: setup.py --help [cmd1 cmd2 …]
or: setup.py --help-commands
or: setup.py cmd --help

error: no commands supplied

···

On Thursday, February 27, 2014 11:50:03 AM UTC-6, Damian Avila wrote:

No problem! I did it for you… I just sent an email to this list about that… probably you will get it soon, but if not, please just check if this PR fix the problem: https://github.com/ContinuumIO/bokeh/pull/381

Cheers.

On Thu, Feb 27, 2014 at 2:44 PM, Harry [email protected] wrote:

Can’t seem to find the place to create an issue on the git.

On Thursday, February 27, 2014 9:54:05 AM UTC-6, Damian Avila wrote:

It seems a bug introduced by the last PR… and it is platform-specific…

Would you mind to open an issue at Github? I will investigate it today…

On Thu, Feb 27, 2014 at 12:33 PM, Harry [email protected] wrote:

Get this when trying to install from source
OS X 10.7.5

File “setup.py”, line 158, in
site_packages = getsitepackages()[0]
File “setup.py”, line 83, in getsitepackages

prefixes.append(sys.real_prefix)

AttributeError: ‘module’ object has no attribute ‘real_prefix’

Any suggestions

Harry

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/24ce90c9-4ad5-4004-9169-4194508d83ff%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/b8c8f37e-9e9a-4de5-946b-97db6b600576%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out.

Disregard last post - edited incorrectly

hihosilver:bokeh user$ python setup.py
/Users/user/anaconda/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: ‘zip_safe’
warnings.warn(msg)
/Users/user/anaconda/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: ‘install_requires’
warnings.warn(msg)
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] …]
or: setup.py --help [cmd1 cmd2 …]
or: setup.py --help-commands
or: setup.py cmd --help

error: no commands supplied

···

On Thursday, February 27, 2014 11:50:03 AM UTC-6, Damian Avila wrote:

No problem! I did it for you… I just sent an email to this list about that… probably you will get it soon, but if not, please just check if this PR fix the problem: https://github.com/ContinuumIO/bokeh/pull/381

Cheers.

On Thu, Feb 27, 2014 at 2:44 PM, Harry [email protected] wrote:

Can’t seem to find the place to create an issue on the git.

On Thursday, February 27, 2014 9:54:05 AM UTC-6, Damian Avila wrote:

It seems a bug introduced by the last PR… and it is platform-specific…

Would you mind to open an issue at Github? I will investigate it today…

On Thu, Feb 27, 2014 at 12:33 PM, Harry [email protected] wrote:

Get this when trying to install from source
OS X 10.7.5

File “setup.py”, line 158, in
site_packages = getsitepackages()[0]
File “setup.py”, line 83, in getsitepackages

prefixes.append(sys.real_prefix)

AttributeError: ‘module’ object has no attribute ‘real_prefix’

Any suggestions

Harry

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/24ce90c9-4ad5-4004-9169-4194508d83ff%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/b8c8f37e-9e9a-4de5-946b-97db6b600576%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out.

So… Does the PR work for you? Did you successfully install bokeh from source?

···

On Thu, Feb 27, 2014 at 3:16 PM, Harry [email protected] wrote:

Disregard last post - edited incorrectly

hihosilver:bokeh user$ python setup.py

/Users/user/anaconda/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: ‘zip_safe’
warnings.warn(msg)
/Users/user/anaconda/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: ‘install_requires’

warnings.warn(msg)
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] …]
or: setup.py --help [cmd1 cmd2 …]
or: setup.py --help-commands
or: setup.py cmd --help

error: no commands supplied

On Thursday, February 27, 2014 11:50:03 AM UTC-6, Damian Avila wrote:

No problem! I did it for you… I just sent an email to this list about that… probably you will get it soon, but if not, please just check if this PR fix the problem: https://github.com/ContinuumIO/bokeh/pull/381

Cheers.

On Thu, Feb 27, 2014 at 2:44 PM, Harry [email protected] wrote:

Can’t seem to find the place to create an issue on the git.

On Thursday, February 27, 2014 9:54:05 AM UTC-6, Damian Avila wrote:

It seems a bug introduced by the last PR… and it is platform-specific…

Would you mind to open an issue at Github? I will investigate it today…

On Thu, Feb 27, 2014 at 12:33 PM, Harry [email protected] wrote:

Get this when trying to install from source
OS X 10.7.5

File “setup.py”, line 158, in
site_packages = getsitepackages()[0]
File “setup.py”, line 83, in getsitepackages

prefixes.append(sys.real_prefix)

AttributeError: ‘module’ object has no attribute ‘real_prefix’

Any suggestions

Harry

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/24ce90c9-4ad5-4004-9169-4194508d83ff%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/b8c8f37e-9e9a-4de5-946b-97db6b600576%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out.

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/cf563dd4-024d-497d-9bac-e07a114c9d4e%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out.

I am not sure when I got the warnings I did not go any further.

···

On Thu, Feb 27, 2014 at 3:16 PM, Harry [email protected] wrote:

Disregard last post - edited incorrectly

hihosilver:bokeh user$ python setup.py

/Users/user/anaconda/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: ‘zip_safe’
warnings.warn(msg)
/Users/user/anaconda/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: ‘install_requires’

warnings.warn(msg)
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] …]
or: setup.py --help [cmd1 cmd2 …]
or: setup.py --help-commands
or: setup.py cmd --help

error: no commands supplied

On Thursday, February 27, 2014 11:50:03 AM UTC-6, Damian Avila wrote:

No problem! I did it for you… I just sent an email to this list about that… probably you will get it soon, but if not, please just check if this PR fix the problem: https://github.com/ContinuumIO/bokeh/pull/381

Cheers.

On Thu, Feb 27, 2014 at 2:44 PM, Harry [email protected] wrote:

Can’t seem to find the place to create an issue on the git.

On Thursday, February 27, 2014 9:54:05 AM UTC-6, Damian Avila wrote:

It seems a bug introduced by the last PR… and it is platform-specific…

Would you mind to open an issue at Github? I will investigate it today…

On Thu, Feb 27, 2014 at 12:33 PM, Harry [email protected] wrote:

Get this when trying to install from source
OS X 10.7.5

File “setup.py”, line 158, in
site_packages = getsitepackages()[0]
File “setup.py”, line 83, in getsitepackages

prefixes.append(sys.real_prefix)

AttributeError: ‘module’ object has no attribute ‘real_prefix’

Any suggestions

Harry

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/24ce90c9-4ad5-4004-9169-4194508d83ff%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/b8c8f37e-9e9a-4de5-946b-97db6b600576%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out.

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/cf563dd4-024d-497d-9bac-e07a114c9d4e%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out.

I tried the texas.py file in examples/plotting/file/ and got this.

hihosilver:file user$ python texas.py

Traceback (most recent call last):

File “texas.py”, line 2, in

from bokeh.sampledata import us_counties, unemployment

ImportError: No module named bokeh.sampledata

···

On Thu, Feb 27, 2014 at 3:16 PM, Harry [email protected] wrote:

Disregard last post - edited incorrectly

hihosilver:bokeh user$ python setup.py

/Users/user/anaconda/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: ‘zip_safe’
warnings.warn(msg)
/Users/user/anaconda/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: ‘install_requires’

warnings.warn(msg)
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] …]
or: setup.py --help [cmd1 cmd2 …]
or: setup.py --help-commands
or: setup.py cmd --help

error: no commands supplied

On Thursday, February 27, 2014 11:50:03 AM UTC-6, Damian Avila wrote:

No problem! I did it for you… I just sent an email to this list about that… probably you will get it soon, but if not, please just check if this PR fix the problem: https://github.com/ContinuumIO/bokeh/pull/381

Cheers.

On Thu, Feb 27, 2014 at 2:44 PM, Harry [email protected] wrote:

Can’t seem to find the place to create an issue on the git.

On Thursday, February 27, 2014 9:54:05 AM UTC-6, Damian Avila wrote:

It seems a bug introduced by the last PR… and it is platform-specific…

Would you mind to open an issue at Github? I will investigate it today…

On Thu, Feb 27, 2014 at 12:33 PM, Harry [email protected] wrote:

Get this when trying to install from source
OS X 10.7.5

File “setup.py”, line 158, in
site_packages = getsitepackages()[0]
File “setup.py”, line 83, in getsitepackages

prefixes.append(sys.real_prefix)

AttributeError: ‘module’ object has no attribute ‘real_prefix’

Any suggestions

Harry

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/24ce90c9-4ad5-4004-9169-4194508d83ff%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/b8c8f37e-9e9a-4de5-946b-97db6b600576%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out.

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/cf563dd4-024d-497d-9bac-e07a114c9d4e%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out.

But did you tried this one to install it?

python setup.py install

Because I do not see the install command from the text you have posted…

···

On Thu, Feb 27, 2014 at 7:27 PM, Harry Osoff [email protected] wrote:

I tried the texas.py file in examples/plotting/file/ and got this.

hihosilver:file user$ python texas.py

Traceback (most recent call last):

File “texas.py”, line 2, in

from bokeh.sampledata import us_counties, unemployment

ImportError: No module named bokeh.sampledata

On Feb 27, 2014, at 1:52 PM, Damian Avila wrote:

So… Does the PR work for you? Did you successfully install bokeh from source?

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/CAM9Ly3Equx6yDEXx%3DJDw9tZQgtWex6FB0PmMQkDoYWUGou77Xw%40mail.gmail.com.

For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out.

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/EDBD5A4C-B065-4CA6-9090-D76A2891F3B2%40gmail.com.

For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out.

On Thu, Feb 27, 2014 at 3:16 PM, Harry [email protected] wrote:

Disregard last post - edited incorrectly

hihosilver:bokeh user$ python setup.py

/Users/user/anaconda/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: ‘zip_safe’
warnings.warn(msg)
/Users/user/anaconda/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: ‘install_requires’

warnings.warn(msg)
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] …]
or: setup.py --help [cmd1 cmd2 …]
or: setup.py --help-commands
or: setup.py cmd --help

error: no commands supplied

On Thursday, February 27, 2014 11:50:03 AM UTC-6, Damian Avila wrote:

No problem! I did it for you… I just sent an email to this list about that… probably you will get it soon, but if not, please just check if this PR fix the problem: https://github.com/ContinuumIO/bokeh/pull/381

Cheers.

On Thu, Feb 27, 2014 at 2:44 PM, Harry [email protected] wrote:

Can’t seem to find the place to create an issue on the git.

On Thursday, February 27, 2014 9:54:05 AM UTC-6, Damian Avila wrote:

It seems a bug introduced by the last PR… and it is platform-specific…

Would you mind to open an issue at Github? I will investigate it today…

On Thu, Feb 27, 2014 at 12:33 PM, Harry [email protected] wrote:

Get this when trying to install from source
OS X 10.7.5

File “setup.py”, line 158, in
site_packages = getsitepackages()[0]
File “setup.py”, line 83, in getsitepackages

prefixes.append(sys.real_prefix)

AttributeError: ‘module’ object has no attribute ‘real_prefix’

Any suggestions

Harry

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/24ce90c9-4ad5-4004-9169-4194508d83ff%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/b8c8f37e-9e9a-4de5-946b-97db6b600576%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out.

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/cf563dd4-024d-497d-9bac-e07a114c9d4e%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out.

Hi Harry,

It seems like Bokeh has not been installed in your site-pacakges. As Damian mentioned you also have to run (at a minimum):

   python setup.py install

before the examples work. I think below, you left off the "install" part. However, just FYI there is no guarantee that the last released BokehJS will work perfectly with the HEAD of the master branch on GitHub, so you may need to build and deploy the javascript code under the bokehjs directory as well, though I think it should be ok at the moment.

Are you just wanting to use the library? Bokeh is a large package with nontrivial dependencies and a somewhat complicated build across multiple languages. Unless you are wanting to do active development on it, it will be much simple to just use one off the package managers to install it. You can try either "pip install bokeh", or "conda install bokeh" if you are using Anaconda.

Let us know if this helps,

Bryan

···

On Feb 27, 2014, at 1:52 PM, Damian Avila wrote:

So... Does the PR work for you? Did you successfully install bokeh from source?

On Thu, Feb 27, 2014 at 3:16 PM, Harry <[email protected]> wrote:
Disregard last post - edited incorrectly

hihosilver:bokeh user$ python setup.py
/Users/user/anaconda/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'zip_safe'
  warnings.warn(msg)
/Users/user/anaconda/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
  warnings.warn(msg)
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: no commands supplied

On Thursday, February 27, 2014 11:50:03 AM UTC-6, Damian Avila wrote:
No problem! I did it for you... I just sent an email to this list about that... probably you will get it soon, but if not, please just check if this PR fix the problem: Deleted reference to sys.real_path in setup.py by damianavila · Pull Request #381 · bokeh/bokeh · GitHub

Cheers.

On Thu, Feb 27, 2014 at 2:44 PM, Harry <[email protected]> wrote:
Can't seem to find the place to create an issue on the git.

On Thursday, February 27, 2014 9:54:05 AM UTC-6, Damian Avila wrote:
It seems a bug introduced by the last PR... and it is platform-specific...

Would you mind to open an issue at Github? I will investigate it today...

On Thu, Feb 27, 2014 at 12:33 PM, Harry <[email protected]> wrote:
Get this when trying to install from source
OS X 10.7.5

File "setup.py", line 158, in <module>
    site_packages = getsitepackages()[0]
  File "setup.py", line 83, in getsitepackages
    prefixes.append(sys.real_prefix)
AttributeError: 'module' object has no attribute 'real_prefix'

Any suggestions

Harry

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+un...@continuum.io.
To post to this group, send email to bo...@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/24ce90c9-4ad5-4004-9169-4194508d83ff%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out\.

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+un...@continuum.io.
To post to this group, send email to bo...@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/b8c8f37e-9e9a-4de5-946b-97db6b600576%40continuum.io\.

For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out\.

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/cf563dd4-024d-497d-9bac-e07a114c9d4e%40continuum.io\.

For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out\.

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/CAM9Ly3Equx6yDEXx%3DJDw9tZQgtWex6FB0PmMQkDoYWUGou77Xw%40mail.gmail.com\.
For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out\.

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/EDBD5A4C-B065-4CA6-9090-D76A2891F3B2%40gmail.com\.
For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out\.

I will try that now.
Just following the install instruction per the bokeh website

···

On Feb 27, 2014, at 4:37 PM, Damian Avila wrote:

python setup.py install

OK Just ran that command and it ran through without errors

Tried to run texas.py and got this error

hihosilver:bokeh user$ python examples/plotting/file/texas.py

Traceback (most recent call last):

File “examples/plotting/file/texas.py”, line 2, in

from bokeh.sampledata import us_counties, unemployment

File “/Users/user/anaconda/lib/python2.7/site-packages/bokeh/sampledata/us_counties.py”, line 16, in

data_dir = _data_dir()

File “/Users/user/anaconda/lib/python2.7/site-packages/bokeh/sampledata/init.py”, line 35, in _data_dir

raise RuntimeError(‘bokeh sample data directory does not exist, please execute bokeh.sampledata.download()’)

RuntimeError: bokeh sample data directory does not exist, please execute bokeh.sampledata.download()

···

On Thu, Feb 27, 2014 at 7:27 PM, Harry Osoff [email protected] wrote:

I tried the texas.py file in examples/plotting/file/ and got this.

hihosilver:file user$ python texas.py

Traceback (most recent call last):

File “texas.py”, line 2, in

from bokeh.sampledata import us_counties, unemployment

ImportError: No module named bokeh.sampledata

On Feb 27, 2014, at 1:52 PM, Damian Avila wrote:

This is because you need the sample data…

First, try with this other example:

python examples/plotting/file/iris.py

and you will see the plot in the browser.

Then, if you want to play with texas.py, you will need first to execute bokeh.sampledata.download()

Cheers.

···

On Fri, Feb 28, 2014 at 2:47 PM, Harry Osoff [email protected] wrote:

OK Just ran that command and it ran through without errors
Tried to run texas.py and got this error

hihosilver:bokeh user$ python examples/plotting/file/texas.py

Traceback (most recent call last):

File “examples/plotting/file/texas.py”, line 2, in

from bokeh.sampledata import us_counties, unemployment

File “/Users/user/anaconda/lib/python2.7/site-packages/bokeh/sampledata/us_counties.py”, line 16, in

data_dir = _data_dir()

File “/Users/user/anaconda/lib/python2.7/site-packages/bokeh/sampledata/init.py”, line 35, in _data_dir

raise RuntimeError(‘bokeh sample data directory does not exist, please execute bokeh.sampledata.download()’)

RuntimeError: bokeh sample data directory does not exist, please execute bokeh.sampledata.download()

On Feb 27, 2014, at 4:37 PM, Damian Avila wrote:

But did you tried this one to install it?

python setup.py install

Because I do not see the install command from the text you have posted…

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/AFFF0194-F6B2-47BD-8BB2-1E848F7C661C%40gmail.com.

For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out.

On Thu, Feb 27, 2014 at 7:27 PM, Harry Osoff [email protected] wrote:

I tried the texas.py file in examples/plotting/file/ and got this.

hihosilver:file user$ python texas.py

Traceback (most recent call last):

File “texas.py”, line 2, in

from bokeh.sampledata import us_counties, unemployment

ImportError: No module named bokeh.sampledata

On Feb 27, 2014, at 1:52 PM, Damian Avila wrote:

Please pardon my lack of understanding -

How do you implement the execute command?

The sample.data folder is in the second level bokeh folder

but when i duplicate it into the top level bokeh directory I still get the same error

···

On Fri, Feb 28, 2014 at 2:47 PM, Harry Osoff [email protected] wrote:

OK Just ran that command and it ran through without errors
Tried to run texas.py and got this error

hihosilver:bokeh user$ python examples/plotting/file/texas.py

Traceback (most recent call last):

File “examples/plotting/file/texas.py”, line 2, in

from bokeh.sampledata import us_counties, unemployment

File “/Users/user/anaconda/lib/python2.7/site-packages/bokeh/sampledata/us_counties.py”, line 16, in

data_dir = _data_dir()

File “/Users/user/anaconda/lib/python2.7/site-packages/bokeh/sampledata/init.py”, line 35, in _data_dir

raise RuntimeError(‘bokeh sample data directory does not exist, please execute bokeh.sampledata.download()’)

RuntimeError: bokeh sample data directory does not exist, please execute bokeh.sampledata.download()

On Feb 27, 2014, at 4:37 PM, Damian Avila wrote:

But did you tried this one to install it?

python setup.py install

Because I do not see the install command from the text you have posted…

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/AFFF0194-F6B2-47BD-8BB2-1E848F7C661C%40gmail.com.

For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out.

On Thu, Feb 27, 2014 at 7:27 PM, Harry Osoff [email protected] wrote:

I tried the texas.py file in examples/plotting/file/ and got this.

hihosilver:file user$ python texas.py

Traceback (most recent call last):

File “texas.py”, line 2, in

from bokeh.sampledata import us_counties, unemployment

ImportError: No module named bokeh.sampledata

On Feb 27, 2014, at 1:52 PM, Damian Avila wrote:

In the bokeh main folder, just run:

python

to enter the interactive console, you will see this >>> prompt now and write:

import bokeh

bokeh.sampledata.download()

BTW, did you tried with the iris plot as I mentioned before?

···

On Fri, Feb 28, 2014 at 3:15 PM, Harry Osoff [email protected] wrote:

Please pardon my lack of understanding -
How do you implement the execute command?

The sample.data folder is in the second level bokeh folder

but when i duplicate it into the top level bokeh directory I still get the same error

On Feb 28, 2014, at 11:58 AM, Damian Avila wrote:

This is because you need the sample data…

First, try with this other example:

python examples/plotting/file/iris.py

and you will see the plot in the browser.

Then, if you want to play with texas.py, you will need first to execute bokeh.sampledata.download()

Cheers.

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/CAM9Ly3EQ5KnWjWXZnbBFUWhuE6yJKi2jpi8oYc4Of1Z03gY9SA%40mail.gmail.com.

For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out.

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/B509F697-17F7-4BB8-B07A-2B4A1935A0EE%40gmail.com.

For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out.

On Fri, Feb 28, 2014 at 2:47 PM, Harry Osoff [email protected] wrote:

OK Just ran that command and it ran through without errors
Tried to run texas.py and got this error

hihosilver:bokeh user$ python examples/plotting/file/texas.py

Traceback (most recent call last):

File “examples/plotting/file/texas.py”, line 2, in

from bokeh.sampledata import us_counties, unemployment

File “/Users/user/anaconda/lib/python2.7/site-packages/bokeh/sampledata/us_counties.py”, line 16, in

data_dir = _data_dir()

File “/Users/user/anaconda/lib/python2.7/site-packages/bokeh/sampledata/init.py”, line 35, in _data_dir

raise RuntimeError(‘bokeh sample data directory does not exist, please execute bokeh.sampledata.download()’)

RuntimeError: bokeh sample data directory does not exist, please execute bokeh.sampledata.download()

On Feb 27, 2014, at 4:37 PM, Damian Avila wrote:

But did you tried this one to install it?

python setup.py install

Because I do not see the install command from the text you have posted…

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/AFFF0194-F6B2-47BD-8BB2-1E848F7C661C%40gmail.com.

For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out.

On Thu, Feb 27, 2014 at 7:27 PM, Harry Osoff [email protected] wrote:

I tried the texas.py file in examples/plotting/file/ and got this.

hihosilver:file user$ python texas.py

Traceback (most recent call last):

File “texas.py”, line 2, in

from bokeh.sampledata import us_counties, unemployment

ImportError: No module named bokeh.sampledata

On Feb 27, 2014, at 1:52 PM, Damian Avila wrote:

Damian,

Thanks so much for your help -

I did run iris successfully - my interest mainly is the graphing of

the types of data found in texas.py which I was also to run successfully.

Question - Is that import of the sample data temporary or permanent?

Harry

···

On Feb 28, 2014, at 12:27 PM, Damian Avila wrote:

import bokeh

bokeh.sampledata.download()

No, the data was downloaded locally and you have a copy of them probably in a hidden folder called .bokeh…

Great you have run the example successfully!

Ans thanks for the report, I will merge the PR which has fixed your problem.

···

On Fri, Feb 28, 2014 at 3:35 PM, Harry Osoff [email protected] wrote:

Damian,

Thanks so much for your help -

I did run iris successfully - my interest mainly is the graphing of

the types of data found in texas.py which I was also to run successfully.

Question - Is that import of the sample data temporary or permanent?

Harry

On Feb 28, 2014, at 12:27 PM, Damian Avila wrote:

import bokeh

bokeh.sampledata.download()

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/AD18CEB0-EC9D-43D2-BA3E-EBF02C30EF5F%40gmail.com.

For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out.