I'm struggling with running/importing 'numpy and arcpy' on pycharm, which points to python.exe in the Python 27 directory where ArcGIS 10.4 is installed. How else can i try importing the two modules as it gives the errors "ImportError: No module named arcpy" for both arcpy and numpy.
Are you using a 32-bit environment about PyCharm?
I'm not using PyCharm actually, I use PyScripter to debug ArcPy code. So I've installed a PyScripter 32-bit and nor 64-bits versions.
A trick to identify your 32 or 64 bit environment is to jump on Python Console. You must have :
Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)] on win32. ***