Skip to content
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

Not working on Windows 10 for spyder-notebook-0.3.1 #336

Open
HYChou0515 opened this issue Nov 25, 2020 · 4 comments
Open

Not working on Windows 10 for spyder-notebook-0.3.1 #336

HYChou0515 opened this issue Nov 25, 2020 · 4 comments

Comments

@HYChou0515
Copy link

HYChou0515 commented Nov 25, 2020

This is all about version 0.1 of the plugin, we never managed to reproduce it and we have just released version 0.3, so I am closing this issue. If anybody encounters the same problem with version 0.3, please open a new issue so that we can get to the bottom of it.

Originally posted by @jitseniesen in #120 (comment)

Hi, I am now facing a similar issue of this 2017 issue. After I start spyder with spyder-notebok plugin installed, it says

The Jupyter Notebook server failed to start or it is taking too much time to do it. Please start it in a system terminal with the command 'jupyter notebook' to check for errors.

Also, when I switch to Notebook pane, the untitled0 is blank and cannot be edited.
image

I can run jupyter notebook but many of my ports are in use, but jupyter notebook can still find an unoccupied port (8977) and lunched successfully. I've also tried to modify the default port of jupyter notebook to 8977 so it can save time try unused port one after one. Because I know spyder notebook will wait 25 seconds at most.
image

I've also tried open jupyter notebook in another cmd but didn't help.

spyder-notebook is my first spyder plugin and no other plugin is installed.

I'm using pipenv, every packages are installed by pip.

version info:
OS: Windows 10
Python: 3.8.6
pip: 20.2.4

> pip freeze
absl-py==0.11.0
alabaster==0.7.12
appdirs==1.4.4
argon2-cffi==20.1.0
astroid==2.4.2
astunparse==1.6.3
async-generator==1.10
atomicwrites==1.4.0
attrs==20.3.0
autopep8==1.5.4
Babel==2.9.0
backcall==0.2.0
bcrypt==3.2.0
black==20.8b1
bleach==3.2.1
cachetools==4.1.1
certifi==2020.11.8
cffi==1.14.4
chardet==3.0.4
click==7.1.2
cloudpickle==1.6.0
colorama==0.4.4
cryptography==3.2.1
cx-Oracle==8.0.1
cycler==0.10.0
decorator==4.4.2
defusedxml==0.6.0
diff-match-patch==20200713
docutils==0.16
entrypoints==0.3
flake8==3.8.4
gast==0.3.3
google-auth==1.23.0
google-auth-oauthlib==0.4.2
google-pasta==0.2.0
grpcio==1.33.2
h5py==2.10.0
helpdev==0.7.1
idna==2.10
imagesize==1.2.0
intervaltree==3.1.0
ipykernel==5.3.4
ipython==7.19.0
ipython-genutils==0.2.0
isort==5.6.4
jedi==0.17.2
Jinja2==2.11.2
jsonschema==3.2.0
jupyter-client==6.1.7
jupyter-core==4.7.0
jupyterlab-pygments==0.1.2
Keras-Preprocessing==1.1.2
keyring==21.5.0
kiwisolver==1.3.1
lazy-object-proxy==1.4.3
Markdown==3.3.3
MarkupSafe==1.1.1
matplotlib==3.3.3
mccabe==0.6.1
mistune==0.8.4
mypy-extensions==0.4.3
nbclient==0.5.1
nbconvert==6.0.7
nbformat==5.0.8
nest-asyncio==1.4.3
notebook==6.1.5
numpy==1.18.5
numpydoc==1.1.0
oauthlib==3.1.0
opt-einsum==3.3.0
packaging==20.4
pandocfilters==1.4.3
paramiko==2.7.2
parso==0.7.0
pathspec==0.8.1
pathtools==0.1.2
pexpect==4.8.0
pickleshare==0.7.5
Pillow==8.0.1
pluggy==0.13.1
prometheus-client==0.9.0
prompt-toolkit==3.0.8
protobuf==3.14.0
psutil==5.7.3
ptyprocess==0.6.0
pyasn1==0.4.8
pyasn1-modules==0.2.8
pycodestyle==2.6.0
pycparser==2.20
pydocstyle==5.1.1
pyflakes==2.2.0
Pygments==2.7.2
pylint==2.6.0
pyls-black==0.4.6
pyls-spyder==0.2.1
PyNaCl==1.4.0
pyparsing==2.4.7
PyQt5==5.12.3
PyQt5-sip==12.8.1
PyQtWebEngine==5.12.1
pyrsistent==0.17.3
python-dateutil==2.8.1
python-jsonrpc-server==0.4.0
python-language-server==0.36.1
pytz==2020.4
pywin32==300
pywin32-ctypes==0.2.0
pywinpty==0.5.7
PyYAML==5.3.1
pyzmq==20.0.0
QDarkStyle==2.8.1
QtAwesome==1.0.1
qtconsole==5.0.1
QtPy==1.9.0
regex==2020.11.13
requests==2.25.0
requests-oauthlib==1.3.0
rope==0.18.0
rsa==4.6
scipy==1.5.4
Send2Trash==1.5.0
six==1.15.0
snowballstemmer==2.0.0
sortedcontainers==2.3.0
Sphinx==3.3.1
sphinxcontrib-applehelp==1.0.2
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-htmlhelp==1.0.3
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.4
spyder==4.2.0
spyder-kernels==1.10.0
spyder-notebook==0.3.1
tensorboard==2.4.0
tensorboard-plugin-wit==1.7.0
tensorflow==2.3.1
tensorflow-estimator==2.3.0
termcolor==1.1.0
terminado==0.9.1
testpath==0.4.4
three-merge==0.1.1
toml==0.10.2
tornado==6.1
traitlets==5.0.5
typed-ast==1.4.1
typing-extensions==3.7.4.3
ujson==4.0.1
urllib3==1.26.2
watchdog==0.10.4
wcwidth==0.2.5
webencodings==0.5.1
Werkzeug==1.0.1
wrapt==1.12.1
yapf==0.30.0
@jitseniesen
Copy link
Member

jitseniesen commented Nov 26, 2020

Thanks for your report. Can you please go to the Options menu (hamburger icon with three horizontal lines) in the notebook pane and click on "Server info"? That should show any error messages from the server. Let me know what you find.

If you don't know where the Options menu is, look at our Quickstart guide and click "Next" until you are at step 4.

@HYChou0515
Copy link
Author

The state is timeout and other than that nothing is shown.

圖片

@jitseniesen
Copy link
Member

Thanks. Unfortunately, that does not really help me to figure out what is going wrong. Perhaps the notebook server is not installed correctly. Did you upgrade spyder-notebook, or is this the first time that you installed it?

I think I will have to install the exact same versions as you with pip on Windows and see whether it works for me.

@HYChou0515
Copy link
Author

Yes, I installed it on a new machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants