Closed mcg1969 closed 8 years ago
@mcg1969 , okay, but would be better just to tell folks to post to different repo, because now it's not from me, and I can't edit it.
Heh, I can't win for losing :-( You may not be able to edit the original issue, but you can of course amend it by posting here.
I didn't mean that to be aggressive -- I was trying to say I would have been happy to repost. And I'm truly happy that you guys are taking a look! :smiley_cat:
Ha ha! It's all good. I would love to find a way to have the best of both worlds: for us to be able to transfer issues to the proper bin while preserving ownership. Thanks for the report!
Is this Miniconda or Anaconda? I think the root cause is that a prefix path is not being replaced correctly at install time:
['C:\\conda\\envs\\_build\\python.exe', '-m', 'ipykernel', '-f', 'C:\\Users\
\rsignell\\AppData\\Roaming\\jupyter\\runtime\\kernel-313623b1-4a33-46cc-b871-60
7248032d34.json']
That first bit is very characteristic of a build environment. I think that means either a bug in conda, which should have replaced that path with your install prefix, or perhaps with the package itself - this prefix data gets recorded at build time.
If you can provide us with exact versions of your Miniconda/Anaconda installer, along with any updates you did, that will help us a lot.
The exact steps I took this morning are on the bulleted list here:
https://github.com/ContinuumIO/anaconda-issues/issues/813#issue-158987258
Yes, miniconda3, downloaded from continuum this morning.
Miniconda3-latest-Windows-x86_64
Size: 39.0 MB (40,918,392 bytes) Size on Disk: 39.0 MB (40,919,040 bytes)
What other info can I provide?
I followed your steps to the letter, except I'm on Windows 8. I saw the same warnings you did, but not the final error. Is there any chance you have the vestiges of other conda environments on that machine? That's not to say Anaconda is blameless, just that we may need to improve the checking of such things.
Also: can you try removing the entire C:\Users\rsignell\.ipython
directory and launch notebook again?
Actually please try removing that directory and C:\Users\rsignell\.jupyter
I removed c:\Users\rsignell\.ipython
and @C:\Users\rsignell\.jupyter
directories, started up Anaconda Navigator, removed the Jupyter notebook application, and then installed it fresh. When I fire up the notebook app and try to create a new Python 3 notebook, I get the error below. Should I also remove the c:\Users\rsignell\.conda
and c:\Users\rsignell\.anaconda
directories?
[W 08:44:52.322 NotebookApp] Widgets are unavailable. Please install widgetsnbex
tension or ipywidgets 4.0
[I 08:44:54.613 NotebookApp] Serving notebooks from local directory: C:\Users\rs
ignell\Documents
[I 08:44:54.614 NotebookApp] 0 active kernels
[I 08:44:54.614 NotebookApp] The Jupyter Notebook is running at: http://localhos
t:8888/
[I 08:44:54.615 NotebookApp] Use Control-C to stop this server and shut down all
kernels (twice to skip confirmation).
[W 08:44:56.574 NotebookApp] C:\Users\rsignell\Documents\My Music doesn't exist
[I 08:45:02.199 NotebookApp] Creating new notebook in
[W 08:45:03.933 NotebookApp] 404 GET /nbextensions/widgets/notebook/js/extension
.js?v=20160608084452 (::1) 35.00ms referer=http://localhost:8888/notebooks/Untit
led.ipynb?kernel_name=python3
[E 08:45:04.261 NotebookApp] Failed to run command:
['C:\\conda\\envs\\_build\\python.exe', '-m', 'ipykernel', '-f', 'C:\\Users\
\rsignell\\AppData\\Roaming\\jupyter\\runtime\\kernel-9723c92b-44a2-4182-97da-de
0f7e9b496a.json']
with kwargs:
{'stderr': None, 'cwd': 'C:\\Users\\rsignell\\Documents', 'env': {'PUBLIC':
'C:\\Users\\Public', 'AGSDESKTOPJAVA': 'C:\\ArcGIS\\Desktop10.3\\', 'PATH': 'C:\
\Users\\rsignell\\AppData\\Local\\Continuum\\Miniconda3\\Library\\bin;C:\\Users\
\rsignell\\AppData\\Local\\Continuum\\Miniconda3\\Library\\bin;C:\\Users\\rsigne
ll\\AppData\\Local\\Continuum\\Miniconda3;C:\\Users\\rsignell\\AppData\\Local\\C
ontinuum\\Miniconda3\\Scripts;C:\\Users\\rsignell\\AppData\\Local\\Continuum\\Mi
niconda3\\Library\\bin;C:\\Users\\rsignell\\AppData\\Local\\Continuum\\Miniconda
3\\Library\\bin;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Program Files (x86)\
\Intel\\iCLS Client\\;C:\\Program Files\\Intel\\iCLS Client\\;C:\\Windows\\syste
m32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerS
hell\\v1.0\\;C:\\Program Files\\Google\\Google Apps Sync\\;C:\\Program Files\\Go
ogle\\Google Apps Migration\\;C:\\Program Files\\Intel\\WiFi\\bin\\;C:\\Program
Files\\Common Files\\Intel\\WirelessCommon\\;C:\\Program Files\\Intel\\Intel(R)
Management Engine Components\\DAL;C:\\Program Files (x86)\\Intel\\Intel(R) Manag
ement Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engin
e Components\\IPT;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Com
ponents\\IPT;C:\\ArcGIS\\gbin;C:\\Program Files\\MATLAB\\R2015b\\bin;C:\\Program
Files\\Git\\cmd;C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\us
r\\bin;C:\\Program Files (x86)\\Skype\\Phone\\', 'DOIJAVA86': 'C:\\Program Files
(x86)\\Java\\jre1.8.0_91\\bin', 'DOIJAVA64': 'C:\\Program Files\\Java\\jre1.8.0
_91\\bin', 'PSMODULEPATH': 'C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modu
les\\', 'FP_NO_HOST_CHECK': 'NO', 'LOCALAPPDATA': 'C:\\Users\\rsignell\\AppData\
\Local', 'WINDIR': 'C:\\Windows', 'COMMONPROGRAMFILES': 'C:\\Program Files\\Comm
on Files', 'USERNAME': 'rsignell', 'SYSTEMDRIVE': 'C:', 'USERDOMAIN_ROAMINGPROFI
LE': 'GS', 'DOILOGONMETHOD_RSIGNELL': 'smartcard credential provider', 'USERPROF
ILE': 'C:\\Users\\rsignell', 'PYTHONPATH': 'C:\\ArcGIS\\Desktop10.3\\ArcToolbox\
\Toolboxes\\USGS_EGISTools\\scripts', 'IPY_INTERRUPT_EVENT': '948', 'TEMP': 'C:\
\Users\\rsignell\\AppData\\Local\\Temp\\3', 'SYSTEMROOT': 'C:\\Windows', 'PROCES
SOR_LEVEL': '6', 'USERDNSDOMAIN': 'GS.DOI.NET', 'SESSIONNAME': 'Console', 'HOMED
RIVE': 'C:', 'PROGRAMDATA': 'C:\\ProgramData', 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.
VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC', 'UATDATA': 'C:\\Windows\\CCM\\UATData\\D9F8C3
95-CAB8-491d-B8AC-179A1FE1BE77', 'PROCESSOR_IDENTIFIER': 'Intel64 Family 6 Model
60 Stepping 3, GenuineIntel', 'JPY_INTERRUPT_EVENT': '948', 'COMMONPROGRAMW6432
': 'C:\\Program Files\\Common Files', 'PROCESSOR_ARCHITECTURE': 'AMD64', 'LOGONS
ERVER': '\\\\IGSAGIEIDC02', 'PROCESSOR_REVISION': '3c03', 'ALLUSERSPROFILE': 'C:
\\ProgramData', 'NUMBER_OF_PROCESSORS': '8', 'OS': 'Windows_NT', 'PROGRAMW6432':
'C:\\Program Files', 'COMPUTERNAME': 'IGSAGIEGLTRSI71', 'HOMEPATH': '\\Users\\r
signell', 'APPDATA': 'C:\\Users\\rsignell\\AppData\\Roaming', 'USERDOMAIN': 'GS'
, 'COMMONPROGRAMFILES(X86)': 'C:\\Program Files (x86)\\Common Files', 'VBOX_MSI_
INSTALL_PATH': 'C:\\Program Files\\Oracle\\VirtualBox\\', 'PROGRAMFILES(X86)': '
C:\\Program Files (x86)', 'PROGRAMFILES': 'C:\\Program Files', 'JPY_PARENT_PID':
'976', 'WINDOWS_TRACING_FLAGS': '3', 'TMP': 'C:\\Users\\rsignell\\AppData\\Loca
l\\Temp\\3', 'COMSPEC': 'C:\\Windows\\system32\\cmd.exe', 'QT_API': 'pyqt', 'WIN
DOWS_TRACING_LOGFILE': 'C:\\BVTBin\\Tests\\installpackage\\csilogfile.log'}, 'st
din': -1, 'stdout': None}
[E 08:45:04.270 NotebookApp] Unhandled error in API request
Traceback (most recent call last):
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\notebook\base\handlers.py", line 457, in wrapper
result = yield gen.maybe_future(method(self, *args, **kwargs))
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\tornado\gen.py", line 1008, in run
value = future.result()
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\tornado\concurrent.py", line 232, in result
raise_exc_info(self._exc_info)
File "<string>", line 3, in raise_exc_info
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\tornado\gen.py", line 1014, in run
yielded = self.gen.throw(*exc_info)
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\notebook\services\sessions\handlers.py", line 62, in post
kernel_id=kernel_id))
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\tornado\gen.py", line 1008, in run
value = future.result()
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\tornado\concurrent.py", line 232, in result
raise_exc_info(self._exc_info)
File "<string>", line 3, in raise_exc_info
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\tornado\gen.py", line 1014, in run
yielded = self.gen.throw(*exc_info)
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\notebook\services\sessions\sessionmanager.py", line 79, in create_session
kernel_name)
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\tornado\gen.py", line 1008, in run
value = future.result()
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\tornado\concurrent.py", line 232, in result
raise_exc_info(self._exc_info)
File "<string>", line 3, in raise_exc_info
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\tornado\gen.py", line 1014, in run
yielded = self.gen.throw(*exc_info)
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\notebook\services\sessions\sessionmanager.py", line 92, in start_kernel_for_s
ession
self.kernel_manager.start_kernel(path=kernel_path, kernel_name=kernel_na
me)
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\tornado\gen.py", line 1008, in run
value = future.result()
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\tornado\concurrent.py", line 232, in result
raise_exc_info(self._exc_info)
File "<string>", line 3, in raise_exc_info
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\tornado\gen.py", line 282, in wrapper
yielded = next(result)
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\notebook\services\kernels\kernelmanager.py", line 87, in start_kernel
super(MappingKernelManager, self).start_kernel(**kwargs)
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\jupyter_client\multikernelmanager.py", line 110, in start_kernel
km.start_kernel(**kwargs)
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\jupyter_client\manager.py", line 243, in start_kernel
**kw)
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\jupyter_client\manager.py", line 189, in _launch_kernel
return launch_kernel(kernel_cmd, **kw)
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\jupyter_client\launcher.py", line 123, in launch_kernel
proc = Popen(cmd, **kwargs)
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\subprocess.
py", line 950, in __init__
restore_signals, start_new_session)
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\subprocess.
py", line 1220, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
[E 08:45:04.322 NotebookApp] {
"Accept-Language": "en-US,en;q=0.8",
"Content-Type": "application/json",
"Accept": "application/json, text/javascript, */*; q=0.01",
"Connection": "keep-alive",
"Referer": "http://localhost:8888/notebooks/Untitled.ipynb?kernel_name=pyt
hon3",
"Content-Length": "76",
"X-Requested-With": "XMLHttpRequest",
"Host": "localhost:8888",
"Origin": "http://localhost:8888",
"Accept-Encoding": "gzip, deflate",
"User-Agent": "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHT
ML, like Gecko) Chrome/50.0.2661.102 Safari/537.36"
}
[E 08:45:04.336 NotebookApp] 500 POST /api/sessions (::1) 219.01ms referer=http:
//localhost:8888/notebooks/Untitled.ipynb?kernel_name=python3
[I 08:47:04.786 NotebookApp] Saving file at /Untitled.ipynb
Interesting. What happens if you run jupyter notebook
from the command line?
I get this error:
[Miniconda3] C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\Scripts>jupyte
r notebook
[W 09:24:23.319 NotebookApp] Widgets are unavailable. Please install widgetsnbex
tension or ipywidgets 4.0
[I 09:24:25.702 NotebookApp] Serving notebooks from local directory: C:\Users\rs
ignell\AppData\Local\Continuum\Miniconda3\Scripts
[I 09:24:25.703 NotebookApp] 0 active kernels
[I 09:24:25.705 NotebookApp] The Jupyter Notebook is running at: http://localhos
t:8888/
[I 09:24:25.706 NotebookApp] Use Control-C to stop this server and shut down all
kernels (twice to skip confirmation).
[I 09:24:32.394 NotebookApp] Creating new notebook in
[E 09:24:34.023 NotebookApp] Failed to run command:
['C:\\conda\\envs\\_build\\python.exe', '-m', 'ipykernel', '-f', 'C:\\Users\
\rsignell\\AppData\\Roaming\\jupyter\\runtime\\kernel-32478687-5339-4a4e-a863-2c
c2d75067bf.json']
with kwargs:
{'stderr': None, 'stdin': -1, 'cwd': 'C:\\Users\\rsignell\\AppData\\Local\\C
ontinuum\\Miniconda3\\Scripts', 'env': {'USERPROFILE': 'C:\\Users\\rsignell', 'F
P_NO_HOST_CHECK': 'NO', 'CONDA_PATH_BACKUP': 'C:\\ProgramData\\Oracle\\Java\\jav
apath;C:\\Program Files (x86)\\Intel\\iCLS Client\\;C:\\Program Files\\Intel\\iC
LS Client\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Wi
ndows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files\\Google\\Google App
s Sync\\;C:\\Program Files\\Google\\Google Apps Migration\\;C:\\Program Files\\I
ntel\\WiFi\\bin\\;C:\\Program Files\\Common Files\\Intel\\WirelessCommon\\;C:\\P
rogram Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program File
s (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\In
tel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files (x86)\\Intel\\
Intel(R) Management Engine Components\\IPT;C:\\ArcGIS\\gbin;C:\\Program Files\\M
ATLAB\\R2015b\\bin;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Git\\mingw64\\
bin;C:\\Program Files\\Git\\usr\\bin;C:\\Program Files (x86)\\Skype\\Phone\\', '
AGSDESKTOPJAVA': 'C:\\ArcGIS\\Desktop10.3\\', 'PYTHONPATH': 'C:\\ArcGIS\\Desktop
10.3\\ArcToolbox\\Toolboxes\\USGS_EGISTools\\scripts', 'JPY_PARENT_PID': '740',
'APPDATA': 'C:\\Users\\rsignell\\AppData\\Roaming', 'TMP': 'C:\\Users\\rsignell\
\AppData\\Local\\Temp\\3', 'PATH': 'C:\\Users\\rsignell\\AppData\\Local\\Continu
um\\Miniconda3\\Library\\bin;C:\\Users\\rsignell\\AppData\\Local\\Continuum\\Min
iconda3\\Library\\bin;C:\\Users\\rsignell\\AppData\\Local\\Continuum\\Miniconda3
;C:\\Users\\rsignell\\AppData\\Local\\Continuum\\Miniconda3\\Scripts;C:\\Users\\
rsignell\\AppData\\Local\\Continuum\\Miniconda3\\Library\\bin;C:\\ProgramData\\O
racle\\Java\\javapath;C:\\Program Files (x86)\\Intel\\iCLS Client\\;C:\\Program
Files\\Intel\\iCLS Client\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\Syste
m32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files\\Go
ogle\\Google Apps Sync\\;C:\\Program Files\\Google\\Google Apps Migration\\;C:\\
Program Files\\Intel\\WiFi\\bin\\;C:\\Program Files\\Common Files\\Intel\\Wirele
ssCommon\\;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;
C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\P
rogram Files\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program File
s (x86)\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\ArcGIS\\gbin;C:\\
Program Files\\MATLAB\\R2015b\\bin;C:\\Program Files\\Git\\cmd;C:\\Program Files
\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Program Files (x86)\\Sk
ype\\Phone\\', 'COMMONPROGRAMFILES': 'C:\\Program Files\\Common Files', 'DOILOGO
NMETHOD_RSIGNELL': 'smartcard credential provider', 'PROCESSOR_REVISION': '3c03'
, 'SYSTEMROOT': 'C:\\Windows', 'USERDNSDOMAIN': 'GS.DOI.NET', 'SESSIONNAME': 'Co
nsole', 'DOIJAVA64': 'C:\\Program Files\\Java\\jre1.8.0_91\\bin', 'COMMONPROGRAM
W6432': 'C:\\Program Files\\Common Files', 'VBOX_MSI_INSTALL_PATH': 'C:\\Program
Files\\Oracle\\VirtualBox\\', 'HOMEDRIVE': 'C:', 'PROGRAMFILES(X86)': 'C:\\Prog
ram Files (x86)', 'PROGRAMFILES': 'C:\\Program Files', 'HOMEPATH': '\\Users\\rsi
gnell', 'COMPUTERNAME': 'IGSAGIEGLTRSI71', 'CONDA_DEFAULT_ENV': 'C:\\Users\\rsig
nell\\AppData\\Local\\Continuum\\Miniconda3', 'PROCESSOR_IDENTIFIER': 'Intel64 F
amily 6 Model 60 Stepping 3, GenuineIntel', 'COMSPEC': 'C:\\Windows\\system32\\c
md.exe', 'USERDOMAIN_ROAMINGPROFILE': 'GS', 'DOIJAVA86': 'C:\\Program Files (x86
)\\Java\\jre1.8.0_91\\bin', 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.
WSF;.WSH;.MSC', 'PROCESSOR_LEVEL': '6', 'PROGRAMW6432': 'C:\\Program Files', 'PU
BLIC': 'C:\\Users\\Public', 'LOGONSERVER': '\\\\IGSAGIEIDC02', 'USERDOMAIN': 'GS
', 'JPY_INTERRUPT_EVENT': '976', 'PROCESSOR_ARCHITECTURE': 'AMD64', 'PROGRAMDATA
': 'C:\\ProgramData', 'TEMP': 'C:\\Users\\rsignell\\AppData\\Local\\Temp\\3', 'I
PY_INTERRUPT_EVENT': '976', 'ALLUSERSPROFILE': 'C:\\ProgramData', 'WINDIR': 'C:\
\Windows', 'NUMBER_OF_PROCESSORS': '8', 'UATDATA': 'C:\\Windows\\CCM\\UATData\\D
9F8C395-CAB8-491d-B8AC-179A1FE1BE77', 'COMMONPROGRAMFILES(X86)': 'C:\\Program Fi
les (x86)\\Common Files', 'PROMPT': '[Miniconda3] $P$G', 'USERNAME': 'rsignell',
'SYSTEMDRIVE': 'C:', 'OS': 'Windows_NT', 'WINDOWS_TRACING_LOGFILE': 'C:\\BVTBin
\\Tests\\installpackage\\csilogfile.log', 'WINDOWS_TRACING_FLAGS': '3', 'PSMODUL
EPATH': 'C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules\\', 'LOCALAPPDA
TA': 'C:\\Users\\rsignell\\AppData\\Local'}, 'stdout': None}
[E 09:24:34.037 NotebookApp] Unhandled error in API request
Traceback (most recent call last):
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\notebook\base\handlers.py", line 457, in wrapper
result = yield gen.maybe_future(method(self, *args, **kwargs))
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\tornado\gen.py", line 1008, in run
value = future.result()
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\tornado\concurrent.py", line 232, in result
raise_exc_info(self._exc_info)
File "<string>", line 3, in raise_exc_info
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\tornado\gen.py", line 1014, in run
yielded = self.gen.throw(*exc_info)
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\notebook\services\sessions\handlers.py", line 62, in post
kernel_id=kernel_id))
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\tornado\gen.py", line 1008, in run
value = future.result()
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\tornado\concurrent.py", line 232, in result
raise_exc_info(self._exc_info)
File "<string>", line 3, in raise_exc_info
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\tornado\gen.py", line 1014, in run
yielded = self.gen.throw(*exc_info)
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\notebook\services\sessions\sessionmanager.py", line 79, in create_session
kernel_name)
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\tornado\gen.py", line 1008, in run
value = future.result()
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\tornado\concurrent.py", line 232, in result
raise_exc_info(self._exc_info)
File "<string>", line 3, in raise_exc_info
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\tornado\gen.py", line 1014, in run
yielded = self.gen.throw(*exc_info)
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\notebook\services\sessions\sessionmanager.py", line 92, in start_kernel_for_s
ession
self.kernel_manager.start_kernel(path=kernel_path, kernel_name=kernel_na
me)
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\tornado\gen.py", line 1008, in run
value = future.result()
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\tornado\concurrent.py", line 232, in result
raise_exc_info(self._exc_info)
File "<string>", line 3, in raise_exc_info
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\tornado\gen.py", line 282, in wrapper
yielded = next(result)
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\notebook\services\kernels\kernelmanager.py", line 87, in start_kernel
super(MappingKernelManager, self).start_kernel(**kwargs)
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\jupyter_client\multikernelmanager.py", line 110, in start_kernel
km.start_kernel(**kwargs)
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\jupyter_client\manager.py", line 243, in start_kernel
**kw)
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\jupyter_client\manager.py", line 189, in _launch_kernel
return launch_kernel(kernel_cmd, **kw)
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\jupyter_client\launcher.py", line 123, in launch_kernel
proc = Popen(cmd, **kwargs)
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\subprocess.
py", line 950, in __init__
restore_signals, start_new_session)
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\subprocess.
py", line 1220, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
[E 09:24:34.068 NotebookApp] {
"X-Requested-With": "XMLHttpRequest",
"Origin": "http://localhost:8888",
"Accept": "application/json, text/javascript, */*; q=0.01",
"Content-Type": "application/json",
"Connection": "keep-alive",
"Content-Length": "77",
"Referer": "http://localhost:8888/notebooks/Untitled2.ipynb?kernel_name=py
thon3",
"Accept-Language": "en-US,en;q=0.8",
"Host": "localhost:8888",
"User-Agent": "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHT
ML, like Gecko) Chrome/50.0.2661.102 Safari/537.36",
"Accept-Encoding": "gzip, deflate"
}
[E 09:24:34.071 NotebookApp] 500 POST /api/sessions (::1) 211.01ms referer=http:
//localhost:8888/notebooks/Untitled2.ipynb?kernel_name=python3
[W 09:24:34.107 NotebookApp] 404 GET /nbextensions/widgets/notebook/js/extension
.js?v=20160608092423 (::1) 33.00ms referer=http://localhost:8888/notebooks/Untit
led2.ipynb?kernel_name=python3
Thanks for doing these tests. Their purpose is to figure out where 'C:\\conda\\envs\\_build\\python.exe'
is stored; something is telling jupyter
that's where to look for Python. Unfortunately I don't know enough about how Jupyter works to answer that.
@ilanschnell - do any of the jupyter/notebook packages have has_prefix files on Mac or Linux? I think we might need them here - and we probably also need to solve the conda-side part of https://github.com/conda/conda-build/issues/997 - making sure that text replacement gets backslashes right.
Just in case it's relevant, after typing "activate", my Windows PATH looks like this:
[Miniconda3] C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\Scripts>path
PATH=C:\Users\rsignell\AppData\Local\Continuum\Miniconda3;C:\Users\rsignell\AppD
ata\Local\Continuum\Miniconda3\Scripts;C:\Users\rsignell\AppData\Local\Continuum
\Miniconda3\Library\bin;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x8
6)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:
\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:
\Program Files\Google\Google Apps Sync\;C:\Program Files\Google\Google Apps Migr
ation\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\Wire
lessCommon\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\
Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program F
iles\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Inte
l\Intel(R) Management Engine Components\IPT;C:\ArcGIS\gbin;C:\Program Files\MATL
AB\R2015b\bin;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Progr
am Files\Git\usr\bin;C:\Program Files (x86)\Skype\Phone\
@rsignell-usgs which channels do you have enabled in .condarc? Can you also tell us a list of ipython and jupyter packages that were installed by your command? The output of conda list --explicit
would be a good way to get this info.
Okay, I have:
channels:
- conda-forge
- jsignell
- r
- NOAA-ORR-ERD
- ioos
- defaults
show_channel_urls: true
and when I type conda list --explicit
I get:
[Miniconda3] C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\Scripts>conda
list --explicit
# This file may be used to create an environment using:
# $ conda create --name <env> --file <this file>
# platform: win-64
@EXPLICIT
https://repo.continuum.io/pkgs/free/win-64/anaconda-client-1.4.0-py35_0.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/anaconda-navigator-1.1.1-py35_0.tar.b
z2
https://conda.anaconda.org/conda-forge/win-64/backports.shutil_get_terminal_size
-1.0.0-py35_0.tar.bz2
https://conda.anaconda.org/conda-forge/win-64/ca-certificates-2016.2.28-0.tar.bz
2
https://repo.continuum.io/pkgs/free/win-64/clyent-1.2.2-py35_0.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/conda-4.0.8-py35_0.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/conda-env-2.4.5-py35_0.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/conda-manager-0.4.0-py35_0.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/decorator-4.0.9-py35_0.tar.bz2
https://conda.anaconda.org/conda-forge/win-64/entrypoints-0.2.1-py35_0.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/freetype-2.5.5-vc14_1.tar.bz2
https://conda.anaconda.org/conda-forge/win-64/ipykernel-4.3.1-py35_1.tar.bz2
https://conda.anaconda.org/conda-forge/win-64/ipython-4.2.0-py35_1.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/ipython_genutils-0.1.0-py35_0.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/jinja2-2.8-py35_1.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/jpeg-8d-vc14_0.tar.bz2
https://conda.anaconda.org/conda-forge/win-64/jsonschema-2.5.1-py35_0.tar.bz2
https://conda.anaconda.org/conda-forge/win-64/jupyter_client-4.2.2-py35_0.tar.bz
2
https://conda.anaconda.org/conda-forge/win-64/jupyter_core-4.1.0-py35_0.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/libpng-1.6.22-vc14_0.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/libtiff-4.0.6-vc14_2.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/markupsafe-0.23-py35_2.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/menuinst-1.3.2-py35_0.tar.bz2
https://conda.anaconda.org/conda-forge/win-64/mistune-0.7.2-py35_0.tar.bz2
https://conda.anaconda.org/conda-forge/win-64/nbconvert-4.2.0-py35_0.tar.bz2
https://conda.anaconda.org/conda-forge/win-64/nbformat-4.0.1-py35_0.tar.bz2
https://conda.anaconda.org/conda-forge/win-64/notebook-4.2.1-py35_0.tar.bz2
https://conda.anaconda.org/conda-forge/win-64/openssl-1.0.2h-vc14_0.tar.bz2
https://conda.anaconda.org/conda-forge/win-64/pickleshare-0.7.2-py35_0.tar.bz2
https://conda.anaconda.org/conda-forge/win-64/pillow-3.2.0-py35_0.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/pip-8.1.1-py35_1.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/pycosat-0.6.1-py35_0.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/pycrypto-2.6.1-py35_3.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/pygments-2.1.3-py35_0.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/pyqt-4.11.4-py35_6.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/pyreadline-2.1-py35_0.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/python-3.5.1-4.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/python-dateutil-2.5.3-py35_0.tar.bz2
https://conda.anaconda.org/conda-forge/win-64/python-simplegeneric-0.8.1-py35_0.
tar.bz2
https://repo.continuum.io/pkgs/free/win-64/pytz-2016.4-py35_0.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/pyyaml-3.11-py35_3.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/pyzmq-15.2.0-py35_0.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/qt-4.8.7-vc14_8.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/qtawesome-0.3.3-py35_0.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/qtpy-1.0.1-py35_0.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/requests-2.9.1-py35_0.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/setuptools-20.3-py35_0.tar.bz2
https://conda.anaconda.org/conda-forge/win-64/sip-4.18-py35_0.tar.bz2
https://conda.anaconda.org/conda-forge/win-64/six-1.10.0-py35_0.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/tornado-4.3-py35_1.tar.bz2
https://conda.anaconda.org/conda-forge/win-64/traitlets-4.2.1-py35_0.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/vs2015_runtime-14.00.23026.0-0.tar.bz
2
https://repo.continuum.io/pkgs/free/win-64/wheel-0.29.0-py35_0.tar.bz2
https://conda.anaconda.org/conda-forge/win-64/zlib-1.2.8-vc14_3.tar.bz2
[Miniconda3] C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\Scripts>
Thanks Rich, I'll trawl through these and let you know what I find.
I modified my .condarc
to just:
channels:
- conda-forge
- defaults
show_channel_urls: true
removed the miniconda3
directory, along with the .conda
, .anaconda
and .condamanager
directories, and reinstalled miniconda. Then I did conda install anaconda-navigator
and in the navigator, installed the notebook app.
So now when I type conda list --explicit
, I get:
[Miniconda3] C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\Scripts>conda
list --explicit
# This file may be used to create an environment using:
# $ conda create --name <env> --file <this file>
# platform: win-64
@EXPLICIT
https://repo.continuum.io/pkgs/free/win-64/anaconda-client-1.4.0-py35_0.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/anaconda-navigator-1.1.1-py35_0.tar.b
z2
https://conda.anaconda.org/conda-forge/win-64/backports.shutil_get_terminal_size
-1.0.0-py35_0.tar.bz2
https://conda.anaconda.org/conda-forge/win-64/ca-certificates-2016.2.28-0.tar.bz
2
https://repo.continuum.io/pkgs/free/win-64/clyent-1.2.2-py35_0.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/conda-4.0.8-py35_0.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/conda-env-2.4.5-py35_0.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/conda-manager-0.4.0-py35_0.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/decorator-4.0.9-py35_0.tar.bz2
https://conda.anaconda.org/conda-forge/win-64/entrypoints-0.2.1-py35_0.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/freetype-2.5.5-vc14_1.tar.bz2
https://conda.anaconda.org/conda-forge/win-64/ipykernel-4.3.1-py35_1.tar.bz2
https://conda.anaconda.org/conda-forge/win-64/ipython-4.2.0-py35_1.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/ipython_genutils-0.1.0-py35_0.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/jinja2-2.8-py35_1.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/jpeg-8d-vc14_0.tar.bz2
https://conda.anaconda.org/conda-forge/win-64/jsonschema-2.5.1-py35_0.tar.bz2
https://conda.anaconda.org/conda-forge/win-64/jupyter_client-4.2.2-py35_0.tar.bz
2
https://conda.anaconda.org/conda-forge/win-64/jupyter_core-4.1.0-py35_0.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/libpng-1.6.22-vc14_0.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/libtiff-4.0.6-vc14_2.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/markupsafe-0.23-py35_2.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/menuinst-1.3.2-py35_0.tar.bz2
https://conda.anaconda.org/conda-forge/win-64/mistune-0.7.2-py35_0.tar.bz2
https://conda.anaconda.org/conda-forge/win-64/nbconvert-4.2.0-py35_0.tar.bz2
https://conda.anaconda.org/conda-forge/win-64/nbformat-4.0.1-py35_0.tar.bz2
https://conda.anaconda.org/conda-forge/win-64/notebook-4.2.1-py35_0.tar.bz2
https://conda.anaconda.org/conda-forge/win-64/openssl-1.0.2h-vc14_0.tar.bz2
https://conda.anaconda.org/conda-forge/win-64/pickleshare-0.7.2-py35_0.tar.bz2
https://conda.anaconda.org/conda-forge/win-64/pillow-3.2.0-py35_0.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/pip-8.1.1-py35_1.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/pycosat-0.6.1-py35_0.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/pycrypto-2.6.1-py35_3.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/pygments-2.1.3-py35_0.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/pyqt-4.11.4-py35_6.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/pyreadline-2.1-py35_0.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/python-3.5.1-4.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/python-dateutil-2.5.3-py35_0.tar.bz2
https://conda.anaconda.org/conda-forge/win-64/python-simplegeneric-0.8.1-py35_0.
tar.bz2
https://repo.continuum.io/pkgs/free/win-64/pytz-2016.4-py35_0.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/pyyaml-3.11-py35_3.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/pyzmq-15.2.0-py35_0.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/qt-4.8.7-vc14_8.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/qtawesome-0.3.3-py35_0.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/qtpy-1.0.2-py35_0.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/requests-2.9.1-py35_0.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/setuptools-20.3-py35_0.tar.bz2
https://conda.anaconda.org/conda-forge/win-64/sip-4.18-py35_0.tar.bz2
https://conda.anaconda.org/conda-forge/win-64/six-1.10.0-py35_0.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/tornado-4.3-py35_1.tar.bz2
https://conda.anaconda.org/conda-forge/win-64/traitlets-4.2.1-py35_0.tar.bz2
https://repo.continuum.io/pkgs/free/win-64/vs2015_runtime-14.00.23026.0-0.tar.bz
2
https://repo.continuum.io/pkgs/free/win-64/wheel-0.29.0-py35_0.tar.bz2
https://conda.anaconda.org/conda-forge/win-64/zlib-1.2.8-vc14_3.tar.bz2
but when I open a notebook I still get kernel error
with these messages:
[W 06:46:36.547 NotebookApp] Widgets are unavailable. Please install widgetsnbex
tension or ipywidgets 4.0
[I 06:46:39.031 NotebookApp] Serving notebooks from local directory: C:\Users\rs
ignell\Documents
[I 06:46:39.032 NotebookApp] 0 active kernels
[I 06:46:39.033 NotebookApp] The Jupyter Notebook is running at: http://localhos
t:8888/
[I 06:46:39.034 NotebookApp] Use Control-C to stop this server and shut down all
kernels (twice to skip confirmation).
[W 06:46:40.831 NotebookApp] C:\Users\rsignell\Documents\My Music doesn't exist
[I 06:46:46.562 NotebookApp] Creating new notebook in
[W 06:46:47.889 NotebookApp] 404 GET /nbextensions/widgets/notebook/js/extension
.js?v=20160609064636 (::1) 28.07ms referer=http://localhost:8888/notebooks/Untit
led1.ipynb?kernel_name=python3
[E 06:46:48.298 NotebookApp] Failed to run command:
['C:\\conda\\envs\\_build\\python.exe', '-m', 'ipykernel', '-f', 'C:\\Users\
\rsignell\\AppData\\Roaming\\jupyter\\runtime\\kernel-db986779-6c03-48ac-b5c3-1b
54f72e24f1.json']
with kwargs:
{'stdout': None, 'env': {'OS': 'Windows_NT', 'TMP': 'C:\\Users\\rsignell\\Ap
pData\\Local\\Temp\\3', 'HOMEPATH': '\\Users\\rsignell', 'USERNAME': 'rsignell',
'PROCESSOR_REVISION': '3c03', 'AGSDESKTOPJAVA': 'C:\\ArcGIS\\Desktop10.3\\', 'P
ROGRAMFILES': 'C:\\Program Files', 'JPY_INTERRUPT_EVENT': '980', 'COMSPEC': 'C:\
\Windows\\system32\\cmd.exe', 'SYSTEMROOT': 'C:\\Windows', 'PROGRAMDATA': 'C:\\P
rogramData', 'PROCESSOR_LEVEL': '6', 'COMMONPROGRAMW6432': 'C:\\Program Files\\C
ommon Files', 'HOMEDRIVE': 'C:', 'SESSIONNAME': 'Console', 'PROCESSOR_IDENTIFIER
': 'Intel64 Family 6 Model 60 Stepping 3, GenuineIntel', 'DOILOGONMETHOD_RSIGNEL
L': 'smartcard credential provider', 'PROGRAMFILES(X86)': 'C:\\Program Files (x8
6)', 'PSMODULEPATH': 'C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules\\'
, 'SYSTEMDRIVE': 'C:', 'WINDOWS_TRACING_FLAGS': '3', 'WINDOWS_TRACING_LOGFILE':
'C:\\BVTBin\\Tests\\installpackage\\csilogfile.log', 'ALLUSERSPROFILE': 'C:\\Pro
gramData', 'COMMONPROGRAMFILES(X86)': 'C:\\Program Files (x86)\\Common Files', '
WINDIR': 'C:\\Windows', 'LOGONSERVER': '\\\\IGSAGIEIDC02', 'PATHEXT': '.COM;.EXE
;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC', 'USERDNSDOMAIN': 'GS.DOI.NET', 'A
PPDATA': 'C:\\Users\\rsignell\\AppData\\Roaming', 'PATH': 'C:\\Users\\rsignell\\
AppData\\Local\\Continuum\\Miniconda3\\Library\\bin;C:\\Users\\rsignell\\AppData
\\Local\\Continuum\\Miniconda3\\Library\\bin;C:\\Users\\rsignell\\AppData\\Local
\\Continuum\\Miniconda3;C:\\Users\\rsignell\\AppData\\Local\\Continuum\\Minicond
a3\\Scripts;C:\\Users\\rsignell\\AppData\\Local\\Continuum\\Miniconda3\\Library\
\bin;C:\\Users\\rsignell\\AppData\\Local\\Continuum\\Miniconda3\\Library\\bin;C:
\\ProgramData\\Oracle\\Java\\javapath;C:\\Program Files (x86)\\Intel\\iCLS Clien
t\\;C:\\Program Files\\Intel\\iCLS Client\\;C:\\Windows\\system32;C:\\Windows;C:
\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\P
rogram Files\\Google\\Google Apps Sync\\;C:\\Program Files\\Google\\Google Apps
Migration\\;C:\\Program Files\\Intel\\WiFi\\bin\\;C:\\Program Files\\Common File
s\\Intel\\WirelessCommon\\;C:\\Program Files\\Intel\\Intel(R) Management Engine
Components\\DAL;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Compo
nents\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\IPT;
C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\A
rcGIS\\gbin;C:\\Program Files\\MATLAB\\R2015b\\bin;C:\\Program Files\\Git\\cmd;C
:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Program
Files (x86)\\Skype\\Phone\\', 'LOCALAPPDATA': 'C:\\Users\\rsignell\\AppData\\Lo
cal', 'PUBLIC': 'C:\\Users\\Public', 'TEMP': 'C:\\Users\\rsignell\\AppData\\Loca
l\\Temp\\3', 'QT_API': 'pyqt', 'IPY_INTERRUPT_EVENT': '980', 'UATDATA': 'C:\\Win
dows\\CCM\\UATData\\D9F8C395-CAB8-491d-B8AC-179A1FE1BE77', 'PROCESSOR_ARCHITECTU
RE': 'AMD64', 'JPY_PARENT_PID': '756', 'FP_NO_HOST_CHECK': 'NO', 'PYTHONPATH': '
C:\\ArcGIS\\Desktop10.3\\ArcToolbox\\Toolboxes\\USGS_EGISTools\\scripts', 'DOIJA
VA64': 'C:\\Program Files\\Java\\jre1.8.0_91\\bin', 'COMPUTERNAME': 'IGSAGIEGLTR
SI71', 'USERPROFILE': 'C:\\Users\\rsignell', 'NUMBER_OF_PROCESSORS': '8', 'VBOX_
MSI_INSTALL_PATH': 'C:\\Program Files\\Oracle\\VirtualBox\\', 'PROGRAMW6432': 'C
:\\Program Files', 'USERDOMAIN_ROAMINGPROFILE': 'GS', 'COMMONPROGRAMFILES': 'C:\
\Program Files\\Common Files', 'USERDOMAIN': 'GS', 'DOIJAVA86': 'C:\\Program Fil
es (x86)\\Java\\jre1.8.0_91\\bin'}, 'stderr': None, 'cwd': 'C:\\Users\\rsignell\
\Documents', 'stdin': -1}
[E 06:46:48.308 NotebookApp] Unhandled error in API request
Traceback (most recent call last):
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\notebook\base\handlers.py", line 457, in wrapper
result = yield gen.maybe_future(method(self, *args, **kwargs))
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\tornado\gen.py", line 1008, in run
value = future.result()
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\tornado\concurrent.py", line 232, in result
raise_exc_info(self._exc_info)
File "<string>", line 3, in raise_exc_info
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\tornado\gen.py", line 1014, in run
yielded = self.gen.throw(*exc_info)
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\notebook\services\sessions\handlers.py", line 62, in post
kernel_id=kernel_id))
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\tornado\gen.py", line 1008, in run
value = future.result()
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\tornado\concurrent.py", line 232, in result
raise_exc_info(self._exc_info)
File "<string>", line 3, in raise_exc_info
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\tornado\gen.py", line 1014, in run
yielded = self.gen.throw(*exc_info)
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\notebook\services\sessions\sessionmanager.py", line 79, in create_session
kernel_name)
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\tornado\gen.py", line 1008, in run
value = future.result()
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\tornado\concurrent.py", line 232, in result
raise_exc_info(self._exc_info)
File "<string>", line 3, in raise_exc_info
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\tornado\gen.py", line 1014, in run
yielded = self.gen.throw(*exc_info)
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\notebook\services\sessions\sessionmanager.py", line 92, in start_kernel_for_s
ession
self.kernel_manager.start_kernel(path=kernel_path, kernel_name=kernel_na
me)
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\tornado\gen.py", line 1008, in run
value = future.result()
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\tornado\concurrent.py", line 232, in result
raise_exc_info(self._exc_info)
File "<string>", line 3, in raise_exc_info
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\tornado\gen.py", line 282, in wrapper
yielded = next(result)
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\notebook\services\kernels\kernelmanager.py", line 87, in start_kernel
super(MappingKernelManager, self).start_kernel(**kwargs)
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\jupyter_client\multikernelmanager.py", line 110, in start_kernel
km.start_kernel(**kwargs)
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\jupyter_client\manager.py", line 243, in start_kernel
**kw)
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\jupyter_client\manager.py", line 189, in _launch_kernel
return launch_kernel(kernel_cmd, **kw)
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\site-packag
es\jupyter_client\launcher.py", line 123, in launch_kernel
proc = Popen(cmd, **kwargs)
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\subprocess.
py", line 950, in __init__
restore_signals, start_new_session)
File "C:\Users\rsignell\AppData\Local\Continuum\Miniconda3\lib\subprocess.
py", line 1220, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
[E 06:46:48.339 NotebookApp] {
"Referer": "http://localhost:8888/notebooks/Untitled1.ipynb?kernel_name=py
thon3",
"X-Requested-With": "XMLHttpRequest",
"Host": "localhost:8888",
"User-Agent": "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHT
ML, like Gecko) Chrome/50.0.2661.102 Safari/537.36",
"Origin": "http://localhost:8888",
"Accept-Encoding": "gzip, deflate",
"Accept-Language": "en-US,en;q=0.8",
"Content-Type": "application/json",
"Connection": "keep-alive",
"Content-Length": "77",
"Accept": "application/json, text/javascript, */*; q=0.01"
}
[E 06:46:48.357 NotebookApp] 500 POST /api/sessions (::1) 275.69ms referer=http:
//localhost:8888/notebooks/Untitled1.ipynb?kernel_name=python3
Rich, you appear to be encountering https://github.com/conda-forge/ipykernel-feedstock/issues/6
This has been addressed in https://github.com/conda/conda-build/pull/962, but that version of conda-build has not yet been released. When it is, we'll need to rebuild that feedstock.
I'm closing this issue because it is a conda-forge issue. You need to get the defaults version of this package, or wait until it is fixed on conda-forge. Alternatively, you could manually hack the <prefix>\share\jupyter\kernels\python3\kernel.json
file and fix the path there so that it points at your python installation.
Feel free to reopen if this does not sufficiently answer your issue.
Indeed, taking these steps to ensure packages were from the defaults channel fixed the problem:
conda-forge
channel from .condarc
conda remove ipykernel
conda install ipykernel notebook
@msarahan we must remove the bad packages from the channel. (Can you do it? I am away from my laptop for a few hours. If not I will do it as soon as I get back home.)
There seem to be 2 builds. Pull them both (on windows only?)
There seem to be 2 builds. Pull them both (on windows only?)
Both b/c we know that defaults
is working and that is 4.2.2
, while conda-forge
's is 4.3.1
. I can do that now so if someone complains it will be on me :wink:
From https://github.com/conda/conda/issues/2612 by @rsignell-usgs:
I'm getting
kernel error
when I try to create any notebook with my new miniconda3 environment on windows. Here's what I did: