Comments (9)
I've tried it in a test virtualenv and it worked -- what went wrong on your side exactly?
from jupyter-shoebot.
It couldn't find pip.main ... I think they must have moved it :(
pip is version 10.0
I think they only guarantee the commandline interface, not the internals with pip.
I need to have more of a play, because when I do get it installed, the kernel can't import shoebot.
from jupyter-shoebot.
Odd, I did get that error but I think it went away after doing pip install jupyter-pip
I did try this with pip 9. However I've just made a fresh virtualenv (running pip10) and it works with the following steps:
# install shoebot from jupyter branch
cd shoebot
git checkout jupyter
python setup.py install
# install jupyter
pip install jupyter jupyter-pip
# install the extension
cd ../jupyter-shoebot
python setup.py install
jupyter kernelspec install shoebot_kernel --sys-prefix
Can you try this and see if it goes through?
from jupyter-shoebot.
That worked, but then I had trouble with imports.
It might be because I'm using zsh and some plugin that tries to change the virtualenv when you move directory, I'll have another go later.
from jupyter-shoebot.
Just checked and can confirm that the error that it can't find pip.main
can be fixed by installing jupyter-pip
. (at least on my system!)
FWIW I'm also on zsh and running simple virtualenvwrapper. I did miss one step in my previous comment -- jupyter kernelspec install shoebot_kernel --sys-prefix
(I've edited the comment above to reflect this).
On this command, I've just noticed that the install docs mentioned the --user
flag (put stuff in $HOME/.local) instead of --sys-prefix
(put stuff in Py prefix, for virtualenvs), just fixed it.. Maybe that was the hitch in your case?
from jupyter-shoebot.
I was using --user
I like to avoid installing stuff in the system python though (python is my day job, so I like to leave the system python unmolested and use virtualenvs for everything) - is there a way to do it without --sys-prefix.
from jupyter-shoebot.
You should use --sys-prefix
for virtualenvs, since the prefix becomes the virtualenv's when you activate it, it's exactly for use cases like yours
from jupyter-shoebot.
That's what I thought it should do, but it was complaining about not being able to write to /usr, I'll try again later.
from jupyter-shoebot.
Seems to work for me with --sys-prefix, closing :)
from jupyter-shoebot.
Related Issues (15)
- Add clearer tracebacks HOT 1
- Add postBuild file so this works on mybinder.org HOT 7
- Change cairocffi imports for cairo HOT 2
- jupyter kernelspec install shoebot_kernel --sys-prefix did not work for me HOT 2
- Doesn't work in binder
- Can binder open with example ?
- Add notebook screenshot to README
- Fill out stubs in the kernel headers
- Apply syntax highlighting and Python indenting to code snippets
- Add Shoebot icon
- Register the package on pip HOT 2
- Use Jupyter widgets to implement live vars HOT 1
- Notebooks only work if placed on the repository root HOT 1
- Stdout isn't shown in the output console
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jupyter-shoebot.