I have a machine that has Pro 3.1.4 & server 11.1
When I run in CMD the python from server ("C:\Program Files\ArcGIS\Server\framework\runtime\ArcGIS\bin\Python\envs\arcgispro-py3\python.exe") and try to import arcpy I get an error (see attachment) When I do it with the Pro python ("C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\python.exe") it works.
Both python version are the same (3.9.16)
I have tested it on a few machines that have both Pro & server installed. Some of them works, others do not.
Opened a case but the support does not have it on his machine.
Anybody have any idea?
When using the server python we should use the server license - this is the reason to use it.
Thanks