9
Python'da Bash komutlarını çalıştırma
Yerel makinemde, bu satırı içeren bir python betiği çalıştırıyorum bashCommand = "cwm --rdf test.rdf --ntriples > test.nt" os.system(bashCommand) Bu iyi çalışıyor. Sonra aynı kodu bir sunucuda çalıştırın ve aşağıdaki hata iletisini alıyorum 'import site' failed; use -v for traceback Traceback (most recent call last): File "/usr/bin/cwm", line 48, in <module> …