Open oyinkan21 opened 8 months ago
I think python
is using Python 2.7, but you'll need Python 3.6 or higher. Do you have that installed? Then it would be python3 download_libfaust.py
I pushed a minor update to the script to debug this in case the Python version is too low.
Thanks! I have Python 3.11 installed so I tried 'python3 download_libfaust.py'. Unfortunately, I'm getting pretty much the same error - I'm getting this now:
(base) me@my-MBP-2 libfaust % python3 download_libfaust.py
File already exists: Faust-2.70.3-arm64.dmg
/dev/disk9 GUID_partition_scheme
/dev/disk9s1 Apple_HFS /Volumes/Faust-2.70.3
cp: /Volumes/Faust-2.70.3/Faust-2.70.3/: No such file or directory
Traceback (most recent call last):
File "/Users/me/Desktop/TD-Faust/thirdparty/libfaust/download_libfaust.py", line 55, in
Can you go to Finder and unmount the Faust-2.70.3 and then run the script again? Maybe there's an issue if it's already mounted.
Thanks! I unmounted it but I'm still getting the exact same error where it says the file already exists and 'no such file or directory'.
Sorry there are probably some other issues. I'll get back to you soon.
I pushed some fixes which I checked on my mac. Can you pull and then continue with python3 download_libfaust.py
?
Thanks so much! I did that and I think it worked. Here's what I got:
(base) me@my-MacBook-Pro-2 TD-Faust % git pull
remote: Enumerating objects: 16, done.
remote: Counting objects: 100% (16/16), done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 16 (delta 8), reused 15 (delta 8), pack-reused 0
Unpacking objects: 100% (16/16), 8.26 KiB | 497.00 KiB/s, done.
From https://github.com/DBraun/TD-Faust
a56747e..7778a45 main -> origin/main
Updating a56747e..7778a45
Fast-forward
CMakeLists.txt | 12 ++++++------
README.md | 6 +++---
build_tdfaust.py | 6 +++---
thirdparty/libfaust/download_libfaust.py | 11 +++++++++--
4 files changed, 21 insertions(+), 14 deletions(-)
(base) me@my-MacBook-Pro-2 TD-Faust % cd thirdparty
(base) me@my-MacBook-Pro-2 thirdparty % cd libfaust
(base) me@my-MacBook-Pro-2 libfaust % python3 download_libfaust.py
File already exists: Faust-2.70.3-arm64.dmg
/dev/disk9 GUID_partition_scheme
/dev/disk9s1 Apple_HFS /Volumes/Faust-2.70.3
"disk9" ejected.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 150M 100 150M 0 0 23.7M 0 0:00:06 0:00:06 --:--:-- 27.8M
Checksumming Protective Master Boot Record (MBR : 0)…
Protective Master Boot Record (MBR :: verified CRC32 $1857DF63
Checksumming GPT Header (Primary GPT Header : 1)…
GPT Header (Primary GPT Header : 1): verified CRC32 $89EE4352
Checksumming GPT Partition Data (Primary GPT Table : 2)…
GPT Partition Data (Primary GPT Tabl: verified CRC32 $91C6B667
Checksumming (Apple_Free : 3)…
(Apple_Free : 3): verified CRC32 $00000000
Checksumming disk image (Apple_HFS : 4)…
.....................................................................................................................
disk image (Apple_HFS : 4): verified CRC32 $3EB72359
Checksumming (Apple_Free : 5)…
(Apple_Free : 5): verified CRC32 $00000000
Checksumming GPT Partition Data (Backup GPT Table : 6)…
GPT Partition Data (Backup GPT Table: verified CRC32 $91C6B667
Checksumming GPT Header (Backup GPT Header : 7)…
GPT Header (Backup GPT Header : 7): verified CRC32 $470D667E
verified CRC32 $02B8657A
/dev/disk6 GUID_partition_scheme
/dev/disk6s1 Apple_HFS /Volumes/Faust-2.70.3
"disk6" ejected.
However when I got to the last step of the build I hit this error:
(base) me@my-MacBook-Pro-2 TD-faust % python build_tdfaust.py --pythonver=3.11
rm: Plugins/TD-Faust.plugin: No such file or directory
Building libsndfile.
CMake Error: The source directory "/Users/me/Desktop/TD-Faust/thirdparty/libsndfile" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
Traceback (most recent call last):
File "/Users/me/Desktop/TD-Faust/build_tdfaust.py", line 75, in
I checked that my cmake works fine so not really sure what the issue is. (sorry for all the questions)
The error is CMake Error: The source directory "/Users/me/Desktop/TD-Faust/thirdparty/libsndfile" does not appear to contain CMakeLists.txt.
You need to run git submodule update --init --recursive
in the root of TD-Faust. For the next steps, I also want to make sure CMake is available from the command line, so you may need to run
PATH="/Applications/CMake.app/Contents/bin":"$PATH"
before python3 build_tdfaust.py
or choose a more permanent solution like modifying your .zshrc
file.
Ran into this error when running "python download_libfaust.py " Anyone seen this before/ know how to fix this?
(base) me@my-MacBook-Pro-2 libfaust % python download_libfaust.py % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 141M 100 141M 0 0 2423k 0 0:00:59 0:00:59 --:--:-- 2551k Checksumming Protective Master Boot Record (MBR : 0)… Protective Master Boot Record (MBR :: verified CRC32 $1F22BD08 Checksumming GPT Header (Primary GPT Header : 1)… GPT Header (Primary GPT Header : 1): verified CRC32 $BDFECAC7 Checksumming GPT Partition Data (Primary GPT Table : 2)… GPT Partition Data (Primary GPT Tabl: verified CRC32 $5FD1D292 Checksumming (Apple_Free : 3)… (Apple_Free : 3): verified CRC32 $00000000 Checksumming disk image (Apple_HFS : 4)… ............................................................................... disk image (Apple_HFS : 4): verified CRC32 $9E5C0C1A Checksumming (Apple_Free : 5)… (Apple_Free : 5): verified CRC32 $00000000 Checksumming GPT Partition Data (Backup GPT Table : 6)… GPT Partition Data (Backup GPT Table: verified CRC32 $5FD1D292 Checksumming GPT Header (Backup GPT Header : 7)… GPT Header (Backup GPT Header : 7): verified CRC32 $72804D70 verified CRC32 $E9E44F69 /dev/disk9 GUID_partition_scheme
main(args.version)
File "/Users/me/Desktop/TD-Faust/thirdparty/libfaust/download_libfaust.py", line 42, in main
install_macos(version)
File "/Users/me/Desktop/TD-Faust/thirdparty/libfaust/download_libfaust.py", line 27, in install_macos
subprocess.run(["cp", "-R", f"/Volumes/Faust-{version}/Faust-{version}/ ", dir_path], check=True)
File "/Users/me/anaconda3/lib/python3.11/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['cp', '-R', '/Volumes/Faust-2.70.3/Faust-2.70.3/*', 'darwin-arm64/Release']' returned non-zero exit status 1.
/dev/disk9s1 Apple_HFS /Volumes/Faust-2.70.3 cp: /Volumes/Faust-2.70.3/Faust-2.70.3/: No such file or directory Traceback (most recent call last): File "/Users/me/Desktop/TD-Faust/thirdparty/libfaust/download_libfaust.py", line 55, in