Instantly share code, notes, and snippets.

Embed
What would you like to do?
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