Closed skrowten-hermit closed 4 years ago
@dbogdanov and @pabloEntropia Could you guys please give me a few pointers on how to fix this error?
I don't know how, but the following seems to fix the above issue:
skrowten-hermit@HOLY-DIVER-W10LT:~/work/audioprism/lib/essentia$ sudo pip3 install --upgrade setuptools
[sudo] password for skrowten-hermit:
WARNING: The directory '/home/skrowten-hermit/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting setuptools
Downloading setuptools-50.1.0-py3-none-any.whl (784 kB)
|████████████████████████████████| 784 kB 65 kB/s
Installing collected packages: setuptools
Attempting uninstall: setuptools
Found existing installation: setuptools 50.0.0
Uninstalling setuptools-50.0.0:
Successfully uninstalled setuptools-50.0.0
Successfully installed setuptools-50.1.0
After the above, compilation is done successfully using python3 waf
. The errors mentioned above are not thrown anymore.
Having successfully configured using
python3 waf configure
as shown below:I'm getting the errors
KeyError: /home/skrowten-hermit/work/audioprism/lib/essentia
andTypeError: expected str, bytes or os.PathLike object, not Nod3
during build step as shown below:How can I fix this? Tried Googling and it seemed to suggest issues with
setuptools
. But when trying to upgrade it shows it's already the latest version. It would be great if someone could help me fix this.