Skip to content
This repository has been archived by the owner on Mar 30, 2023. It is now read-only.

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 #1030

Closed
pierrevalette opened this issue Nov 13, 2020 · 29 comments

Comments

@pierrevalette
Copy link

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)

@himanshudabas
Copy link
Contributor

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

@pierrevalette
Copy link
Author

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.

@radler64
Copy link

Thanks a lot, helped me as well!

@qkrtlsan4218
Copy link

Thank you! you save my project!

@CloudOverTheHill
Copy link

thank you so much! Finaly find the solution here

@luyixdu
Copy link

luyixdu commented Nov 24, 2020

Thank you so much!

@DouglasAzevedo
Copy link

Muito Obrigado! @himanshudabas

@KaleidoscopeIM
Copy link

Thank you. It worked. 👍 :)

@imangali01
Copy link

Good thank u

@Driisty
Copy link

Driisty commented Nov 30, 2020

Thanks you it worked !

@naveenkumar11279
Copy link

Thank you, it works!!

@kvalli
Copy link

kvalli commented Dec 1, 2020

thankyou it works

@adityak3252
Copy link

Thanks

@KacimiBadr
Copy link

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

@HARSH-nith
Copy link

Thanks It really 💯% working

@Domonskuy
Copy link

Thank you it works!!

@mujeebishaque
Copy link

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.

@martinoywa
Copy link

Thank you!!!

@marreddysainikhilreddy
Copy link

Thank you helped a lot!!

@AlexisLoya
Copy link

grande

switchabl added a commit to switchabl/FortiusANT that referenced this issue Dec 18, 2020
@petrkucerak
Copy link

Gracias!

@argv1
Copy link

argv1 commented Dec 20, 2020

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.

holy smoke that helped, my script not even use numpy (only pandas) but was not able to run before downgrading to .19.3

@SammedSankonatti
Copy link

Thank you sooooooooooooo much it helped

@aadegokemuideen
Copy link

Thanks a lot. It saves me a lot of time

@9Syncopation
Copy link

thanks a lot!! you saved the day.

switchabl added a commit to switchabl/FortiusANT that referenced this issue Dec 30, 2020
@8bin
Copy link

8bin commented Jan 3, 2021

Thank you, it works for me also..

WouterJD pushed a commit to WouterJD/FortiusANT that referenced this issue Jan 4, 2021
Squashed merged Bushido and Genius implementation
Code looks good and functionality has been tested
Many thanks to @SwitchaBLE for this master-piece!

Co-authored-by: Mathias Graf @m472
Co-authored-by: Marco Veeneman @marcoveeneman

* initial version of Tacx Genius integration as a copy of Tacx iVortex
* bugfix in slope, was divided by 10 instead of multiplied for transmission
* send slope instead of power to brake
* correction for ERG mode: set power instead of slope if ERG mode is enabled
* added missing method msgUnpage221_TacxGeniusHU_ButtonPressed
* added option to not use head unit with Tacx Genius
* wrong comments fixed, thanks to @mattipee for noticing
* added github action to build FortiusANT.exe on push
* Use argparse "choices" to handle device types for clearer error messages, automated help texts and checking
* added error if --no-headunit is used without --TacxType
* command line parameters changed as suggested by @WouterJD
* bug introduced in last commit fixed: NoHeadunit was no longe saved
* variables in clsTacxAntGenius that still had "VTX" in it renamed to "GNS"
* commented out "Refresh" method removed (was copied from clsTacxAntVortex)
* vim swap files (*.swp) added to gitignore
* Fix errors on startup, some clean-up
* Lower virtual flywheel weight in ERG mode
* Initial attempt at building the FortiusANT windows executable automatically by github actions
* Enter pythoncode directory before installing requirements
* Install pyinstaller in github actions
* Try to download and unzip libusb
* Try to fix downloading libusb zip file
* Try again using bitsadmin and copy file to system32 so pyinstaller can use it
* Removed quote from download string which was wrong
* Fixed typo in priority setting of bitsadmin command
* Try using cmd shell for downloading libusb
* Save the generated executable as artifact
* Also build the ExplorANT executable
* Rename generated artifacts folder
* Split building ExplorANT and FortiusANT into separate steps
* Apply power factor in erg mode
* Apply rolling resistance in slope mode
* Consolidate Genius ANT code, add more data pages
* Added Wind resistance control for Genius
* Handle Genius alarm status
* Genius calibration
* Separate artifacts for FortiusANT and ExplorANT
* Downgrade numpy because of Windows bug (see twintproject/twint#1030)
* Tacx Bushido (non-Smart) support; first try
* Fix Bushido head unit mode setting
* Fix Bushido mode-setting (2nd attempt)
* Fix Bushido buttons
* Fix Bushido alarm messages
* Downgrade numpy because of Windows bug (see twintproject/twint#1030)
* Add change log, remove autobuild in preparation for merge
* Fix antDongle.py line endings
* Add Genius, Bushido to README and add .bat files
@SamiaKaleem
Copy link

Hi,
I was facing the same error! A simple & perfect solution. Thanks!!

@henry-glitch
Copy link

thankyou this has helped me a lot

@aguaviva
Copy link

And yet another thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests