Clear cell renal cell carcinoma (ccRCC) is a highly lethal urinary malignancy with poor overall survival (OS) rates. Integrating computer vision and machine learning in pathomics analysis offers potential for enhancing classification, prognosis, and treatment strategies for ccRCC. This study aims to create a pathomics model to predict OS in ccRCC patients. In this study, data from ccRCC patients in the TCGA database were used as a training set, with clinical data serving as a validation set. Pathological features were extracted from H&E-stained slides using PyRadiomics, and a pathomics model was constructed using the non-negative matrix factorization (NMF) algorithm. The model's predictive performance was assessed through Kaplan-Meier (KM) survival curves and Cox regression analysis. Additionally, differential gene expression, gene ontology (GO) enrichment analysis, immune infiltration, and mutational analysis were conducted to investigate the underlying biological mechanisms. A total of 368 pathomics features were extracted from H&E-stained slides of ccRCC patients, and a pathomics model comprising two subtypes (Cluster 1 and Cluster 2) was successfully constructed using the NMF algorithm. KM survival curves and Cox regression analysis revealed that Cluster 2 was associated with worse OS. A total of 76 differential genes were identified between the two subtypes, primarily involving extracellular matrix organization and structure. Immune-related genes, including CTLA4, CD80, and TIGIT, were highly expressed in Cluster 2, while the VHL and PBRM1 genes, along with mutations in the PI3K-Akt, HIF-1, and MAPK signaling pathways, exhibited mutation rates exceeding 40% in both subtypes. The machine learning-based pathomics model effectively predicts the OS of ccRCC patients and differentiates between subtypes. The critical roles of the immune-related gene CTLA4 and the PI3K-Akt, HIF-1, and MAPK signaling pathways offer new insights for further research on the molecular mechanisms, diagnosis, and treatment strategies for ccRCC.