所以我试图修复我的Jupyter笔记本(它不是让我导入库),但是,似乎我让事情变得更糟.现在每当我启动笔记本时,内核就会启动,然后立即死掉.我得到的错误如下:
[I 15:00:39.002 NotebookApp] Serving notebooks from local directory: /Users/stephanng/Documents/Coding/IPyNB
[I 15:00:39.002 NotebookApp] 0 active kernels
[I 15:00:39.003 NotebookApp] The Jupyter Notebook is running at: http://localhost:8888/
[I 15:00:39.003 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[W 15:00:43.558 NotebookApp] Notebook 157 Muon Analysis - Copy.ipynb is not trusted
[I 15:00:44.045 NotebookApp] Kernel started: 152a55a1-e393-4e86-b271-859b924e6a3e
/Users/stephanng/anaconda/envs/py27/bin/python: No module named _signatures; 'ipykernel' is a package and cannot be directly executed
[I 15:00:47.047 NotebookApp] KernelRestarter: …Run Code Online (Sandbox Code Playgroud) 所以基本上,我正在Meteor中构建一个应用程序,我有一个左侧导航栏position: fixed;,left : -300px并希望将其滑动到left : 300px,但不知道如何在Meteor中设置转换动画(有点像jquery中的幻灯片转换).我理解事物的基本JQuery方面,但由于某种原因,当我把它放在脚本的if Meteor.isClient方面时它似乎不起作用.请记住,我对Meteor相当新,包容性的javascript代码将非常感激.
我目前的代码如下.
HTML
<body>
<div class='topmenu'>
<div class='menubutton'>
<span class="icon-bar1"></span>
<span class="icon-bar2"></span>
<span class="icon-bar3"></span>
<!--Needs to be fixed so that we only need to use one icon-bar class!!!-->
</div>
<div class='BanditDiv'>
<h1 class='BanditName'>Bandit</h1>
</div>
</div>
<div class='leftnav'>
<div class='sitenav'>
<a class='internalnav' href="#">Home</a>
<a class='internalnav' href="#">Musicians</a>
<a class='internalnav' href="#">Recording Space</a>
</div>
</div>
<div class='main'>
</div>
</body>
Run Code Online (Sandbox Code Playgroud)
CSS
body{
margin: 0px 0px 0px 0px;
}
.navitem:hover{
background-color: #000066;
}
.main{ …Run Code Online (Sandbox Code Playgroud)