How do I get PyScripter to recognize Python installed with ArcGIS Pro 2.1?
I did a lot of research and determined that Pyscripter does not work well with virtual environments; therefore it does not work well with ArcGIS Pro 2.1; and I was unable to get them to connect.
I attempted to install Sypder from the Python Packages provided with ArcGIS Pro 2.1, but unfortunately I could not get them to work either; as the install kept failing. I contacted Esri regarding this issue and they stated that 'this problem can occur when the Python Package Manager doesn't have permissions to folders, or network access to reach the modules stored in Conda'. Then they suggested that I run conda install -c anaconda spyder
in the Python Command Prompt, and it worked to install the package as long as I was running the Python Command Prompt as an Administrator. This successfully installed the Spyder package.
So I installed PyCharm Community Edition (https://www.jetbrains.com/pycharm/download/#section=windows); and everything seems to work properly now. For the setup I followed the steps in the initial post at the following link (https://community.esri.com/docs/DOC-8359) and I am now able to work with the correct version of python.