ctcsound not a valid Win32 Application
up vote
2
down vote
favorite
I already checked other questions for this topic but none of the solutions worked when I attempted them. As far as I can tell the rest of my code has nothing to do with this issue. I downloaded csound from the csound.com and it comes with a python module called ctcsound. However every time I attempt to import ctcsound in my script I get the following:
Traceback (most recent call last):
File "C:/Users/pvedi/PycharmProjects/Data_Sonification_Class/Paul_Vedier_Soni1.py", line 1, in <module>
import ctcsound
File "C:Program FilesCsound6_x64binctcsound.py", line 31, in <module>
libcsound = cdll.csound64
File "C:UserspvediAppDataLocalProgramsPythonPython36-32libctypes__init__.py", line 418, in __getattr__
dll = self._dlltype(name)
File "C:UserspvediAppDataLocalProgramsPythonPython36-32libctypes__init__.py", line 348, in __init__
self._handle = _dlopen(self._name, mode)
OSError: [WinError 193] %1 is not a valid Win32 application
I'm doing this for a class and after asking my teacher for help, he yelled at me in class for basically using a windows computer instead of a Mac because he doesn't know how to use a windows machine. Any help would be super appreciate so that he doesn't fail me. Thanks guys!
python-3.x pycharm csound
add a comment |
up vote
2
down vote
favorite
I already checked other questions for this topic but none of the solutions worked when I attempted them. As far as I can tell the rest of my code has nothing to do with this issue. I downloaded csound from the csound.com and it comes with a python module called ctcsound. However every time I attempt to import ctcsound in my script I get the following:
Traceback (most recent call last):
File "C:/Users/pvedi/PycharmProjects/Data_Sonification_Class/Paul_Vedier_Soni1.py", line 1, in <module>
import ctcsound
File "C:Program FilesCsound6_x64binctcsound.py", line 31, in <module>
libcsound = cdll.csound64
File "C:UserspvediAppDataLocalProgramsPythonPython36-32libctypes__init__.py", line 418, in __getattr__
dll = self._dlltype(name)
File "C:UserspvediAppDataLocalProgramsPythonPython36-32libctypes__init__.py", line 348, in __init__
self._handle = _dlopen(self._name, mode)
OSError: [WinError 193] %1 is not a valid Win32 application
I'm doing this for a class and after asking my teacher for help, he yelled at me in class for basically using a windows computer instead of a Mac because he doesn't know how to use a windows machine. Any help would be super appreciate so that he doesn't fail me. Thanks guys!
python-3.x pycharm csound
add a comment |
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I already checked other questions for this topic but none of the solutions worked when I attempted them. As far as I can tell the rest of my code has nothing to do with this issue. I downloaded csound from the csound.com and it comes with a python module called ctcsound. However every time I attempt to import ctcsound in my script I get the following:
Traceback (most recent call last):
File "C:/Users/pvedi/PycharmProjects/Data_Sonification_Class/Paul_Vedier_Soni1.py", line 1, in <module>
import ctcsound
File "C:Program FilesCsound6_x64binctcsound.py", line 31, in <module>
libcsound = cdll.csound64
File "C:UserspvediAppDataLocalProgramsPythonPython36-32libctypes__init__.py", line 418, in __getattr__
dll = self._dlltype(name)
File "C:UserspvediAppDataLocalProgramsPythonPython36-32libctypes__init__.py", line 348, in __init__
self._handle = _dlopen(self._name, mode)
OSError: [WinError 193] %1 is not a valid Win32 application
I'm doing this for a class and after asking my teacher for help, he yelled at me in class for basically using a windows computer instead of a Mac because he doesn't know how to use a windows machine. Any help would be super appreciate so that he doesn't fail me. Thanks guys!
python-3.x pycharm csound
I already checked other questions for this topic but none of the solutions worked when I attempted them. As far as I can tell the rest of my code has nothing to do with this issue. I downloaded csound from the csound.com and it comes with a python module called ctcsound. However every time I attempt to import ctcsound in my script I get the following:
Traceback (most recent call last):
File "C:/Users/pvedi/PycharmProjects/Data_Sonification_Class/Paul_Vedier_Soni1.py", line 1, in <module>
import ctcsound
File "C:Program FilesCsound6_x64binctcsound.py", line 31, in <module>
libcsound = cdll.csound64
File "C:UserspvediAppDataLocalProgramsPythonPython36-32libctypes__init__.py", line 418, in __getattr__
dll = self._dlltype(name)
File "C:UserspvediAppDataLocalProgramsPythonPython36-32libctypes__init__.py", line 348, in __init__
self._handle = _dlopen(self._name, mode)
OSError: [WinError 193] %1 is not a valid Win32 application
I'm doing this for a class and after asking my teacher for help, he yelled at me in class for basically using a windows computer instead of a Mac because he doesn't know how to use a windows machine. Any help would be super appreciate so that he doesn't fail me. Thanks guys!
python-3.x pycharm csound
python-3.x pycharm csound
asked Nov 19 at 23:18
Paulawalla120
162
162
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
Are you using a 64-bit Python installation? Looks like it might be related to this:
https://github.com/mit-nlp/MITIE/issues/150
I'm pretty sure the Csound installation from csound.com is a 64-bit Windows executable and library.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Are you using a 64-bit Python installation? Looks like it might be related to this:
https://github.com/mit-nlp/MITIE/issues/150
I'm pretty sure the Csound installation from csound.com is a 64-bit Windows executable and library.
add a comment |
up vote
0
down vote
Are you using a 64-bit Python installation? Looks like it might be related to this:
https://github.com/mit-nlp/MITIE/issues/150
I'm pretty sure the Csound installation from csound.com is a 64-bit Windows executable and library.
add a comment |
up vote
0
down vote
up vote
0
down vote
Are you using a 64-bit Python installation? Looks like it might be related to this:
https://github.com/mit-nlp/MITIE/issues/150
I'm pretty sure the Csound installation from csound.com is a 64-bit Windows executable and library.
Are you using a 64-bit Python installation? Looks like it might be related to this:
https://github.com/mit-nlp/MITIE/issues/150
I'm pretty sure the Csound installation from csound.com is a 64-bit Windows executable and library.
answered Nov 24 at 20:33
Steven Yi
662
662
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53384020%2fctcsound-not-a-valid-win32-application%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown