Closed den-run-ai closed 7 years ago
Yep. To integrate it with Windows explorer, run python win-install.py
.
Thank you for quick response - I ran win-install.py from master branch, but it does help at all. Explorer integration does not pop-up anything. nbopen is not recognized on command-line:
python win-install.py
running install
running build
running build_py
running build_scripts
running install_lib
running install_scripts
running install_egg_info
Writing
C:\Users\denis.akhiyarov\AppData\Roaming\Python\Python27\site-packages\n
bopen-0.2-py2.7.egg-info
nbopen widgets_multiselect.ipynb
'nbopen' is not recognized as an internal or external command,
operable program or batch file.
On Mon, Nov 14, 2016 at 11:27 AM, Thomas Kluyver notifications@github.com wrote:
Yep. To integrate it with Windows explorer, run python win-install.py.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/takluyver/nbopen/issues/37#issuecomment-260401656, or mute the thread https://github.com/notifications/unsubscribe-auth/AHgZ5c0uxTJDkbXDR_ClvbA2DrQc-GTbks5q-JoVgaJpZM4KxdNl .
If all you want is the command line integration, try pip install nbopen
. I'm not sure how to debug the explorer integration, sorry.
I already did pip install nbopen
, but I think it does not work because
nbopen
file sits in .Scripts\ folder without valid extension for
executables. In fact is not even valid executable - it is just a python
script, but there is already another nbopen.py main script installed in
site-packages.
So I renamed nbopen to nbopenstart.py and here is the error, perhaps the same with explorer integration:
nbopenstart.py widgets_multiselect.ipynb
C:\Python\Python27_32b\lib\site-packages\IPython\html.py:14: ShimWarning:
The `I
Python.html` package has been deprecated. You should import from `notebook`
inst
ead. `IPython.html.widgets` has moved to `ipywidgets`.
"`IPython.html.widgets` has moved to `ipywidgets`.", ShimWarning)
Traceback (most recent call last):
File "C:\Python\Python27_32b\Scripts\nbopenstart.py", line 3, in <module>
main()
File
"C:\Users\denis.akhiyarov\AppData\Roaming\Python\Python27\site-packages\n
bopen.py", line 50, in main
nbopen(args.filename, args.profile)
File
"C:\Users\denis.akhiyarov\AppData\Roaming\Python\Python27\site-packages\n
bopen.py", line 26, in nbopen
server_inf = find_best_server(filename, profile)
File
"C:\Users\denis.akhiyarov\AppData\Roaming\Python\Python27\site-packages\n
bopen.py", line 14, in find_best_server
servers = [si for si in
notebookapp.list_running_servers(profile=profile) \
TypeError: list_running_servers() got an unexpected keyword argument
'profile'
On Mon, Nov 14, 2016 at 11:44 AM, Thomas Kluyver notifications@github.com wrote:
If all you want is the command line integration, try pip install nbopen. I'm not sure how to debug the explorer integration, sorry.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/takluyver/nbopen/issues/37#issuecomment-260406226, or mute the thread https://github.com/notifications/unsubscribe-auth/AHgZ5cmykeH7XeClykGA4rcfDMZPrOQbks5q-J3xgaJpZM4KxdNl .
OK, give me a few minutes, I'm going to change how this works.
OK, try pip installing it again (with --upgrade
if necessary)
It looks much better! But I hit another issue. I'll close this one.