@txgoldbear Just like you run any other function in Python. Suppose you have a function
def sum(a, b):
return a + b
You can run it by simply calling it like any other function, sum(2, 2)
.
conda update pyzmq jupyter_client
in your current environment, and if that doesn't work, try creating a clean, isolated environment for Spyder itself withconda create -n spyder-env python=3.6
activate spyder-env
conda install spyder
set SPYDER_DEBUG=3
spyder --new-instance
Preferences > Python Interpreter > Use the following Python interpreter
set the path to the python.exe
of your Tensorflow environment. This is under the Anaconda directory and is either directly under that directory if you installed it in the default base
environment, or under envs/TENSORFLOW_ENVIRONMENT_NAME
otherwise (you can see the environment name printed to the left of the prompt in the Anaconda prompt.
> spyder
line (that you typed to launch Spyder) here inside a code block (or a text file, if its longer than like 5-10 lines) which might give us a hint what's happening. Thanks.