OSError:[Errno 2]没有这样的文件或目录pStep = subprocess.Popen(cmdline)

时间:2017-05-13 02:20:37

标签: python

当我尝试测试openmvs的样本时,我收到以下错误:

<?php
session_start();
include_once 'dbconnect.php';

$query = $conn->query("SELECT * FROM article WHERE user_id=".$_SESSION['userSession']);
$postRow=$query->fetch_array();

$conn->close();

echo "<li>". $postRow['title'] ."</li>";

?>

以下是MvgMvs_Pipeline.py.some代码可能出错的代码。但我不知道哪里出错了。我知道python的路径是错误的,但我需要做的是关于MvgMvs_Pipeline.py的代码。

dxq@dxq-great:~/openMVS_sample-master$ python ./MvgMvs_Pipeline.py /home/dxq/ImageDataset_ /home/dxq/8

 # Using input dir  :  /home/dxq/ImageDataset_
    #       output_dir :  /home/dxq/8
    # First step  :  0
    # Last step :  11
    #0. Intrinsics analysis
    Traceback (most recent call last):
      File "./MvgMvs_Pipeline.py", line 236, in <module>
        pStep = subprocess.Popen(cmdline)
      File "/usr/lib/python2.7/subprocess.py", line 711, in __init__
        errread, errwrite)
      File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child
        raise child_exception
    OSError: [Errno 2] No such file or directory

0 个答案:

没有答案