3

I have installed python 3.7.0 and my installation directory is AppData\Local\Programs\Python\Python37-32

Now I have tried to upgrade pip with: python -m pip install –upgrade pip'

and I got: Successfully installed pip-19.0.3

I did pip install ijson(while I was in folder AppData\Local\Programs\Python\Python37-32\Scripts) and double checked with the result being:

Requirement already satisfied: ijson in c:\users\myusername\appdata\local\programs\python\python37-32\lib\site-packages (2.3)

But when I go to my PyCharm project and I import ijson it can't find the module.Just to be clear if I import json or any other module I can work with it.

I know this has some duplicates and I have seen some of them. I have tried everything for example on these and others. Just for reference (possible duplicate)(possible dublicate 2)

but I haven't been able to solve my issue. Please tell me if I am missing something, maybe it is connected to the interpreter I am using or a wrong installion of python.

Thank you in advance

Gerasimos Ragavanis
  • 361
  • 1
  • 3
  • 16

1 Answers1

2

Make sure the python interpreter you are using in Pycharm is the one where you install ijson via pip.

You can do this by looking at the interpreter path in PyCharm, then opening that path in your terminal and trying import ijson

Also make sure the pip you are using is connected to the python interpreter you are using in PyCharm

Devesh Kumar Singh
  • 20,259
  • 5
  • 21
  • 40