-
Notifications
You must be signed in to change notification settings - Fork 24
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
nbpresent.install conda env prefix #12
Conversation
@@ -14,7 +14,9 @@ requirements: | |||
- nodejs | |||
- python | |||
- notebook | |||
- ipython-notebook |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be notebook
here...
Got closer by simplifying things, but am still seeing the ipython/ipython#8833 issue: ==== testing package: nbpresent-0.3.0.dev0-py34_0 =====
import: 'nbpresent'
/home/weg/miniconda3/envs/_test/lib/python3.4/site-packages/IPython/config.py:13: ShimWarning: The `IPython.config` package has been deprecated. You should import from traitlets.config instead.
"You should import from traitlets.config instead.", ShimWarning)
Traceback (most recent call last):
File "/home/weg/miniconda3/conda-bld/test-tmp_dir/run_test.py", line 25, in <module>
import nbpresent
File "/home/weg/miniconda3/envs/_test/lib/python3.4/site-packages/nbpresent/__init__.py", line 4, in <module>
from .exporter import PresentExporter
File "/home/weg/miniconda3/envs/_test/lib/python3.4/site-packages/nbpresent/exporter.py", line 5, in <module>
from nbconvert.exporters.html import HTMLExporter
File "/home/weg/miniconda3/envs/_test/lib/python3.4/site-packages/nbconvert/__init__.py", line 4, in <module>
from .exporters import *
File "/home/weg/miniconda3/envs/_test/lib/python3.4/site-packages/nbconvert/exporters/__init__.py", line 1, in <module>
from .export import *
File "/home/weg/miniconda3/envs/_test/lib/python3.4/site-packages/nbconvert/exporters/export.py", line 12, in <module>
from .templateexporter import TemplateExporter
File "/home/weg/miniconda3/envs/_test/lib/python3.4/site-packages/nbconvert/exporters/templateexporter.py", line 21, in <module>
from nbconvert import filters
File "/home/weg/miniconda3/envs/_test/lib/python3.4/site-packages/nbconvert/filters/__init__.py", line 7, in <module>
from .strings import *
File "/home/weg/miniconda3/envs/_test/lib/python3.4/site-packages/nbconvert/filters/strings.py", line 20, in <module>
from IPython.core.interactiveshell import InteractiveShell
File "/home/weg/miniconda3/envs/_test/lib/python3.4/site-packages/IPython/core/interactiveshell.py", line 35, in <module>
from IPython.core import debugger, oinspect
File "/home/weg/miniconda3/envs/_test/lib/python3.4/site-packages/IPython/core/oinspect.py", line 33, in <module>
from IPython.core import page
File "/home/weg/miniconda3/envs/_test/lib/python3.4/site-packages/IPython/core/page.py", line 37, in <module>
from IPython import get_ipython
File "/home/weg/miniconda3/envs/_test/lib/python3.4/site-packages/IPython/__init__.py", line 48, in <module>
from .core.application import Application
File "/home/weg/miniconda3/envs/_test/lib/python3.4/site-packages/IPython/core/application.py", line 40, in <module>
from IPython.core import release, crashhandler
File "/home/weg/miniconda3/envs/_test/lib/python3.4/site-packages/IPython/core/crashhandler.py", line 28, in <module>
from IPython.core import ultratb
File "/home/weg/miniconda3/envs/_test/lib/python3.4/site-packages/IPython/core/ultratb.py", line 116, in <module>
from IPython.utils import path as util_path
File "/home/weg/miniconda3/envs/_test/lib/python3.4/site-packages/IPython/utils/path.py", line 29, in <module>
from IPython.utils.process import system
File "/home/weg/miniconda3/envs/_test/lib/python3.4/site-packages/IPython/utils/process.py", line 29, in <module>
from ._process_posix import _find_cmd, system, getoutput, arg_split
File "/home/weg/miniconda3/envs/_test/lib/python3.4/site-packages/IPython/utils/_process_posix.py", line 22, in <module>
from IPython.external import pexpect
ImportError: cannot import name 'pexpect'
TESTS FAILED: nbpresent-0.3.0.dev0-py34_0 |
I've been going down a really long road to create a fully reproducible conda chain in docker... will push soon. But I have definitely identified some problem on my host fedora 23 install with finding the old version of IPython. I'll try reinstalling it locally, too! The current issue I am having is in creating a pristine "runnable" environment with a basic notebook server. But more on that soon. |
nbpresent.install conda env prefix
@bollwyvl conda environments should help you here, unless you have a complicated |
Heh, I got more environments than I know what to do with. The issue up there was that in post-link.sh, during the build the test On Sun, Nov 15, 2015 at 12:16 AM Ian Stokes-Rees notifications@github.com
|
Uppssss... nice you figured out... |
This is the beginning of #10.
Everything works great installing from repo with a conda env, but the build gives the same issue as this:
ipython/ipython#8833
Very curious!
It's not fully working yet, but if someone was able to see some obvious errors up front, I'm all for it.
Obviously ignore all the little style tweaks: it's really just the recipe and install.py.