In this case, we can't just consider the influence of training. According to your description, you are carrying out weight training, so you are likely to adopt a high-protein diet. Then consider whether it is constipation caused by indigestion. Causing anal injury? Pay attention to diet. Simple strength training will not cause this situation in general, so don't worry too much.