When one does the math on the operating temperatures of regular computing equipment that we use on Earth, how much heat it generates per watt, and how fast it would need to sink that heat to allow for continuous operation, one gets surface areas that are not impossible, but are pretty on the high end of anything we've ever built in space.
And then you have to deflect the incoming light from the Sun which will be adding to your temperature (numbers published by private space companies regarding the tolerances of payloads those companies are willing to carry note that those payloads have to be tolerant of temperatures exceeding 100° C, from solar radiation alone). That is doable, you could sunshield the sensitive equipment and possibly decrease some of your thermal input load by putting your craft out near L2 which hangs out in the penumbra of Earth. Still a daunting technical challenge when the alternative is just build it on the planet with the technology and methods we already have.
This means you need some sort of heat pump. For a practical example you can look at the ISS, which has what they call the "External Active Thermal Control System" (EATCS), it's a complicated system and it provides 70kW of heat rejection. A datacenter in space would need to massively scale up such a system in order to cool itself.
Computers aren't humans. High-performance silicon can comfortably operate at a junction temperature of 80C to 90C (approx. 360K). Because of that T^4 relationship, a radiator at 85C rejects nearly double the heat per square meter than a radiator at 20C, unless I miss something.
So this makes it a bit more nuanced.
The Solar Load is Directional: Unlike a terrestrial atmosphere where heat is omnidirectional, space allows for "shadow engineering." A simple multi-layer insulation (MLI) sunshield can reduce solar flux by orders of magnitude. We do this for the James Webb Space Telescope to keep instruments at 7K while the sun-facing side is at 380K. For a data center, you don't need 7K; you just need to keep the "dark side" radiators in the shade.