About Spyder running on Anaconda, I can’t generate the data in the console.
Can you help me please?
File “C:\Users\Dell\Desktop\xxxxxxxxxxxxxxxxx\SpyderData\untitled4.py”, line 7, in
import xlrd
ModuleNotFoundError: No module named 'xlrd’
About Spyder running on Anaconda, I can’t generate the data in the console.
Can you help me please?
File “C:\Users\Dell\Desktop\xxxxxxxxxxxxxxxxx\SpyderData\untitled4.py”, line 7, in
import xlrd
ModuleNotFoundError: No module named 'xlrd’
Hi @GILMAR_VIRIATO_FLUZE and welcome!
It looks like the package xlrd
isn’t installed in the environment you’re using. How did you install Anaconda and Spyder?
Sim, instalei o Tensorflow e o Keras sem linha de comando. Não encontrei o xlrd nos pacotes então baixei ele pelo Kite, mas o Spyder não puxou.
Do you mind replying in English? (note that I’m also not an English native speaker, English is just our lingua franca and make search via the forum search or google just easier)
Thank you Maxime. Sorry for the delay, I wasn’t receiving the notifications. Well, I created an environment in Anaconda to download Tensorflow, Keras and Xrld. So far so good… but when I download Spyder in this environment it does not accept it and says that I should create a new environment for it. I don’t know what to do anymore. Could you help me?
Note: I created the environment without a command line, but I cannot import Tensorflow and Keras into the Spyder IDE.
Could you try creating a new environment with all the dependencies you required and Spyder?
That’s exactly what I did, but the environment didn’t accept the spyder and asked me to open it in its own environment, and inside the installed spyder I can’t import tensorflow and Keras.
Please, could you help me?
Hi, sorry for the late reply. I’m actually not a user of Anaconda Navigator itself (I’m using miniconda and the command line to create environments and install packages) so it’s a little harder for me to understand and help you.
When you create a new environment in Navigator and select the packages you want to install, what happens when you try to add Spyder in that environment? Could you take a screenshot of that?
Could you list all the packages you want to install in that environment? With which Python version? Also what is your platform/os?
The O.S. is WINDOWS. The environment created is PROGNOS: the packages are TENSORFLOW, KERAS and XLRD (excel), and the IDE is Spyder. Phyton is version 3.9. The python is version 3.9, but I tried 3.6 and 3.7 but I couldn’t get it either. I don’t want to use the command line (PIP).
Can you copy the text of the error message here when you are trying to create the Python 3.9 environment? The screenshot cuts off a lot of information. Thank you!
Hello, Crystal
I actually managed to download Spyder before tensorflow and keras. But now I couldn’t download tensorflow and keras in the environment. I get this message:
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Output in format: Requested package → Available versions
Package openssl conflicts for:
ipython_genutils → python → openssl[version=’>=1.1.1a,<1.1.2a|>=1.1.1b,<1.1.2a|>=1.1.1c,<1.1.2a|>=1.1.1d,<1.1.2a|>=1.1.1e,<1.1.2a|>=1.1.1f,<1.1.2a|>=1.1.1g,<1.1.2a|>=1.1.1h,<1.1.2a|>=1.1.1i,<1.1.2a|>=1.1.1j,<1.1.2a|>=1.1.1k,<1.1.2a|>=1.1.1l,<1.1.2a|>=1.1.1n,<1.1.2a’]
python-lsp-black → python[version=’>=3.6’] → openssl[version=’>=1.1.1a,<1.1.2a|>=1.1.1b,<1.1.2a|>=1.1.1c,<1.1.2a|>=1.1.1d,<1.1.2a|>=1.1.1e,<1.1.2a|>=1.1.1f,<1.1.2a|>=1.1.1g,<1.1.2a|>=1.1.1h,<1.1.2a|>=1.1.1i,<1.1.2a|>=1.1.1j,<1.1.2a|>=1.1.1k,<1.1.2a|>=1.1.1l,<1.1.2a|>=1.1.1n,<1.1.2a’]
sphinx → python[version=’>=3.6’] → openssl[version=’>=1.1.1a,<1.1.2a|>=1.1.1b,<1.1.2a|>=1.1.1c,<1.1.2a|>=1.1.1d,<1.1.2a|>=1.1.1e,<1.1.2a|>=1.1.1f,<1.1.2a|>=1.1.1g,<1.1.2a|>=1.1.1h,<1.1.2a|>=1.1.1i,<1.1.2a|>=1.1.1j,<1.1.2a|>=1.1.1k,<1.1.2a|>=1.1.1l,<1.1.2a|>=1.1.1n,<1.1.2a’]
astroid → python[version=’>=3.10,<3.11.0a0’] → openssl[version=’>=1.1.1a,<1.1.2a|>=1.1.1b,<1.1.2a|>=1.1.1c,<1.1.2a|>=1.1.1d,<1.1.2a|>=1.1.1e,<1.1.2a|>=1.1.1f,<1.1.2a|>=1.1.1g,<1.1.2a|>=1.1.1j,<1.1.2a|>=1.1.1k,<1.1.2a|>=1.1.1l,<1.1.2a|>=1.1.1n,<1.1.2a|>=1.1.1i,<1.1.2a|>=1.1.1h,<1.1.2a’]
qdarkstyle → python → openssl[version=’>=1.1.1a,<1.1.2a|>=1.1.1b,<1.1.2a|>=1.1.1c,<1.1.2a|>=1.1.1d,<1.1.2a|>=1.1.1e,<1.1.2a|>=1.1.1f,<1.1.2a|>=1.1.1g,<1.1.2a|>=1.1.1h,<1.1.2a|>=1.1.1i,<1.1.2a|>=1.1.1j,<1.1.2a|>=1.1.1k,<1.1.2a|>=1.1.1l,<1.1.2a|>=1.1.1n,<1.1.2a’]
python-lsp-server → python[version=’>=3.6’] → openssl[version=’>=1.1.1a,<1.1.2a|>=1.1.1b,<1.1.2a|>=1.1.1c,<1.1.2a|>=1.1.1d,<1.1.2a|>=1.1.1e,<1.1.2a|>=1.1.1f,<1.1.2a|>=1.1.1g,<1.1.2a|>=1.1.1h,<1.1.2a|>=1.1.1i,<1.1.2a|>=1.1.1j,<1.1.2a|>=1.1.1k,<1.1.2a|>=1.1.1l,<1.1.2a|>=1.1.1n,<1.1.2a’]
numpydoc → python[version=’>=3.7’] → openssl[version=’>=1.1.1a,<1.1.2a|>=1.1.1b,<1.1.2a|>=1.1.1c,<1.1.2a|>=1.1.1d,<1.1.2a|>=1.1.1e,<1.1.2a|>=1.1.1f,<1.1.2a|>=1.1.1g,<1.1.2a|>=1.1.1h,<1.1.2a|>=1.1.1i,<1.1.2a|>=1.1.1j,<1.1.2a|>=1.1.1k,<1.1.2a|>=1.1.1l,<1.1.2a|>=1.1.1n,<1.1.2a’]
jedi → python[version=’>=3.10,<3.11.0a0’] → openssl[version=’>=1.1.1a,<1.1.2a|>=1.1.1b,<1.1.2a|>=1.1.1c,<1.1.2a|>=1.1.1d,<1.1.2a|>=1.1.1e,<1.1.2a|>=1.1.1f,<1.1.2a|>=1.1.1g,<1.1.2a|>=1.1.1h,<1.1.2a|>=1.1.1i,<1.1.2a|>=1.1.1j,<1.1.2a|>=1.1.1k,<1.1.2a|>=1.1.1l,<1.1.2a|>=1.1.1n,<1.1.2a’]
text-unidecode → python → openssl[version=’>=1.1.1a,<1.1.2a|>=1.1.1b,<1.1.2a|>=1.1.1c,<1.1.2a|>=1.1.1d,<1.1.2a|>=1.1.1e,<1.1.2a|>=1.1.1f,<1.1.2a|>=1.1.1g,<1.1.2a|>=1.1.1h,<1.1.2a|>=1.1.1i,<1.1.2a|>=1.1.1j,<1.1.2a|>=1.1.1k,<1.1.2a|>=1.1.1l,<1.1.2a|>=1.1.1n,<1.1.2a’]
wincertstore → python[version=’>=3.9,<3.10.0a0’] → tzdata
yapf → python → tzdata
webencodings → python[version=’>=3.10,<3.11.0a0’] → tzdata
flake8 → python[version=’>=3.6’] → tzdata
qtawesome → python[version=’>=3.6’] → tzdata
backcall → python → tzdata
diff-match-patch → python → tzdata
sphinxcontrib-serializinghtml → python[version=’>=3.5’] → tzdata
jupyter_client → python[version=’>=3.6.1’] → tzdata
pydocstyle → python[version=’>=3.6’] → tzdata
mypy_extensions → python[version=’>=3.10,<3.11.0a0’] → tzdata
tornado → python[version=’>=3.10,<3.11.0a0’] → tzdata
python-lsp-black → python[version=’>=3.6’] → tzdata
wrapt → python[version=’>=3.10,<3.11.0a0’] → tzdata
packaging → python[version=’>=3.6’] → tzdata
attrs → python → tzdata
pip → python[version=’>=3.9,<3.10.0a0’] → tzdata
docutils → python[version=’>=3.10,<3.11.0a0’] → tzdata
spyder-kernels → python[version=’>=3.10,<3.11.0a0’] → tzdata
three-merge → python → tzdata
pyopenssl → python[version=’>=3.6’] → tzdata
pathspec → python → tzdata
pytz → python → tzdata
nbclient → python[version=’>=3.7’] → tzdata
cookiecutter → python → tzdata
pluggy → python[version=’>=3.10,<3.11.0a0’] → tzdata
ptyprocess → python → tzdata
python-lsp-server → python[version=’>=3.6’] → tzdata
ujson → python[version=’>=3.10,<3.11.0a0’] → tzdata
babel → python[version=’>=3.6’] → tzdata
rope → python → tzdata
tensorflow → python=3.9 → tzdata
pysocks → python[version=’>=3.10,<3.11.0a0’] → tzdata
debugpy → python[version=’>=3.10,<3.11.0a0’] → tzdata
toml → python[version=’>=2.7’] → tzdata
asttokens → python[version=’>=3.5’] → tzdata
lazy-object-proxy → python[version=’>=3.10,<3.11.0a0’] → tzdata
snowballstemmer → python[version=’>=3.6’] → tzdata
wheel → python → tzdata
jsonschema → python[version=’>=3.6’] → tzdata
zipp → python[version=’>=3.7’] → tzdata
astroid → python[version=’>=3.10,<3.11.0a0’] → tzdata
qtpy → python[version=’>=3.6’] → tzdata
certifi → python[version=’>=3.9,<3.10.0a0’] → tzdata
poyo → python → tzdata
mccabe → python[version=’>=3.6’] → tzdata
nest-asyncio → python[version=’>=3.5’] → tzdata
pexpect → python → tzdata
isort → python[version=’>=3.6.1,<4.0’] → tzdata
executing → python[version=’>=2.7’] → tzdata
jinja2-time → python → tzdata
ipython_genutils → python → tzdata
pyyaml → python[version=’>=3.9,<3.10.0a0’] → tzdata
markupsafe → python[version=’>=3.10,<3.11.0a0’] → tzdata
numpydoc → python[version=’>=3.7’] → tzdata
jedi → python[version=’>=3.10,<3.11.0a0’] → tzdata
spyder → python[version=’>=3.10,<3.11.0a0’] → tzdata
psutil → python[version=’>=3.10,<3.11.0a0’] → tzdata
pynacl → python[version=’>=3.9,<3.10.0a0’] → tzdata
cffi → python[version=’>=3.10,<3.11.0a0’] → tzdata
python-lsp-jsonrpc → python[version=’>=3.6’] → tzdata
atomicwrites → python → tzdata
qstylizer → python[version=’>=3.6’] → tzdata
urllib3 → python[version=’<4.0’] → tzdata
binaryornot → python → tzdata
brotlipy → python[version=’>=3.9,<3.10.0a0’] → tzdata
jupyter_core → python[version=’>=3.10,<3.11.0a0’] → tzdata
autopep8 → python → tzdata
traitlets → python[version=’>=3.7’] → tzdata
pylint → python[version=’>=3.9,<3.10.0a0’] → tzdata
python=3.9 → tzdata
pandocfilters → python[version=’!=3.0,!=3.1,!=3.2,!=3.3’] → tzdata
pyrsistent → python[version=’>=3.10,<3.11.0a0’] → tzdata
decorator → python[version=’>=3.5’] → tzdata
pyparsing → python[version=’>=3.6’] → tzdata
stack_data → python[version=’>=3.5’] → tzdata
setuptools → python[version=’>=3.10,<3.11.0a0’] → tzdata
matplotlib-inline → python[version=’>=3.6’] → tzdata
jupyterlab_pygments → python → tzdata
colorama → python → tzdata
sortedcontainers → python[version=’>=2.7’] → tzdata
six → python → tzdata
black → python[version=’>=3.6’] → tzdata
tinycss → python[version=’>=3.6’] → tzdata
inflection → python[version=’>=3.10,<3.11.0a0’] → tzdata
wcwidth → python → tzdata
parso → python[version=’>=3.6’] → tzdata
jinja2 → python[version=’>=3.6’] → tzdata
pyls-spyder → python[version=’>=3.6’] → tzdata
python-slugify → python[version=’>=3.6’] → tzdata
nbconvert → python[version=’>=3.10,<3.11.0a0’] → tzdata
sphinxcontrib-jsmath → python[version=’>=3.5’] → tzdata
imagesize → python[version=’>=3.4’] → tzdata
cloudpickle → python[version=’>=3.6’] → tzdata
python-dateutil → python → tzdata
typing_extensions → python[version=’>=3.6’] → tzdata
qdarkstyle → python → tzdata
mistune → python → tzdata
qtconsole → python[version=’>=3.7’] → tzdata
typed-ast → python[version=’>=3.10,<3.11.0a0’] → tzdata
tzdata
whichcraft → python → tzdata
importlib-metadata → python[version=’>=3.9,<3.10.0a0’] → tzdata
pycparser → python[version=’>=3.6’] → tzdata
sphinx → python[version=’>=3.6’] → tzdata
pickleshare → python[version=’>=3’] → tzdata
ipykernel → python[version=’>=3.10,<3.11.0a0’] → tzdata
ipython → python[version=’>=3.9,<3.10.0a0’] → tzdata
rtree → python[version=’>=3.10,<3.11.0a0’] → tzdata
arrow → python[version=’>=3.10,<3.11.0a0’] → tzdata
pycodestyle → python[version=’>=3.6’] → tzdata
keyring → python[version=’>=3.10,<3.11.0a0’] → tzdata
paramiko → python → tzdata
win_inet_pton → python[version=’>=3.10,<3.11.0a0’] → tzdata
sphinxcontrib-qthelp → python[version=’>=3.5’] → tzdata
requests → python[version=’>=3.6’] → tzdata
defusedxml → python → tzdata
unidecode → python[version=‘2.7|>=3.5’] → tzdata
There are many errors that go beyond the character limit.
Below are the images of the test.
PLEASE! Could you help me?
Hi! Sorry for the delay. I attempted to reproduce your problem and was able to for Python 3.9. If you don’t have to use Python 3.9 - I found I was able to install all the packages you wanted ( keras, spyder, tensorflow, xlrd) into a Python 3.8 environment. Are you able to use a Python 3.8 environment for now? I need to look into further why there are conflicts for Python 3.9.
Thank you for your attention. I’ll try to download them all from Python 3.8, as soon as I have the result I’ll let you know.