I can install numpy or pandas, but I can\'t import them in cmd, jupyter notebook or sublime text. (However, I can install and import them in Pycharm).
I\'ve already
I'm using PyCharm, determined to learn the PipEnv virtualization tool(it utilizes SHA256 hashing against downloaded packages), and was experiencing this same exact error message (error 193, %1 not a valid win32 or whatever). I realize this isn't exactly your scenario however, you're using python and PyCharm so I figure it might and might help others who arrive here. Anyways...
The way I resolved it was by: 1.) in the 'Add Python Interpreter' window (first setting up virtualization interpreter), I had to put "C:\Users\ericm\AppData\Roaming\Python\Python38\Scripts\pipenv.exe" as my "Pipenv executable'. (After doing this, I began getting a permission error when trying to utilize it) 2.) I had to add my project's path into the "Working directory" (e.x. C:\Users\ericm\OneDrive\Documents\Programming\Python\NameOfProject)
No more errors of any kind and my app is fully working again.