Hi Bryan,
I re-entered the '--no-deps' as you suggested and got the following response (looks much the same as first time around):
Jeremy-H:~ jeremyharbinson1$ pip install bokeh --no-deps
Downloading/unpacking bokeh
Downloading bokeh-0.4.1.tar.gz (27.8Mb): 27.8Mb downloaded
Exception:
Traceback (most recent call last):
File "/Applications/Canopy.app/appdata/canopy-1.3.0.1715.macosx-x86_64/Canopy.app/Contents/lib/python2.7/site-packages/pip/basecommand.py", line 126, in main
self.run(options, args)
File "/Applications/Canopy.app/appdata/canopy-1.3.0.1715.macosx-x86_64/Canopy.app/Contents/lib/python2.7/site-packages/pip/commands/install.py", line 223, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/Applications/Canopy.app/appdata/canopy-1.3.0.1715.macosx-x86_64/Canopy.app/Contents/lib/python2.7/site-packages/pip/req.py", line 961, in prepare_files
self.unpack_url(url, location, self.is_download)
File "/Applications/Canopy.app/appdata/canopy-1.3.0.1715.macosx-x86_64/Canopy.app/Contents/lib/python2.7/site-packages/pip/req.py", line 1079, in unpack_url
return unpack_http_url(link, location, self.download_cache, only_download)
File "/Applications/Canopy.app/appdata/canopy-1.3.0.1715.macosx-x86_64/Canopy.app/Contents/lib/python2.7/site-packages/pip/download.py", line 455, in unpack_http_url
unpack_file(temp_location, location, content_type, link)
File "/Applications/Canopy.app/appdata/canopy-1.3.0.1715.macosx-x86_64/Canopy.app/Contents/lib/python2.7/site-packages/pip/util.py", line 475, in unpack_file
untar_file(filename, location)
File "/Applications/Canopy.app/appdata/canopy-1.3.0.1715.macosx-x86_64/Canopy.app/Contents/lib/python2.7/site-packages/pip/util.py", line 442, in untar_file
shutil.copyfileobj(fp, destfp)
File "/Applications/Canopy.app/appdata/canopy-1.3.0.1715.macosx-x86_64/Canopy.app/Contents/lib/python2.7/shutil.py", line 49, in copyfileobj
buf = fsrc.read(length)
AttributeError: 'NoneType' object has no attribute 'read'
I checked Canopy to see if there were any updates (in case there was any bug in their system) and there were none available.
Are there any other tests I can do?
all the best,
Jeremy
On Sunday, March 9, 2014 3:20:55 PM UTC+1, Bryan Van de ven wrote:
Jeremy,
sorry, I made a typo, it should be "--no-deps" (with an extra dash between no and deps) at least for standard pip.
Bryan
On Mar 9, 2014, at 10:19 AM, Jeremy Harbinson <[email protected]> wrote:
>
>
> On Saturday, March 8, 2014 11:51:19 PM UTC+1, Bryan Van de ven wrote:
> Jeremy,
>
> I"m not sure what could be going on, I just tried installing into a fresh conda environment on OSX and had no issues:
>
> (test)bryan@laptop ~/tmp pip install bokeh \-\-no\-deps
> Downloading/unpacking bokeh
> Downloading bokeh\-0\.4\.1\.tar\.gz \(27\.8MB\): 27\.8MB downloaded
> Running setup\.py \(path:/private/var/folders/t1/48dhz2zd3jgdr0d0zss8kq4h0000gn/T/pip\_build\_bryan/bokeh/setup\.py\) egg\_info for package bokeh
>
> no previously\-included directories found matching 'bokehjs/node\_modules'
> no previously\-included directories found matching 'bokehjs/build'
> no previously\-included directories found matching 'examples/plotting/notebook/\.ipynb\_checkpoints'
> no previously\-included directories found matching 'examples/glyphs/\.ipynb\_checkpoints'
> Installing collected packages: bokeh
> Running setup\.py install for bokeh
> installing bokeh, bokeh\.pth was not found, so we did not clean it
> no \.git in /private/var/folders/t1/48dhz2zd3jgdr0d0zss8kq4h0000gn/T/pip\_build\_bryan/bokeh
> guessing rootdir is '/private/var/folders/t1/48dhz2zd3jgdr0d0zss8kq4h0000gn/T/pip\_build\_bryan/bokeh', but 'bokeh' doesn't start with prefix 'Bokeh\-'
> got version from default None
> changing mode of build/scripts\-2\.7/bokeh\-server from 644 to 755
> UPDATING build/lib/bokeh/\_version\.py
>
> no previously\-included directories found matching 'bokehjs/node\_modules'
> no previously\-included directories found matching 'bokehjs/build'
> no previously\-included directories found matching 'examples/plotting/notebook/\.ipynb\_checkpoints'
> no previously\-included directories found matching 'examples/glyphs/\.ipynb\_checkpoints'
> changing mode of /Users/bryan/anaconda/envs/test/bin/bokeh\-server to 755
> Successfully installed bokeh
>
> Can you try installing "pip install bokeh \-\-nodeps" just to compare as a baseline?
>
> Unfortunately I don't have a Canopy environment to test with\. I've cc'ed Ilan in case he has any thoughts about what might be going on\.
>
> Bryan
>
>
> On Mar 8, 2014, at 12:24 PM, Jeremy Harbinson <jeremy\.h\.\.\.@wur\.nl> wrote:
>
> > Hi,
> > I use the most recent version of the Enthought python distribution \(Python 2\.7\) and OS X 10\.8\.4\. I tried to install Bokeh using pip, having \(I hope\) installed all the necessary dependencies, but there was a problem\. The install command and the response are shown below\.
> >
> > the install command:
> > Jeremy\-H:\~ jeremyharbinson1 pip install bokeh
> >
> > the pip log file:
> > Downloading/unpacking bokeh
> > Getting page http://pypi.python.org/simple/bokeh
> > URLs to search for versions for bokeh:
> > * http://pypi.python.org/simple/bokeh/
> > Getting page http://pypi.python.org/simple/bokeh/
> > Analyzing links from page Links for bokeh
> > Found link https://pypi.python.org/packages/source/b/bokeh/bokeh-0.2.tgz#md5=fa17b2bdae75515de4ca7e01107e09f4 (from https://pypi.python.org/simple/bokeh/\), version: 0.2
> > Found link https://pypi.python.org/packages/source/b/bokeh/bokeh-0.3.tar.gz#md5=81fb90108993ad17c00805be9803478c (from https://pypi.python.org/simple/bokeh/\), version: 0.3
> > Found link https://pypi.python.org/packages/source/b/bokeh/bokeh-0.4.1.tar.gz#md5=c7b912d281c8e9b5a28f1edac219ed0c (from https://pypi.python.org/simple/bokeh/\), version: 0.4.1
> > Found link https://pypi.python.org/packages/source/b/bokeh/bokeh-0.4.tar.gz#md5=9b4c82c77e1463b044556f6ef6c7ddae (from https://pypi.python.org/simple/bokeh/\), version: 0.4
> > Using version 0.4.1 (newest of versions: 0.4.1, 0.4, 0.3, 0.2)
> > Downloading from URL https://pypi.python.org/packages/source/b/bokeh/bokeh-0.4.1.tar.gz#md5=c7b912d281c8e9b5a28f1edac219ed0c (from https://pypi.python.org/simple/bokeh/\)
> > Exception:
> > Traceback (most recent call last):
> > File "/Applications/Canopy.app/appdata/canopy-1.3.0.1715.macosx-x86_64/Canopy.app/Contents/lib/python2.7/site-packages/pip/basecommand.py", line 126, in main
> > self.run(options, args)
> > File "/Applications/Canopy.app/appdata/canopy-1.3.0.1715.macosx-x86_64/Canopy.app/Contents/lib/python2.7/site-packages/pip/commands/install.py", line 223, in run
> > requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
> > File "/Applications/Canopy.app/appdata/canopy-1.3.0.1715.macosx-x86_64/Canopy.app/Contents/lib/python2.7/site-packages/pip/req.py", line 961, in prepare_files
> > self.unpack_url(url, location, self.is_download)
> > File "/Applications/Canopy.app/appdata/canopy-1.3.0.1715.macosx-x86_64/Canopy.app/Contents/lib/python2.7/site-packages/pip/req.py", line 1079, in unpack_url
> > return unpack_http_url(link, location, self.download_cache, only_download)
> > File "/Applications/Canopy.app/appdata/canopy-1.3.0.1715.macosx-x86_64/Canopy.app/Contents/lib/python2.7/site-packages/pip/download.py", line 455, in unpack_http_url
> > unpack_file(temp_location, location, content_type, link)
> > File "/Applications/Canopy.app/appdata/canopy-1.3.0.1715.macosx-x86_64/Canopy.app/Contents/lib/python2.7/site-packages/pip/util.py", line 475, in unpack_file
> > untar_file(filename, location)
> > File "/Applications/Canopy.app/appdata/canopy-1.3.0.1715.macosx-x86_64/Canopy.app/Contents/lib/python2.7/site-packages/pip/util.py", line 442, in untar_file
> > shutil.copyfileobj(fp, destfp)
> > File "/Applications/Canopy.app/appdata/canopy-1.3.0.1715.macosx-x86_64/Canopy.app/Contents/lib/python2.7/shutil.py", line 49, in copyfileobj
> > buf = fsrc.read(length)
> > AttributeError: 'NoneType' object has no attribute 'read'
> >
> >
> > Does anyone have a suggestion to fix this? And I hope this is not due to a mistake on my part.
> >
> > all the best,
> > Jeremy Harbinson
> >
> >
> > --
> > 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/dd93d489-0528-4744-9369-c6f2ac410a14%40continuum.io\.
> > For more options, visit https://groups.google.com/a/continuum.io/d/optout\.
>
>
> Hi Bryan,
> I tried the "pip install bokeh --nodeps" option and got the following response :
>
> Jeremy-H:~ jeremyharbinson1$ pip install bokeh --nodeps
> Usage: /Users/jeremyharbinson1/Library/Enthought/Canopy_64bit/User/bin/pip install [OPTIONS] PACKAGE_NAMES...
>
> /Users/jeremyharbinson1/Library/Enthought/Canopy_64bit/User/bin/pip install: error: no such option: --nodeps
>
> I guess this is not what was expected and something weird is going on.
>
>
> The pip options available in the Canopy pip (I'm assuming that the '--nodeps' is a pip option) are:
>
> Jeremy-H:~ jeremyharbinson1$ pip help
> Usage: pip COMMAND [OPTIONS]
>
> Options:
> --version show program's version number and exit
> -h, --help Show help
> -E DIR, --environment=DIR
> virtualenv environment to run pip in (either give the
> interpreter or the environment base directory)
> -s, --enable-site-packages
> Include site-packages in virtualenv if one is to be
> created. Ignored if --environment is not used or the
> virtualenv already exists.
> -v, --verbose Give more output
> -q, --quiet Give less output
> --log=FILENAME Log file where a complete (maximum verbosity) record
> will be kept
> --proxy=PROXY Specify a proxy in the form
> user:[email protected]:port. Note that the
> user:password@ is optional and required only if you
> are behind an authenticated proxy. If you provide
> [email protected]:port then you will be prompted for a
> password.
> --timeout=SECONDS, --default-timeout=SECONDS
> Set the socket timeout (default 15 seconds)
>
> Commands available:
> bundle: Create pybundles (archives containing multiple packages)
> freeze: Output all currently installed packages (exact versions) to stdout
> help: Show available commands
> install: Install packages
> search: Search PyPI
> uninstall: Uninstall packages
> unzip: Unzip individual packages
> zip: Zip individual packages
> Jeremy-H:~ jeremyharbinson1$
>
> all the best,
> Jeremy
>
> --
> 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/72509c34-957d-4114-99c6-79d50a911dd3%40continuum.io\.
> For more options, visit https://groups.google.com/a/continuum.io/d/optout\.
--
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/fc19854e-60be-4be0-8691-b065da6f02d9%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.