spyder 3.1.2 python 3.6 does not import igraph - python-3.x

Hallo I am using spyder 3.1.2. I successfully installed python-igraph 0.7.1.post36 ad python-igraph via anaconda prompt but spyder cannot import it and gives the message:
ModuleNotFoundError: No module named 'igraph'
and when I try to install pycairo‑1.10.0‑cp36‑cp36m‑win_amd64.whl it says it is not supported on that platform.
I am using windows 10.
Thank you so much for any help
tiziana

Related

Tensorflow module not found in Python

I installed tensorflow using Ananconda3 command prompt (by creating environment named tensorenviron).
But when i try to import tensorflow module in Python script using IntelliJ, it shows no such module. Please help.
IntelliJ shows me the following:
In the above picture, I can select one of the SDKs. If i select Python 3.9 (tensorenviron - I installed it using anaconda3), I can only use tensorflow module and not pandas (installed separately through pip) and other modules. I can use pandas by selecting Python 3.10 SDK but then I lose tensorflow.
Python 3.10 path is shown in the above image
Python 3.9 (having tensorflow, installed through anaconda3) path is in above figure.
I have installed latest pip, but i didn't install tensorflow using pip.
Please help me install all under same path, but tensorflow doesn't seem to support Python 3.10

No module named 'pyautogui'

i am using pyautogui for a bot on python 3.7. In the very first line it imports pyautogui
import pyautogui and when i run it it says No module named 'pyautogui' , I tried it with a version of it for 3.7 and 3.8 and upgrading it (because it might have been the cause). I am coding on MS visual studio 2019 and i tried it on 3.7 for 32-bit and 64-bit (none of that seemed to help). Can anyone help me?
For VS 2019 installs:
This artical details how to install it correctly
https://learn.microsoft.com/en-us/visualstudio/python/tutorial-working-with-python-in-visual-studio-step-05-installing-packages?view=vs-2019
For non Visual Studio installs
You will need to install pyautogui with pip.
In the command line run
pip install pyautogui
You can find the install docs for pyautogui here: https://pyautogui.readthedocs.io/en/latest/install.html

Statfunc error when importing PyMC3 through Anaconda

The error that I am getting is:
cannot import name 'statfunc' from 'pymc3.stats' (/anaconda3/lib/python3.7/site-packages/pymc3/stats/__init__.py)
I've installed using pip and conda, and am running Jupyter through Anaconda Navigator.
I am using Mojave 10.14, Python 3.7.
How do I fix this?

Installing Spacy is failing with Python 3.7 on Windows 10

Installing Spacy on Windows 10 with pip is failing. Installing any other of a number of modules is working fine for me.
Here is a pastebin containing the error message:
pip install -U spacy
or
python -m pip install spacy
output:
https://pastebin.com/Y9np4veN
I have tried this both with and without virtualenv and it is failing in the same manner either way. I have also already tried installing and updating setuptools. I've ensured that I am using Python 3.7 and pip3. There is no other version of python or pip installed on my PC.
I downgraded to Python 3.6 and was able to successfully install spacy
Using x86-64 ("64-bit") version of Python 3.7 (3.7.4) instead of x86 ("32-bit") one on Windows fixed the issue for me.

no module named `numpy` in python 3.6 interpreter

I'm using Python 3.6 v in Ubuntu 18.04LTS. I installed numpy package using pip. When i used Python 3.6 interpreter it throws
ModuleNotFoundError: No module named 'numpy' and for Python2.7
interpreter it didn't throws any error. Any suggestions will be very helpful. I searched in google and github nothing helped me.
Based on the outputs you posted -
your pip and python are pointing to version 2.7
if you try pip install numpy you will install into your python 2.7 env
if you start python interpreter by default you'll be starting python2.7 and you should be able to find numpy package installed.
if you want to do the same in python3.xx use python3 , pip3 or use
virtual environments

Resources