Twint: wierd error ** On entry to DGEBAL parameter number 3 had an illegal value ** On entry to DGEHRD parameter number 2 had an illegal value ** On entry to DORGHR DORGQR parameter number 2 had an illegal value ** On entry to DHSEQR parameter number 4 had an illegal value

Created on 13 Nov 2020  ·  20Comments  ·  Source: twintproject/twint

Hi, so i have a weird issue running on windows with the cmd. i 'm new to twint and i have to use it for a social sciences paper for school.
i install it with:

git clone --depth=1 https://github.com/twintproject/twint.git
cd twint
pip3 install . -r requirements.txt

the same occurs in both python 3.6 and 3.9. (double checked) and still got the exact same message.

i did Updated Twint with pip3 install --user --upgrade -e git+https://github.com/twintproject/twint.git@origin/master#egg=twint;

I ran (checked different usernames possibilities)
twint -u username

and i get :

C:\Users\Pierre\twint>twint u- pierre45167
 ** On entry to DGEBAL parameter number  3 had an illegal value
 ** On entry to DGEHRD  parameter number  2 had an illegal value
 ** On entry to DORGHR DORGQR parameter number  2 had an illegal value
 ** On entry to DHSEQR parameter number  4 had an illegal value
Traceback (most recent call last):
  File "C:\Users\Pierre\AppData\Local\Programs\Python\Python39\Scripts\twint-script.py", line 33, in <module>
    sys.exit(load_entry_point('twint==2.1.21', 'console_scripts', 'twint')())
  File "C:\Users\Pierre\AppData\Local\Programs\Python\Python39\Scripts\twint-script.py", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "c:\users\pierre\appdata\local\programs\python\python39\lib\importlib\metadata.py", line 77, in load
    module = import_module(match.group('module'))
  File "c:\users\pierre\appdata\local\programs\python\python39\lib\importlib\__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 790, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "c:\users\pierre\twint\src\twint\twint\__init__.py", line 14, in <module>
    from . import run
  File "c:\users\pierre\twint\src\twint\twint\run.py", line 4, in <module>
    from . import datelock, feed, get, output, verbose, storage
  File "c:\users\pierre\twint\src\twint\twint\get.py", line 16, in <module>
    from .output import Tweets, Users
  File "c:\users\pierre\twint\src\twint\twint\output.py", line 6, in <module>
    from .storage import db, elasticsearch, write, panda
  File "c:\users\pierre\twint\src\twint\twint\storage\elasticsearch.py", line 2, in <module>
    from elasticsearch import Elasticsearch, helpers
  File "c:\users\pierre\appdata\local\programs\python\python39\lib\site-packages\elasticsearch\__init__.py", line 36, in <module>
    from .client import Elasticsearch
  File "c:\users\pierre\appdata\local\programs\python\python39\lib\site-packages\elasticsearch\client\__init__.py", line 22, in <module>
    from ..transport import Transport, TransportError
  File "c:\users\pierre\appdata\local\programs\python\python39\lib\site-packages\elasticsearch\transport.py", line 23, in <module>
    from .serializer import JSONSerializer, Deserializer, DEFAULT_SERIALIZERS
  File "c:\users\pierre\appdata\local\programs\python\python39\lib\site-packages\elasticsearch\serializer.py", line 35, in <module>
    import numpy as np
  File "c:\users\pierre\appdata\local\programs\python\python39\lib\site-packages\numpy\__init__.py", line 305, in <module>
    _win_os_check()
  File "c:\users\pierre\appdata\local\programs\python\python39\lib\site-packages\numpy\__init__.py", line 302, in _win_os_check
    raise RuntimeError(msg.format(__file__)) from None
RuntimeError: The current Numpy installation ('c:\\users\\pierre\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\numpy\\__init__.py') fails to pass a sanity check due to a bug in the windows runtime. See this issue for more information: https://tinyurl.com/y3dm3h86

If any of you had the issue or had ideas...
(i checked if there was other issues but nothing came out)

Most helpful comment

this isn't actually a twint issue, it's related to numpy.
numpy1.19.4 has this bug on windows.
first uninstall the current numpy installation using:

pip uninstall numpy

Then install the previous version using:

pip install numpy==1.19.3

All 20 comments

this isn't actually a twint issue, it's related to numpy.
numpy1.19.4 has this bug on windows.
first uninstall the current numpy installation using:

pip uninstall numpy

Then install the previous version using:

pip install numpy==1.19.3

this isn't actually a twint issue, it's related to numpy.
numpy1.19.4 has this bug on windows.
first uninstall the current numpy installation using:

pip uninstall numpy

Then install the previous version using:

pip install numpy==1.19.3

thank you so much !! Hope i didn't bother you too much you saved me on this one, i don't know i would have done otherwise.

Thanks a lot, helped me as well!

Thank you! you save my project!

thank you so much! Finaly find the solution here

Thank you so much!

Muito Obrigado! @himanshudabas

Thank you. It worked. 👍 :)

Good thank u

Thanks you it worked !

Thank you, it works!!

thankyou it works

Thanks

Run into the same problem today, trying to use numpy and maxpluspy, this helped me. Thank you.

Thanks It really 💯% working

Thank you it works!!

You don't have to manually uninstall the previous installation. pip install numpy=1.19.3 would automatically uninstall the previous installation. just to save your 2 seconds.

Thank you!!!

Thank you helped a lot!!

grande

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sahildeo picture sahildeo  ·  3Comments

psubbiah picture psubbiah  ·  4Comments

philuchansky picture philuchansky  ·  3Comments

cbjrobertson picture cbjrobertson  ·  5Comments

wagerpascal picture wagerpascal  ·  4Comments