Win10
Python 3.8.2
latest anaconda download and updated everything
Hi,
I know, not again a problem which is discussed multiple times, but here I am not able to solve it.
short example:
pip install jsonmerge
python -c "import jsonmerge"
--> ModuleNotFoundError
I tried the same in a anaconda virtual enviroment like:
conda create -n test
activate test
pip install jsonmerge
python -c "import jsonmerge"
Same result. I also found issues about pip in venv in anaconda. The fix says: install pip into the venv and then install the package which also didn't work.
The only thing that loads the package is the spyder IDE, it doesn't make sense.
Do I have a problem which my python installation (which I reinstalled already) or is the package faulty?
CodePudding user response:
I've done exactly the same as your conda commands with python 3.8.13 and conda 4.14.0 and no problems. So if the package is faulty it's in a niche way.
CodePudding user response:
It's possible that your pip version is linked to a different python install.
Try running pip like this to make sure it's the right one:
python -m pip install my_package