Skip to content

Instantly share code, notes, and snippets.

@vlad902
Created October 31, 2016 13:18
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save vlad902/4627bb7b209050abc6f06366ee1e3126 to your computer and use it in GitHub Desktop.
Fix octopus octopusMlutils error: can't combine user with prefix, exec_prefix/home, or install_(plat)base
diff --git a/build.gradle b/build.gradle
index 74ff2a4..3211a21 100644
--- a/build.gradle
+++ b/build.gradle
@@ -24,7 +24,7 @@ allprojects {
task joernTools(type: Exec) {
workingDir './python/joern-tools'
- commandLine 'python3', 'setup.py', 'install', '--user'
+ commandLine 'python3', 'setup.py', 'install'
}
// Copy extensions and plugins into Octopus plugin directory
diff --git a/projects/octopus/build.gradle b/projects/octopus/build.gradle
index 73949ff..cb92c2e 100644
--- a/projects/octopus/build.gradle
+++ b/projects/octopus/build.gradle
@@ -46,12 +46,12 @@ dependencies{
task octopusMlutils(type: Exec) {
workingDir './python/octopus-mlutils'
- commandLine 'python3', 'setup.py', 'install', '--user'
+ commandLine 'python3', 'setup.py', 'install'
}
task octopusTools(type: Exec, dependsOn: octopusMlutils) {
workingDir './python/octopus-tools'
- commandLine 'python3', 'setup.py', 'install', '--user'
+ commandLine 'python3', 'setup.py', 'install'
}
task copyToLib(type: Copy) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment