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

The problem of installing spyder(tensorflow) with Anaconda #5255

Closed
wangdq1989 opened this issue Sep 16, 2017 · 2 comments
Closed

The problem of installing spyder(tensorflow) with Anaconda #5255

wangdq1989 opened this issue Sep 16, 2017 · 2 comments

Comments

@wangdq1989
Copy link

Description

What steps will reproduce the problem?

What is the expected output? What do you see instead?

Please provide any additional information below

File "C:\Users\DQWang\Anaconda3\envs\tensorflow\lib\site-packages\spyder\plugins\ipythonconsole.py", line 890, in run_script
self.execute_code(line, current_client, clear_variables)
File "C:\Users\DQWang\Anaconda3\envs\tensorflow\lib\site-packages\spyder\plugins\ipythonconsole.py", line 936, in execute_code
sw.execute(to_text_string(to_text_string(lines)))
File "C:\Users\DQWang\Anaconda3\envs\tensorflow\lib\site-packages\qtconsole\history_console_widget.py", line 47, in execute
source, hidden, interactive)
File "C:\Users\DQWang\Anaconda3\envs\tensorflow\lib\site-packages\qtconsole\console_widget.py", line 632, in execute
self._execute(source, hidden)
File "C:\Users\DQWang\Anaconda3\envs\tensorflow\lib\site-packages\qtconsole\frontend_widget.py", line 294, in _execute
msg_id = self.kernel_client.execute(source, hidden)
AttributeError: 'NoneType' object has no attribute 'execute'

Version and main components

  • Spyder Version: 3.2.3
  • Python Version: 3.6.2
  • Qt Versions: 5.6.2, PyQt5 5.6 on Windows

Dependencies

pyflakes >=0.6.0 :  1.6.0 (OK)
pycodestyle >=2.3:  2.3.1 (OK)
pygments >=2.0   :  2.2.0 (OK)
pandas >=0.13.1  :  None (NOK)
nu
@rlaverde
Copy link
Member

This error is related to #5053 the console is failing to start.

Try to follow some of the advices of #3915 to make tensorflow work with spyder

@ccordoba12
Copy link
Member

Basically, you need to install the ipykernel module in your tensorflow environment.

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

3 participants