I created a new environment in Conda and installed Python 3.6.9 along with certain modules including ArcPy in that new environment. Please note that I don't use ArcGIS Pro, I only installed the latest ArcPy so that I can use it in a particular Conda environment. I didn't install ArcGIS Pro first, I just installed the latest the latest arcpy version in an Anaconda environment. I use ArcGIS, but I don't use its ArcPy because it's limited to Python 2.7. How can I resolve this issue? Now, when the script in Spyder tries to import arcpy, I get the following error:
File <SPAN class="" style="color: var(--highlight-variable); border: 0px; font-weight: inherit; font-size: 13px;">"~\Local\Programs\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\_base.py"</SPAN>, line <SPAN class="" style="color: var(--highlight-namespace); border: 0px; font-weight: inherit; font-size: 13px;">14</SPAN>, <SPAN class="" style="color: var(--highlight-keyword); border: 0px; font-weight: inherit; font-size: 13px;">in</SPAN> <module> <SPAN class="" style="color: var(--highlight-keyword); border: 0px; font-weight: inherit; font-size: 13px;">import</SPAN> arcgisscripting ImportError: DLL load failed: The specified procedure could <SPAN class="" style="color: var(--highlight-keyword); border: 0px; font-weight: inherit; font-size: 13px;">not</SPAN> be found.