Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux installation #34

Open
tjingboem opened this issue Dec 29, 2024 · 16 comments
Open

Linux installation #34

tjingboem opened this issue Dec 29, 2024 · 16 comments
Assignees
Labels
bug Something isn't working

Comments

@tjingboem
Copy link
Contributor

tjingboem commented Dec 29, 2024

In my Linux system, I copied the CsoundAC files over as Linux release from mentionedhttps://github.com/gogins/csound-ac/releases mentions. This is version 5 from March 20th. Then sudo ldconfig

After that i copy the ac-reaper.py file to ~/config/REAPER/Scripts
In the Actions window form Reaper, a Python file, unlike lua or eel is not seen. So i switch to All Files and doubleclick ac-reaper.py

Screenshot from 2024-12-29 12-22-50

Screenshot from 2024-12-29 12-24-48

First: i am unsure if CsoundAC is installed correctly
Second: what should be done in the script so that CsoundAC runs within Reaper?

@tjingboem
Copy link
Contributor Author

tjingboem commented Jan 1, 2025

i just now added a PYTHONPATH
PYTHONPATH=/usr/local/lib/python3.12/dist-packages
and copied CsoundAC.py to that place
did not work

From the terminal i run python:

tjingboem@tjingboemKOMP ~ $ python
Python 3.12.3 (main, Nov  6 2024, 18:32:19) [GCC 13.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import _CsoundAC
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named '_CsoundAC'
>>> 

I am pretty sure some files are not in their correct places.

@gogins
Copy link
Owner

gogins commented Jan 1, 2025 via email

@tjingboem
Copy link
Contributor Author

tjingboem commented Jan 1, 2025

So the development build from https://github.com/gogins/csound-ac/releases
does not work?

It does have the same version number as the MacOS one.

My Python version is Python 3.12.3

Yes, i am planning to attend the Zoom tomorrow

@gogins
Copy link
Owner

gogins commented Jan 1, 2025 via email

@tjingboem
Copy link
Contributor Author

tjingboem commented Jan 1, 2025 via email

@gogins
Copy link
Owner

gogins commented Jan 2, 2025 via email

@tjingboem
Copy link
Contributor Author

tjingboem commented Jan 2, 2025 via email

@gogins
Copy link
Owner

gogins commented Jan 2, 2025 via email

@tjingboem
Copy link
Contributor Author

a few days ago i copied _CsoundAC.so and CsoundAC.py over to several locations- among them to
/usr/local/lib/python3.12/dist-packages

I do not have other Python versions installed.

This is what happens:


tjingboem@tjingboemKOMP ~ $ python3.12
Python 3.12.3 (main, Nov  6 2024, 18:32:19) [GCC 13.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import CsoundAC
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.12/dist-packages/CsoundAC.py", line 15, in <module>
    import _CsoundAC
ImportError: libpython3.10.so.1.0: cannot open shared object file: No such file or directory
>>> 

Screenshot from 2025-01-02 12-40-38

@gogins
Copy link
Owner

gogins commented Jan 2, 2025 via email

@tjingboem
Copy link
Contributor Author

i do not have libpython3.10.so.1.0 on my computer.
I do have libpython3.12.so.1.0

Screenshot from 2025-01-02 13-08-21

Is there something in _CsoundAC.so that i can change to make it point to libpython3.12.so.1.0 ?

@gogins
Copy link
Owner

gogins commented Jan 2, 2025 via email

@tjingboem
Copy link
Contributor Author

it seems i can not install 3.10 as it will break the system.

I will be so courageous and build against 3.12 tomorrow :)

@gogins
Copy link
Owner

gogins commented Jan 2, 2025 via email

@tjingboem
Copy link
Contributor Author

thank you very much.

@gogins
Copy link
Owner

gogins commented Jan 7, 2025

I wonder if LaTeX on @tjingboem's system has restricted \write18 enabled.

@gogins gogins self-assigned this Jan 7, 2025
@gogins gogins added the bug Something isn't working label Jan 7, 2025
gogins added a commit that referenced this issue Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants