-
Notifications
You must be signed in to change notification settings - Fork 2
/
install_python_software.cpp
39 lines (27 loc) · 1.16 KB
/
install_python_software.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#include <stdlib.h>
#include <string.h>
#include <iostream>
#include <bits/stdc++.h>
#include <cstdlib>
int main( int argc, char* argv[] )
{
//std::string command_path2 = "ls ";
//int f_path2= system(command_path2.c_str());
//std::cout<<"Install the keras-contrib.git "<<std::endl;
//std::string command1 = "pip install git+https://www.github.com/keras-team/keras-contrib.git";
//int f1= system(command1.c_str());
std::string command_path2 = "ls ";
int f_path2= system(command_path2.c_str());
std::cout<<"Install the keras-contrib.git "<<std::endl;
std::string command1 = "cd ../Initial_Segmentation/keras-contrib-master/; pip install .";
int f1= system(command1.c_str());
std::string command_path3 = "ls ";
int f_path3= system(command_path3.c_str());
std::cout<<"Install the deep-belief-network.git "<<std::endl;
std::string command3 = "cd ../Initial_Segmentation/deep-belief-network-master/; pip install .";
int f3= system(command3.c_str());
std::cout<<"Install the auto_segm python version of the Deep learning Initial Part"<<std::endl;
std::string command = "cd ../Initial_Segmentation/; pip install .";
int f= system(command.c_str());
return 0;
}