1

I try to install netifaces package but I recieve an error as below: enter image description here

I searched the internet including this site, and founded some solutions that didn't work for me, like this one, this and this.

As the sites recommended I double checked the path is correct, you can see the path here: enter image description here

I cleared the anaconda cache by enter command (in cmd):

conda clean --all

I even tried to use PyCharm but since the installation failed I can't use the netifaces...

WTF i'm missing?

* EDIT *

I did a virtual env by the instructions on uoa-eresearch.github.io/eresearch-cookbook/recipe/2014/11/20/… like @Azeem suggested and got the following error: error pip-install

I have connda V. 4.7.12

Eitan
  • 83
  • 2
  • 7
  • Create a venv, activate it, upgrade pip and try to install your desired package in active virtual env. – Azeem Nov 20 '19 at 11:30
  • @Azeem, I can't pip install. I enter to the venv, but when I do the pip install I get an error "could not find a version the satisfies the requirment netifaces.... I'm pip version 19.0.3 How can I attach the photo I snaped to see the process I did? – Eitan Nov 20 '19 at 13:10
  • Please follow the link to create venv using conda: https://uoa-eresearch.github.io/eresearch-cookbook/recipe/2014/11/20/conda/ – Azeem Nov 21 '19 at 06:38
  • Or try this using conda: conda install -c conda-forge netifaces – Azeem Nov 21 '19 at 06:39
  • To update your pip inside your venv: pip install --upgrade pip – Azeem Nov 21 '19 at 06:41

1 Answers1

0

I found a solution: 1. uninstall anacaonda and python 2. restart (just to be sure) 3. install anaconda in a diffrent directory that is not hidden, and WITH the option "Add anaconda to the system path environment variale"

I don't know what helped, It's logic that the "add to path" helped.

Eitan
  • 83
  • 2
  • 7