Running pysyncrosim
in Spyder
If using conda
, the spyder
IDE is easy to install and straightforward to use.
First, install
spyder
either in your base environment or in yourconda
environment using the following code.
# Install spyder
conda install spyder
Open the IDE by typing
spyder
in the command prompt.
# Open spyder
spyder
Note
you may get a pop-up saying you have a missing dependency, rtree
. You can safely ignore this warning.
Within the IDE, change the working directory to the directory containing your
pysyncrosim
scripts (e.g. spatial_demo.py and input-raster.tif)
Open and run your pysyncrosim scripts from the left-hand window. You can run scripts line-by-line in
spyder
by selecting the line(s) you want to run and pressing F9.