diff --git a/src/providers/python_controller.js b/src/providers/python_controller.js index 9860e7d..423df38 100644 --- a/src/providers/python_controller.js +++ b/src/providers/python_controller.js @@ -125,7 +125,7 @@ export default class Python_controller { throw new Error('fail invoking pip show to fetch all installed dependencies metadata --> ' + err.message) } }).toString(); - let allPipShowDeps = pipShowOutput.split("---"); + let allPipShowDeps = pipShowOutput.split( EOL +"---" + EOL); let linesOfRequirements = fs.readFileSync(this.pathToRequirements).toString().split(EOL).filter( (line) => !line.startsWith("#")).map(line => line.trim()) let CachedEnvironmentDeps = {} allPipShowDeps.forEach( (record) => {