My guess is you’re not accessing the correct environment from jupyter/pycharm. Check out if sys.executable is the same
sys.executable