Results 1 to 10 of 11

Hybrid View

  1. #1
    Thanks, I did a reinstall and got this:

    Traceback (most recent call last):


    File ~\anaconda3\envs\light_streamer\lib\site-packages\aiohttp\client_reqrep.py:70
    import cchardet as chardet


    ModuleNotFoundError: No module named 'cchardet'




    During handling of the above exception, another exception occurred:


    Traceback (most recent call last):


    Cell In[2], line 1
    from lightstreamer.client import *


    File ~\anaconda3\envs\light_streamer\lib\site-packages\lightstreamer\client\__init__.py:2
    from .ls_python_client_wrapper import *


    File ~\anaconda3\envs\light_streamer\lib\site-packages\lightstreamer\client\ls_python_client_wra pper.py:2
    from .ls_python_client_haxe import LSConsoleLoggerProvider, LSConsoleLogLevel, LSProxy, LSSubscription, LSConnectionDetails, LSConnectionOptions, LSLightstreamerClient


    File ~\anaconda3\envs\light_streamer\lib\site-packages\lightstreamer\client\ls_python_client_hax e.py:10
    from .com_lightstreamer_net import CookieHelper as com_lightstreamer_internal_CookieHelper


    File ~\anaconda3\envs\light_streamer\lib\site-packages\lightstreamer\client\com_lightstreamer_ne t.py:1
    import aiohttp


    File ~\anaconda3\envs\light_streamer\lib\site-packages\aiohttp\__init__.py:6
    from .client import (


    File ~\anaconda3\envs\light_streamer\lib\site-packages\aiohttp\client.py:59
    from .client_reqrep import (


    File ~\anaconda3\envs\light_streamer\lib\site-packages\aiohttp\client_reqrep.py:72
    import charset_normalizer as chardet # type: ignore[no-redef]


    File ~\anaconda3\envs\light_streamer\lib\site-packages\charset_normalizer\__init__.py:23
    from charset_normalizer.api import from_fp, from_path, from_bytes, normalize


    File ~\anaconda3\envs\light_streamer\lib\site-packages\charset_normalizer\api.py:10
    from charset_normalizer.md import mess_ratio


    File charset_normalizer\md.py:5
    from charset_normalizer.utils import is_punctuation, is_symbol, unicode_range, is_accentuated, is_latin, \


    ImportError: cannot import name 'COMMON_SAFE_ASCII_CHARACTERS' from 'charset_normalizer.constant' (C:\Users\frank\anaconda3\envs\light_streamer\lib\ site-packages\charset_normalizer\constant.py)

  2. #2
    It seems a problem related to aiohttp, a library used by the Lightstreamer Client to make http and websocket connections.
    I really don’t know why it happens but you can try the workaround suggested in this SO post.

 

 

Similar Threads

  1. Python client for lightstreamer
    By Colombao in forum Client SDKs
    Replies: 79
    Last Post: July 7th, 2020, 09:05 AM
  2. php/perl/python lightstream client
    By Eli Shabtay in forum Client SDKs
    Replies: 1
    Last Post: May 11th, 2015, 08:48 AM
  3. php/perl/python lightstream client
    By Eli Shabtay in forum General
    Replies: 1
    Last Post: May 11th, 2015, 08:48 AM
  4. Python Client Library for Lightstreamer
    By Alessandro in forum Client SDKs
    Replies: 1
    Last Post: December 18th, 2014, 05:15 PM
  5. how to comunicate lightstreamer server by python
    By keyan in forum Client SDKs
    Replies: 4
    Last Post: December 18th, 2014, 05:12 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 03:34 PM.