I have a python script I have always run from command line prompts that prints maps from MXD/ ArcGIS. It says the following error when trying to run it:
os.environm{PROJ_LIB] = pyproj.datadir.get_dta_dir()
NameError: name pyproj' is not defined
I understand this may be due to some change in my python environment based on other comments I can find. Can anyone help with next steps to remedy this? Below is how my script begins if that is helpful:
import arcpy, os, time, sys
arcpy.env.overwriteOutput = True