-
Notifications
You must be signed in to change notification settings - Fork 114
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
Can't install the library #10
Comments
@Svito-zar I believe you might have Can you confirm whether this is the case, or whether something else is wrong? |
Yes, that indeed was an issue |
OK, I'll close this issue, then, if it is indeed resolved. |
hi i am also having the same issue .. i have pip installed praat parselmouth only but still. |
@jyothika12 Is it the same problem? Have you Then the same solution from above should also work, I hope? EDIT: Sorry, I had not read that you did install |
It is the same problem . I have pip installed praat-parselmouth only .
…On Thu, Jun 20, 2019 at 8:05 PM Yannick Jadoul ***@***.***> wrote:
@jyothika12 <https://github.com/jyothika12> Is it the same problem? Have
you pip installed parselmouth instead of praat-parselmouth? (cfr.
https://parselmouth.readthedocs.io/en/stable/installation.html)
Then the same solution should also work, I hope?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#10?email_source=notifications&email_token=AJSMJ7JDQQY4FSUKASRR3C3P3OIUFA5CNFSM4GQKUQFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYFTJ6Q#issuecomment-504050938>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJSMJ7MGSXBP4L25MPQ3T2LP3OIUFANCNFSM4GQKUQFA>
.
|
@jyothika12 Hmmm, weird. Two things:
|
*after reinstalling it now I am getting this error*.
C:\Users\Jyotika Patwardhan>pip uninstall praat-parselmouth
Uninstalling praat-parselmouth-0.3.3:
Would remove:
c:\users\jyotika
patwardhan\appdata\local\programs\python\python37-32\lib\site-packages\parselmouth.cp37-win32.pyd
c:\users\jyotika
patwardhan\appdata\local\programs\python\python37-32\lib\site-packages\praat_parselmouth-0.3.3.dist-info\*
Proceed (y/n)? y
Successfully uninstalled praat-parselmouth-0.3.3
C:\Users\Jyotika Patwardhan>pip install praat-parselmouth
Collecting praat-parselmouth
Using cached
https://files.pythonhosted.org/packages/3b/32/f344046db6759ed2b3939f7671caf469ad15489dfe97c56b37807d4c4232/praat_parselmouth-0.3.3-cp37-cp37m-win32.whl
Requirement already satisfied: numpy>=1.7.0 in c:\users\jyotika
patwardhan\appdata\local\programs\python\python37-32\lib\site-packages
(from praat-parselmouth) (1.16.4)
Installing collected packages: praat-parselmouth
Successfully installed praat-parselmouth-0.3.3
C:\Users\Jyotika Patwardhan\PycharmProjects\Demo_1\venv\Scripts\python.exe"
"C:/Users/Jyotika Patwardhan/.PyCharmCE2018.3/config/scratches/scratch.py"
Traceback (most recent call last):
File "C:/Users/Jyotika
Patwardhan/.PyCharmCE2018.3/config/scratches/scratch.py", line 1, in
<module>
import parselmouth
ImportError: DLL load failed: %1 is not a valid Win32 application.
Process finished with exit code 1
…On Fri, Jun 21, 2019 at 3:33 PM Yannick Jadoul ***@***.***> wrote:
@jyothika12 <https://github.com/jyothika12> Hmmm, weird. Two things:
- Can you run pip uninstall parselmouth and see what happens?
- If that doesn't help: could you copy-paste the full traceback of the
error you're getting, instead of just the last line? Then we see where the
error originates.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#10?email_source=notifications&email_token=AJSMJ7JFIFJUDNCVBNWGGADP3SRNRA5CNFSM4GQKUQFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYIBHJI#issuecomment-504370085>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJSMJ7J5TQUQY7B7PFS6T6TP3SRNRANCNFSM4GQKUQFA>
.
|
I am also checked for broken dependencies.
C:\Users\Jyotika Patwardhan>pip check parselmouth
No broken requirements found.
…On Sat, Jun 22, 2019 at 12:52 PM jyothika ***@***.***> wrote:
*after reinstalling it now I am getting this error*.
C:\Users\Jyotika Patwardhan>pip uninstall praat-parselmouth
Uninstalling praat-parselmouth-0.3.3:
Would remove:
c:\users\jyotika
patwardhan\appdata\local\programs\python\python37-32\lib\site-packages\parselmouth.cp37-win32.pyd
c:\users\jyotika
patwardhan\appdata\local\programs\python\python37-32\lib\site-packages\praat_parselmouth-0.3.3.dist-info\*
Proceed (y/n)? y
Successfully uninstalled praat-parselmouth-0.3.3
C:\Users\Jyotika Patwardhan>pip install praat-parselmouth
Collecting praat-parselmouth
Using cached
https://files.pythonhosted.org/packages/3b/32/f344046db6759ed2b3939f7671caf469ad15489dfe97c56b37807d4c4232/praat_parselmouth-0.3.3-cp37-cp37m-win32.whl
Requirement already satisfied: numpy>=1.7.0 in c:\users\jyotika
patwardhan\appdata\local\programs\python\python37-32\lib\site-packages
(from praat-parselmouth) (1.16.4)
Installing collected packages: praat-parselmouth
Successfully installed praat-parselmouth-0.3.3
C:\Users\Jyotika
Patwardhan\PycharmProjects\Demo_1\venv\Scripts\python.exe"
"C:/Users/Jyotika Patwardhan/.PyCharmCE2018.3/config/scratches/scratch.py"
Traceback (most recent call last):
File "C:/Users/Jyotika
Patwardhan/.PyCharmCE2018.3/config/scratches/scratch.py", line 1, in
<module>
import parselmouth
ImportError: DLL load failed: %1 is not a valid Win32 application.
Process finished with exit code 1
On Fri, Jun 21, 2019 at 3:33 PM Yannick Jadoul ***@***.***>
wrote:
> @jyothika12 <https://github.com/jyothika12> Hmmm, weird. Two things:
>
> - Can you run pip uninstall parselmouth and see what happens?
> - If that doesn't help: could you copy-paste the full traceback of
> the error you're getting, instead of just the last line? Then we see where
> the error originates.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#10?email_source=notifications&email_token=AJSMJ7JFIFJUDNCVBNWGGADP3SRNRA5CNFSM4GQKUQFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYIBHJI#issuecomment-504370085>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AJSMJ7J5TQUQY7B7PFS6T6TP3SRNRANCNFSM4GQKUQFA>
> .
>
|
*If i am trying to import using pycharm i am getting the following error :*
C:\Users\Jyotika Patwardhan\PycharmProjects\Demo_1\venv\Scripts\python.exe"
"C:/Users/Jyotika Patwardhan/.PyCharmCE2018.3/config/scratches/scratch.py"
Traceback (most recent call last):
File "C:/Users/Jyotika
Patwardhan/.PyCharmCE2018.3/config/scratches/scratch.py", line 1, in
<module>
import parselmouth
ImportError: DLL load failed: %1 is not a valid Win32 application.
Process finished with exit code 1
*if i am trying to import using python in command prompt then i am getting
the following error :*
import parselmouth
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'parselmouth'
…On Sat, Jun 22, 2019 at 12:58 PM jyothika ***@***.***> wrote:
I am also checked for broken dependencies.
C:\Users\Jyotika Patwardhan>pip check parselmouth
No broken requirements found.
On Sat, Jun 22, 2019 at 12:52 PM jyothika ***@***.***> wrote:
> *after reinstalling it now I am getting this error*.
>
> C:\Users\Jyotika Patwardhan>pip uninstall praat-parselmouth
> Uninstalling praat-parselmouth-0.3.3:
> Would remove:
> c:\users\jyotika
> patwardhan\appdata\local\programs\python\python37-32\lib\site-packages\parselmouth.cp37-win32.pyd
> c:\users\jyotika
> patwardhan\appdata\local\programs\python\python37-32\lib\site-packages\praat_parselmouth-0.3.3.dist-info\*
> Proceed (y/n)? y
> Successfully uninstalled praat-parselmouth-0.3.3
>
> C:\Users\Jyotika Patwardhan>pip install praat-parselmouth
> Collecting praat-parselmouth
> Using cached
> https://files.pythonhosted.org/packages/3b/32/f344046db6759ed2b3939f7671caf469ad15489dfe97c56b37807d4c4232/praat_parselmouth-0.3.3-cp37-cp37m-win32.whl
> Requirement already satisfied: numpy>=1.7.0 in c:\users\jyotika
> patwardhan\appdata\local\programs\python\python37-32\lib\site-packages
> (from praat-parselmouth) (1.16.4)
> Installing collected packages: praat-parselmouth
> Successfully installed praat-parselmouth-0.3.3
>
>
> C:\Users\Jyotika
> Patwardhan\PycharmProjects\Demo_1\venv\Scripts\python.exe"
> "C:/Users/Jyotika Patwardhan/.PyCharmCE2018.3/config/scratches/scratch.py"
> Traceback (most recent call last):
> File "C:/Users/Jyotika
> Patwardhan/.PyCharmCE2018.3/config/scratches/scratch.py", line 1, in
> <module>
> import parselmouth
> ImportError: DLL load failed: %1 is not a valid Win32 application.
>
> Process finished with exit code 1
>
>
>
>
>
> On Fri, Jun 21, 2019 at 3:33 PM Yannick Jadoul ***@***.***>
> wrote:
>
>> @jyothika12 <https://github.com/jyothika12> Hmmm, weird. Two things:
>>
>> - Can you run pip uninstall parselmouth and see what happens?
>> - If that doesn't help: could you copy-paste the full traceback of
>> the error you're getting, instead of just the last line? Then we see where
>> the error originates.
>>
>> —
>> You are receiving this because you were mentioned.
>> Reply to this email directly, view it on GitHub
>> <#10?email_source=notifications&email_token=AJSMJ7JFIFJUDNCVBNWGGADP3SRNRA5CNFSM4GQKUQFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYIBHJI#issuecomment-504370085>,
>> or mute the thread
>> <https://github.com/notifications/unsubscribe-auth/AJSMJ7J5TQUQY7B7PFS6T6TP3SRNRANCNFSM4GQKUQFA>
>> .
>>
>
|
@jyothika12 We're already making progress, then, if it doesn't have the other issue anymore :-) I think this problem occurs because of multiple versions of Python you have installed, where one is 32-bit and the other is 64-bit. I checked the versions of Parselmouth, and as far as I can see, these are correctly 32 and 64-bit. So my current guess is that your Relevant StackOverflow answers, I found: Could you, please:
Sorry for all these questions and that I don't have an answer yet, but I need to get this info to see what's going wrong. I hope that once I have this information about the different Python versions on your computer, I can confirm that nothing's wrong with Parselmouth, and give you the command to get the installation fixed :-) |
C:\Windows\system32>pip --version
pip 19.1.1 from c:\users\jyotika
patwardhan\appdata\local\programs\python\python37-32\lib\site-packages\pip
(python 3.7)
C:\Windows\system32>where python
C:\Program Files (x86)\PsychoPy3\python.exe
C:\Users\Jyotika
Patwardhan\AppData\Local\Programs\Python\Python37-32\python.exe
C:\Windows\system32>python -m site
sys.path = [
'C:\\Windows\\system32',
'C:\\Program Files (x86)\\PsychoPy3\\python36.zip',
'C:\\Program Files (x86)\\PsychoPy3\\DLLs',
'C:\\Program Files (x86)\\PsychoPy3\\lib',
'C:\\Program Files (x86)\\PsychoPy3',
'C:\\Program Files (x86)\\PsychoPy3\\lib\\site-packages',
'C:\\Program Files (x86)\\PsychoPy3\\lib\\site-packages\\win32',
'C:\\Program Files (x86)\\PsychoPy3\\lib\\site-packages\\win32\\lib',
'C:\\Program Files (x86)\\PsychoPy3\\lib\\site-packages\\Pythonwin',
]
USER_BASE: 'C:\\Users\\Jyotika Patwardhan\\AppData\\Roaming\\Python'
(doesn't exist)
USER_SITE: 'C:\\Users\\Jyotika
Patwardhan\\AppData\\Roaming\\Python\\Python36\\site-packages' (doesn't
exist)
ENABLE_USER_SITE: True
C:\Windows\system32>C:\Users\Jyotika
Patwardhan\PycharmProjects\Demo_1\venv\Scripts\python.exe -m sit
'C:\Users\Jyotika' is not recognized as an internal or external command,
operable program or batch file.
…On Sun, Jun 23, 2019 at 12:07 AM Yannick Jadoul ***@***.***> wrote:
@jyothika12 <https://github.com/jyothika12> We're already making
progress, then, if it doesn't have the other issue anymore :-)
I think this problem occurs because of multiple versions of Python you
have installed, where one is 32-bit and the other is 64-bit. I checked the
versions of Parselmouth, and as far as I can see, these are correctly 32
and 64-bit. So my current guess is that your pip somehow installs a
32-bit version of Parselmouth into the directory that contains libraries
for your 64-bit version.
Relevant StackOverflow answers, I found:
https://stackoverflow.com/questions/19019720/importerror-dll-load-failed-1-is-not-a-valid-win32-application-but-the-dlls
https://stackoverflow.com/questions/43434028/how-to-pip-install-64-bit-packages-while-having-both-64-bit-and-32-bit-versions
Could you, please:
- Report the output of running pip --version and where python in the
terminal?
- Report the output you get when starting Python, both in the terminal
as well as in PyCharm? I mean the lines that look something like this, and
tell me whether it's 32-bit or 64-bit:
Python 3.6.8 (default, Jan 14 2019, 11:02:34)
[GCC 8.0.1 20180414 (experimental) [trunk revision 259383]] on linux
Type "help", "copyright", "credits" or "license" for more information.
- Report the output of running python -m site and C:\Users\Jyotika
Patwardhan\PycharmProjects\Demo_1\venv\Scripts\python.exe -m sit in
your terminal.
Sorry for all these questions and that I don't have an answer yet, but I
need to get this info to see what's going wrong. I hope that once I have
this information about the different Python versions on your computer, I
can confirm that nothing's wrong with Parselmouth, and give you the command
to get the installation fixed :-)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#10?email_source=notifications&email_token=AJSMJ7LWUBG6OBITF54B253P3ZWPLA5CNFSM4GQKUQFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYKPDEQ#issuecomment-504689042>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJSMJ7IW5LENLW5O32IREX3P3ZWPLANCNFSM4GQKUQFA>
.
|
*on terminal*
C:\Users\Jyotika Patwardhan>python
Python 3.6.6 (v3.6.6:4cf1f54eb7, Jun 27 2018, 03:37:03) [MSC v.1900 64 bit
(AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
*on pycharm*
PyDev console: starting.
Python 3.7.2 (tags/v3.7.2:9a3ffc0492, Dec 23 2018, 22:20:52) [MSC v.1916 32
bit (Intel)] on win32
…On Mon, Jun 24, 2019 at 6:21 PM jyothika ***@***.***> wrote:
C:\Windows\system32>pip --version
pip 19.1.1 from c:\users\jyotika
patwardhan\appdata\local\programs\python\python37-32\lib\site-packages\pip
(python 3.7)
C:\Windows\system32>where python
C:\Program Files (x86)\PsychoPy3\python.exe
C:\Users\Jyotika
Patwardhan\AppData\Local\Programs\Python\Python37-32\python.exe
C:\Windows\system32>python -m site
sys.path = [
'C:\\Windows\\system32',
'C:\\Program Files (x86)\\PsychoPy3\\python36.zip',
'C:\\Program Files (x86)\\PsychoPy3\\DLLs',
'C:\\Program Files (x86)\\PsychoPy3\\lib',
'C:\\Program Files (x86)\\PsychoPy3',
'C:\\Program Files (x86)\\PsychoPy3\\lib\\site-packages',
'C:\\Program Files (x86)\\PsychoPy3\\lib\\site-packages\\win32',
'C:\\Program Files (x86)\\PsychoPy3\\lib\\site-packages\\win32\\lib',
'C:\\Program Files (x86)\\PsychoPy3\\lib\\site-packages\\Pythonwin',
]
USER_BASE: 'C:\\Users\\Jyotika Patwardhan\\AppData\\Roaming\\Python'
(doesn't exist)
USER_SITE: 'C:\\Users\\Jyotika
Patwardhan\\AppData\\Roaming\\Python\\Python36\\site-packages' (doesn't
exist)
ENABLE_USER_SITE: True
C:\Windows\system32>C:\Users\Jyotika
Patwardhan\PycharmProjects\Demo_1\venv\Scripts\python.exe -m sit
'C:\Users\Jyotika' is not recognized as an internal or external command,
operable program or batch file.
On Sun, Jun 23, 2019 at 12:07 AM Yannick Jadoul ***@***.***>
wrote:
> @jyothika12 <https://github.com/jyothika12> We're already making
> progress, then, if it doesn't have the other issue anymore :-)
>
> I think this problem occurs because of multiple versions of Python you
> have installed, where one is 32-bit and the other is 64-bit. I checked the
> versions of Parselmouth, and as far as I can see, these are correctly 32
> and 64-bit. So my current guess is that your pip somehow installs a
> 32-bit version of Parselmouth into the directory that contains libraries
> for your 64-bit version.
>
> Relevant StackOverflow answers, I found:
>
> https://stackoverflow.com/questions/19019720/importerror-dll-load-failed-1-is-not-a-valid-win32-application-but-the-dlls
>
> https://stackoverflow.com/questions/43434028/how-to-pip-install-64-bit-packages-while-having-both-64-bit-and-32-bit-versions
>
> Could you, please:
>
> - Report the output of running pip --version and where python in the
> terminal?
> - Report the output you get when starting Python, both in the
> terminal as well as in PyCharm? I mean the lines that look something like
> this, and tell me whether it's 32-bit or 64-bit:
>
> Python 3.6.8 (default, Jan 14 2019, 11:02:34)
> [GCC 8.0.1 20180414 (experimental) [trunk revision 259383]] on linux
> Type "help", "copyright", "credits" or "license" for more information.
>
> - Report the output of running python -m site and C:\Users\Jyotika
> Patwardhan\PycharmProjects\Demo_1\venv\Scripts\python.exe -m sit in
> your terminal.
>
> Sorry for all these questions and that I don't have an answer yet, but I
> need to get this info to see what's going wrong. I hope that once I have
> this information about the different Python versions on your computer, I
> can confirm that nothing's wrong with Parselmouth, and give you the command
> to get the installation fixed :-)
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#10?email_source=notifications&email_token=AJSMJ7LWUBG6OBITF54B253P3ZWPLA5CNFSM4GQKUQFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYKPDEQ#issuecomment-504689042>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AJSMJ7IW5LENLW5O32IREX3P3ZWPLANCNFSM4GQKUQFA>
> .
>
|
@jyothika12 Right, so there are indeed (at least) two Python versions, one saying '64 bit (AMD64)', while the other says '32 bit (Intel)' :-) Thank you very much for confirming that! I would suggest uninstalling Parselmouth one last time. Then go into the Python interpreter shell where you want to use Parselmouth, and run: >>> import subprocess, sys
>>> subprocess.call([sys.executable, "-m", "pip", "install", "-U", "--force-reinstall", "praat-parselmouth"])
... (You can also see https://parselmouth.readthedocs.io/en/stable/installation.html#multiple-python-versions for more details, or other ways of fixing multiple installed Python versions :-) ) |
(If this doesn't work, do let me know; but I think this should do the trick, using |
hi ,
In pycharm i am not able to use import command . and i dont know what can
be the issue the environment variables are also set .
every time i use import command i get the folowing error
'import' is not recognized as an internal or external command,
operable program or batch file.
can you please help me with that
…On Mon, Jun 24, 2019 at 6:36 PM Yannick Jadoul ***@***.***> wrote:
@jyothika12 <https://github.com/jyothika12> Right, so there are indeed
(at least) two Python versions, one saying '64 bit (AMD64)', while the
other says '32 bit (Intel)' :-) Thank you very much for confirming that!
I would suggest uninstalling Parselmouth one last time. Then go into the
Python interpreter shell where you want to use Parselmouth, and run:
>>> import subprocess, sys
>>> subprocess.call([sys.executable, "-m", "pip", "install", "-U", "--force-reinstall", "praat-parselmouth"])
...
(You can also see
https://parselmouth.readthedocs.io/en/stable/installation.html#multiple-python-versions
for more details, or other ways of fixing multiple installed Python
versions :-) )
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#10?email_source=notifications&email_token=AJSMJ7OFFF76VNPBQKPB3JLP4DBGHA5CNFSM4GQKUQFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYM3NTY#issuecomment-505001679>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJSMJ7MW45PYYYP3MVMW67TP4DBGHANCNFSM4GQKUQFA>
.
|
@jyothika12 Are you running this in the "Python Console" of PyCharm, and not in the "Terminal"? |
I am running this inside pycharm terminal
…On Mon, 24 Jun 2019, 7:40 pm Yannick Jadoul, ***@***.***> wrote:
@jyothika12 <https://github.com/jyothika12> Are you running this in the
"Python Console" of PyCharm, and not in the "Terminal"?
The lines I sent must be executed inside of Python.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#10?email_source=notifications&email_token=AJSMJ7K4KZANT2V4XN3UCC3P4DIWBA5CNFSM4GQKUQFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYNBURI#issuecomment-505027141>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJSMJ7NDZHEYVOJ6L6FFEPDP4DIWBANCNFSM4GQKUQFA>
.
|
@jyothika12 Then either run in the in the PyCharm Python console, or run |
thanks YannickJadoul/Parselmouth
i have uninstalled parselmouth ,python, pycharm and reinstalled
everything. and now its working . maybe some settings were wrong and now
your command has worked . thankyou.
…On Mon, Jun 24, 2019 at 7:29 PM jyothika ***@***.***> wrote:
hi ,
In pycharm i am not able to use import command . and i dont know what can
be the issue the environment variables are also set .
every time i use import command i get the folowing error
'import' is not recognized as an internal or external command,
operable program or batch file.
can you please help me with that
On Mon, Jun 24, 2019 at 6:36 PM Yannick Jadoul ***@***.***>
wrote:
> @jyothika12 <https://github.com/jyothika12> Right, so there are indeed
> (at least) two Python versions, one saying '64 bit (AMD64)', while the
> other says '32 bit (Intel)' :-) Thank you very much for confirming that!
>
> I would suggest uninstalling Parselmouth one last time. Then go into the
> Python interpreter shell where you want to use Parselmouth, and run:
>
> >>> import subprocess, sys
> >>> subprocess.call([sys.executable, "-m", "pip", "install", "-U", "--force-reinstall", "praat-parselmouth"])
> ...
>
> (You can also see
> https://parselmouth.readthedocs.io/en/stable/installation.html#multiple-python-versions
> for more details, or other ways of fixing multiple installed Python
> versions :-) )
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#10?email_source=notifications&email_token=AJSMJ7OFFF76VNPBQKPB3JLP4DBGHA5CNFSM4GQKUQFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYM3NTY#issuecomment-505001679>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AJSMJ7MW45PYYYP3MVMW67TP4DBGHANCNFSM4GQKUQFA>
> .
>
|
import subprocess, sys
subprocess.call([sys.executable, "-m", "pip", "install", "-U",
"--force-reinstall", "praat-parselmouth"])
Collecting praat-parselmouth
Using cached
https://files.pythonhosted.org/packages/3b/32/f344046db6759ed2b3939f7671caf469ad15489dfe97c56b37807d4c4232/praat_parselmouth-0.3.3-cp37-cp37m-win32.whl
Collecting numpy>=1.7.0 (from praat-parselmouth)
Using cached
https://files.pythonhosted.org/packages/07/46/656c25b39fc152ea525eef14b641993624a6325a8ae815b200de57cff0bc/numpy-1.16.4-cp37-cp37m-win32.whl
Installing collected packages: numpy, praat-parselmouth
Successfully installed numpy-1.16.4 praat-parselmouth-0.3.3
0
import parselmouth
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "C:\Program Files\JetBrains\PyCharm Community Edition
2019.1.3\helpers\pydev\_pydev_bundle\pydev_import_hook.py", line 21, in
do_import
module = self._system_import(name, *args, **kwargs)
ImportError: DLL load failed: %1 is not a valid Win32 application.
…On Mon, Jun 24, 2019 at 8:13 PM jyothika ***@***.***> wrote:
thanks YannickJadoul/Parselmouth
i have uninstalled parselmouth ,python, pycharm and reinstalled
everything. and now its working . maybe some settings were wrong and now
your command has worked . thankyou.
On Mon, Jun 24, 2019 at 7:29 PM jyothika ***@***.***> wrote:
> hi ,
>
> In pycharm i am not able to use import command . and i dont know what can
> be the issue the environment variables are also set .
> every time i use import command i get the folowing error
> 'import' is not recognized as an internal or external command,
> operable program or batch file.
>
> can you please help me with that
>
>
> On Mon, Jun 24, 2019 at 6:36 PM Yannick Jadoul ***@***.***>
> wrote:
>
>> @jyothika12 <https://github.com/jyothika12> Right, so there are indeed
>> (at least) two Python versions, one saying '64 bit (AMD64)', while the
>> other says '32 bit (Intel)' :-) Thank you very much for confirming that!
>>
>> I would suggest uninstalling Parselmouth one last time. Then go into the
>> Python interpreter shell where you want to use Parselmouth, and run:
>>
>> >>> import subprocess, sys
>> >>> subprocess.call([sys.executable, "-m", "pip", "install", "-U", "--force-reinstall", "praat-parselmouth"])
>> ...
>>
>> (You can also see
>> https://parselmouth.readthedocs.io/en/stable/installation.html#multiple-python-versions
>> for more details, or other ways of fixing multiple installed Python
>> versions :-) )
>>
>> —
>> You are receiving this because you were mentioned.
>> Reply to this email directly, view it on GitHub
>> <#10?email_source=notifications&email_token=AJSMJ7OFFF76VNPBQKPB3JLP4DBGHA5CNFSM4GQKUQFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYM3NTY#issuecomment-505001679>,
>> or mute the thread
>> <https://github.com/notifications/unsubscribe-auth/AJSMJ7MW45PYYYP3MVMW67TP4DBGHANCNFSM4GQKUQFA>
>> .
>>
>
|
ImportError: DLL load failed: %1 is not a valid Win32 application.
…On Mon, Jun 24, 2019 at 8:22 PM jyothika ***@***.***> wrote:
import subprocess, sys
subprocess.call([sys.executable, "-m", "pip", "install", "-U",
"--force-reinstall", "praat-parselmouth"])
Collecting praat-parselmouth
Using cached
https://files.pythonhosted.org/packages/3b/32/f344046db6759ed2b3939f7671caf469ad15489dfe97c56b37807d4c4232/praat_parselmouth-0.3.3-cp37-cp37m-win32.whl
Collecting numpy>=1.7.0 (from praat-parselmouth)
Using cached
https://files.pythonhosted.org/packages/07/46/656c25b39fc152ea525eef14b641993624a6325a8ae815b200de57cff0bc/numpy-1.16.4-cp37-cp37m-win32.whl
Installing collected packages: numpy, praat-parselmouth
Successfully installed numpy-1.16.4 praat-parselmouth-0.3.3
0
import parselmouth
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "C:\Program Files\JetBrains\PyCharm Community Edition
2019.1.3\helpers\pydev\_pydev_bundle\pydev_import_hook.py", line 21, in
do_import
module = self._system_import(name, *args, **kwargs)
ImportError: DLL load failed: %1 is not a valid Win32 application.
On Mon, Jun 24, 2019 at 8:13 PM jyothika ***@***.***> wrote:
> thanks YannickJadoul/Parselmouth
> i have uninstalled parselmouth ,python, pycharm and reinstalled
> everything. and now its working . maybe some settings were wrong and now
> your command has worked . thankyou.
>
> On Mon, Jun 24, 2019 at 7:29 PM jyothika ***@***.***> wrote:
>
>> hi ,
>>
>> In pycharm i am not able to use import command . and i dont know what
>> can be the issue the environment variables are also set .
>> every time i use import command i get the folowing error
>> 'import' is not recognized as an internal or external command,
>> operable program or batch file.
>>
>> can you please help me with that
>>
>>
>> On Mon, Jun 24, 2019 at 6:36 PM Yannick Jadoul ***@***.***>
>> wrote:
>>
>>> @jyothika12 <https://github.com/jyothika12> Right, so there are indeed
>>> (at least) two Python versions, one saying '64 bit (AMD64)', while the
>>> other says '32 bit (Intel)' :-) Thank you very much for confirming that!
>>>
>>> I would suggest uninstalling Parselmouth one last time. Then go into
>>> the Python interpreter shell where you want to use Parselmouth, and run:
>>>
>>> >>> import subprocess, sys
>>> >>> subprocess.call([sys.executable, "-m", "pip", "install", "-U", "--force-reinstall", "praat-parselmouth"])
>>> ...
>>>
>>> (You can also see
>>> https://parselmouth.readthedocs.io/en/stable/installation.html#multiple-python-versions
>>> for more details, or other ways of fixing multiple installed Python
>>> versions :-) )
>>>
>>> —
>>> You are receiving this because you were mentioned.
>>> Reply to this email directly, view it on GitHub
>>> <#10?email_source=notifications&email_token=AJSMJ7OFFF76VNPBQKPB3JLP4DBGHA5CNFSM4GQKUQFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYM3NTY#issuecomment-505001679>,
>>> or mute the thread
>>> <https://github.com/notifications/unsubscribe-auth/AJSMJ7MW45PYYYP3MVMW67TP4DBGHANCNFSM4GQKUQFA>
>>> .
>>>
>>
|
@jyothika12 So it has not worked? :-( |
Thanks
…On Mon, 24 Jun 2019, 9:10 pm Yannick Jadoul, ***@***.***> wrote:
@jyothika12 <https://github.com/jyothika12> So it has not worked? :-(
Sorry; I will try this out on a Windows machine I have access to, now, and
see if I can get the same error :-/
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#10?email_source=notifications&email_token=AJSMJ7MWXXMETQGWBYRBJRLP4DTGRA5CNFSM4GQKUQFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYNK6KA#issuecomment-505065256>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJSMJ7LG62JS4QVKKJK42A3P4DTGRANCNFSM4GQKUQFA>
.
|
Let's continue the discussion in the new #18 issue? |
Hi there, I'm new to praat, however, initiated the installation of parselmouth in anaconda3 python. And found out that module Praat doesnt exist in the parselmouth package to use the call function. can someone help please. im getting an era below when i perform (from parselmouth.Praat import call) ModuleNotFoundError: No module named 'parselmouth.Praat'; 'parselmouth' is not a package |
@Fallarcomigo This seems like another issue than the original issue, so it is maybe better to start another thread (or quickly ask on Gitter). I think the problem is the capital in what you write. It's |
thank you so much.that was the problem, it works well now. |
Great! Thanks for letting me know, @Fallarcomigo :) |
I am using Linux OS (Ubuntu 16.04) and Python version 3.5.
I have just installed the library (on my Anaconda virtenv) and I am getting an error when trying to import it:
"Traceback (most recent call last):
File "", line 1, in
File "/home/taras/anaconda3/envs/CondaEnvPy3Tf/lib/python3.5/site-packages/parselmouth/init.py", line 22, in
from parselmouth.base import Parselmouth
File "/home/taras/anaconda3/envs/CondaEnvPy3Tf/lib/python3.5/site-packages/parselmouth/base.py", line 30, in
from parselmouth.adapters.dfp.interface import DFPInterface
File "/home/taras/anaconda3/envs/CondaEnvPy3Tf/lib/python3.5/site-packages/parselmouth/adapters/dfp/interface.py", line 17, in
from urllib import quote
ImportError: cannot import name 'quote' "
The text was updated successfully, but these errors were encountered: