My employer does not grant me permissions to use Python package managers like pip or conda since the websites that host these data are blocked. In ArcMap 10.x I have been able to install third-party python packages (like simpkml, easygui, pyexiv2,or PIL) by downloading the files, use 7-Zip to crack into the files, and locate the Setup.py file. Once I locate the Setup.py file I can open a command window in that location, tell Windows to use
Python Setup.py install to install the package. Then I am free to write code that imports arcpy as well as other libraries without fuss.
This trick does not work with the ArcGIS Pro version of Python 3 since the Python.exe file and the ArcPy library are stored in a locked directory with read only permissions.
Using this information I have created a second Python environment to install third-party packages but there is no Python.exe file in this newly created environment so again, my trick fails to install.
I understand that I can use the ArcGIS Pro Python Package Manager to install some packages but the ones I want to install on not in ESRI list of packages.
How do I install third-party packages so that I can use them in the same version of Python that stores ArcPy?