I am working with PyChram 2019.1.3. I created a new conda virtual environment for my new project. While the env works (python 3.7) fine with spyder and JupyterLab, it fails to work with PyCharm.
I tried normal python as well as iPython notebook in the PyCharm. I am receiving the same error. I added the conda location to my System Path variable-PyCharm detects my environment. But, when I tried to make a virtual conda env through PyCharm it throws the following error "CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://repo.anaconda.com/pkgs/main/noarch/repodata.json.bz2"
import numpy as np
throws the error" (*** = shortened path)
'''C:\Users\***\AppData\Local\Continuum\anaconda3\envs\res37\python.exe
"E:\***\3_Code/Git/18_Resi/01_Data Exploration.py"
Traceback (most recent call last):
File "E::\***\01_Data Exploration.py", line 1, in <module>
import numpy as np
File C:***\AppData\Local\Continuum\anaconda3\envs\res37\lib\site-packages\numpy\__init__.py", line 140, in <module>
from . import _distributor_init
File "C:\**\AppData\Local\Continuum\anaconda3\envs\res37\lib\site-
packages\numpy\_distributor_init.py", line 34, in <module>
from . import _mklinit
ImportError: DLL load failed: The specified module could not be found.
Process finished with exit code 1'''
I understand that the PyCharm, even though detecting the coda env, is not able to work with the vir env. How can I solve this?