Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install fails using Conda anaconda-nb-extensions channels #57

Closed
scollis opened this issue Feb 20, 2016 · 2 comments
Closed

Install fails using Conda anaconda-nb-extensions channels #57

scollis opened this issue Feb 20, 2016 · 2 comments
Labels

Comments

@scollis
Copy link

scollis commented Feb 20, 2016

OS: OSX
Py2.7

`➜ ~ conda install -c anaconda-nb-extensions nbpresent
Fetching package metadata: ......
Solving package specifications: ................................................
Package plan for installation in environment /Users/scollis/anaconda:

The following NEW packages will be INSTALLED:

nbpresent: 1.0.0-py27_0

Proceed ([y]/n)? y

Linking packages ...
copying /Users/scollis/anaconda/lib/python2.7/site-packages/nbpresent-1.0.0-py2.7.egg/nbpresent/static/nbpresent -> /Users/scollis/anaconda/share/jupyter/nbextensions/nbpresent
Traceback (most recent call last):
File "/Users/scollis/anaconda/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/Users/scollis/anaconda/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/Users/scollis/anaconda/lib/python2.7/site-packages/nbpresent-1.0.0-py2.7.egg/nbpresent/install.py", line 112, in
install(**parser.parse_args().dict)
File "/Users/scollis/anaconda/lib/python2.7/site-packages/nbpresent-1.0.0-py2.7.egg/nbpresent/install.py", line 39, in install
install_nbextension(directory, **kwargs)
File "/Users/scollis/anaconda/lib/python2.7/site-packages/notebook/nbextensions.py", line 220, in install_nbextension
_maybe_copy(src, full_dest, verbose)
File "/Users/scollis/anaconda/lib/python2.7/site-packages/notebook/nbextensions.py", line 53, in _maybe_copy
shutil.copy2(src, dest)
File "/Users/scollis/anaconda/lib/python2.7/shutil.py", line 130, in copy2
copyfile(src, dst)
File "/Users/scollis/anaconda/lib/python2.7/shutil.py", line 82, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: u'/Users/scollis/anaconda/lib/python2.7/site-packages/nbpresent-1.0.0-py2.7.egg/nbpresent/static/nbpresent'
Error: Error: post-link failed for: nbpresent-1.0.0-py27_0 | 0%
➜`

Conda env:
` ~ conda update conda
Fetching package metadata: ....

All requested packages already installed.

packages in environment at /Users/scollis/anaconda:

conda 3.19.3 py27_0 `

@scollis
Copy link
Author

scollis commented Feb 20, 2016

Note: works when I use a 3.5 env

@bollwyvl
Copy link
Contributor

bollwyvl commented Mar 1, 2016

I was never able to reproduce this particular error (though I found lots of conda issues, or rather, issues with how I was using conda!). However, since I did so much work across all the platforms, I'd like to close this one, and re-open with a new issue.

Thanks again @scollis for the report!

@bollwyvl bollwyvl closed this as completed Mar 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants