I have a new laptop and I am able to run code in Visual Studio for managing our environment (Portal/AGOL) that someone else wrote and debugged, but when I attempt to debug it I get a bunch of Visual Studio python based errors. I have searched to try and figure out where the problem is, but maybe the issue is I am not that good with the IDE and I don't have the Python parts configured correctly? I am not sure where to look to fix this?
Here is what I get in the output window, there are more errors after these but it appears they are cascading from this error? My global default Python environment is set to 3.6 as that is where I have the ArcGIS module installed in my solution.
Traceback (most recent call last):
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\lib\site-packages\terminado\management.py", line 23, in <module>
from ptyprocess import PtyProcessUnicode
ModuleNotFoundError
:
No module named 'ptyprocess'