r/linuxaudio • • 7d ago

Reaper AAF pyaaf2 directory error

Solved! Solution below.

So I've been trying to get Reaper to import AAFs for audio-post sound editing, and I found a script that lets me do it (https://gitlab.com/skysphr/reaper-aaf). It's been a bit of a hassle getting everything to work, but now I am at the finish line. I've set up an action to trigger the script but when running it I get this error:

Script execution error

Traceback (most recent call last):
  File "importaaf.py", line 3, in <module>
    import aaf2
ModuleNotFoundError: No module named 'aaf2'

So I thought I had messed up the installation of pyaaf2, so I went back and installed it again, and it gave me this:

Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: pyaaf2 in ./.local/lib/python3.14/site-packages (1.7.1)

So what's up? Do I have pyaaf2 or not? Is the Reaper script looking in the wrong directory?

I'm on Nobara Linux 44 (Fedora based) KDE edition, Python 3.14.8, Reaper v7.86.

Edit: Fixed by following u/jason_gates' advice and finally managing to install pyaaf2 properly. Didn't work at first, so I looked in /usr/lib64 and found there was a python .so labelled 3.14. The one I had selected was 3.15, and changing that in Reaper preferences to 3.14 did the trick.

2 Upvotes

4 comments sorted by

1

u/jason_gates 7d ago

Great to see that you solved the problem !!

Please consider editing the title of your post. Add the word "Solved" to the title. That will make it much more likely , someone searching for help, can find your post.

Again, great to hear you got it working.

1

u/mmassivenerd 7d ago

I would, but that's impossible, no? A quick search tells me that which I already suspected. There should be flares for that kinda thing here though

1

u/jason_gates 7d ago

You are right. Thanks, I just learned something :)

1

u/jason_gates 7d ago

Hi,

I don't use Reaper, however after a simple web search, I am confident that:

site-packages is not writeable

is a notification. It is notifying you that you need to need to change the file permissions on the "site-packages" directory. In addition. while perusing the web search results, the are many results recommending you use a python computer language utility to set the proper file permissions ( for everything inside the site-packages directory ).

To summarize, do a web search on "python: site-packages is not writeable ". The results will detail the steps you need to perform.

Note! This is not really a "linux audio" issue. You might get better help in a "Python" forum/subreddit.

Hope that helps.