Background: VERY novice programmer using Python
I have been having problems with my robot code deploying to our robot. The code will deploy successfully, but the DS will still be red for robot code. For the past few days, I was unable to figure out my problem and I’ve troubleshooted using different threads on here. However, my problem involves the CTRE library. I’ve tested and tried a sample code, which on its own runs perfectly, but when I import ctre in it, it runs the same as my own code. I’ve tried multiple times installing the library as given on the Robotpy Documentation (https://robotpy.readthedocs.io/en/stable/install/ctre.html). The command prompt tells me that I have successfully installed the library, but still get errors when I run my code with it. I have no idea what to do from here.
