langflow-ai / langflow

Langflow is a low-code app builder for RAG and multi-agent AI applications. It’s Python-based and agnostic to any model, API, or database.
http://www.langflow.org
MIT License
35.73k stars 4.24k forks source link

Installing a pre-release and facing installation error on macOS - 1st time installing Langflow #1679

Closed msmygit closed 7 months ago

msmygit commented 7 months ago

Describe the bug This is the very first time I'm working with Langflow and attempting to install the pre-release version. Below are steps that I performed. Attempting to install langflow-1.0.0a13 -> langflow-1.0.0a14 -> langflow-1.0.0a15 and nothing seems to be working. Appreciate any help in advance!

% pyenv --version
pyenv 2.4.0

% pyenv install 3.10.14

% pyenv virtualenv 3.10.14 langflow

$ pyenv activate langflow

$ pip3 install langflow --pre --force-reinstall
...
Successfully uninstalled langflow-1.0.0a14 <<<<<<<-------- I was hoping this is the right one
...

% python -V
Python 3.10.14

% langflow run
[04/10/24 13:49:43] ERROR    2024-04-10 13:49:43 - ERROR    - service - AutogenerateDiffsDetected: New upgrade operations detected: [[('modify_nullable', None, 'apikey', 'created_at',                service.py:170
                             {'existing_type': DATETIME(), 'existing_server_default': DefaultClause(<sqlalchemy.sql.elements.TextClause object at 0x121b60850>, for_update=False), 'existing_comment':               
                             None}, True, False)]]                                                                                                                                                                   
                    ERROR    2024-04-10 13:49:43 - ERROR    - utils - Something went wrong running migrations. Please, run `langflow migration --fix`                                                     utils.py:51
                    ERROR    2024-04-10 13:49:43 - ERROR    - utils - Something went wrong running migrations. Please, run `langflow migration --fix`                                                    utils.py:197
                    ERROR    2024-04-10 13:49:43 - ERROR    - on - Traceback (most recent call last):                                                                                                       on.py:121
                               File "/Users/USERNAME/.pyenv/versions/3.10.14/envs/langflow/lib/python3.10/site-packages/langflow/services/database/service.py", line 168, in run_migrations                 
                                 command.check(alembic_cfg)                                                                                                                                                          
                               File "/Users/USERNAME/.pyenv/versions/3.10.14/envs/langflow/lib/python3.10/site-packages/alembic/command.py", line 300, in check                                             
                                 raise util.AutogenerateDiffsDetected(                                                                                                                                               
                             alembic.util.exc.AutogenerateDiffsDetected: New upgrade operations detected: [[('modify_nullable', None, 'apikey', 'created_at', {'existing_type': DATETIME(),                          
                             'existing_server_default': DefaultClause(<sqlalchemy.sql.elements.TextClause object at 0x121b60850>, for_update=False), 'existing_comment': None}, True, False)]]                       

                             The above exception was the direct cause of the following exception:                                                                                                                    

                             Traceback (most recent call last):                                                                                                                                                      
                               File "/Users/USERNAME/.pyenv/versions/3.10.14/envs/langflow/lib/python3.10/site-packages/starlette/routing.py", line 732, in lifespan                                        
                                 async with self.lifespan_context(app) as maybe_state:                                                                                                                               
                               File "/Users/USERNAME/.pyenv/versions/3.10.14/lib/python3.10/contextlib.py", line 199, in __aenter__                                                                         
                                 return await anext(self.gen)                                                                                                                                                        
                               File "/Users/USERNAME/.pyenv/versions/3.10.14/envs/langflow/lib/python3.10/site-packages/langflow/main.py", line 26, in lifespan                                             
                                 initialize_services(fix_migration=fix_migration, socketio_server=socketio_server)                                                                                                   
                               File "/Users/USERNAME/.pyenv/versions/3.10.14/envs/langflow/lib/python3.10/site-packages/langflow/services/utils.py", line 198, in initialize_services                       
                                 raise exc                                                                                                                                                                           
                               File "/Users/USERNAME/.pyenv/versions/3.10.14/envs/langflow/lib/python3.10/site-packages/langflow/services/utils.py", line 195, in initialize_services                       
                                 initialize_database(fix_migration=fix_migration)                                                                                                                                    
                               File "/Users/USERNAME/.pyenv/versions/3.10.14/envs/langflow/lib/python3.10/site-packages/langflow/services/database/utils.py", line 52, in initialize_database               
                                 raise exc                                                                                                                                                                           
                               File "/Users/USERNAME/.pyenv/versions/3.10.14/envs/langflow/lib/python3.10/site-packages/langflow/services/database/utils.py", line 32, in initialize_database               
                                 database_service.run_migrations(fix=fix_migration)                                                                                                                                  
                               File "/Users/USERNAME/.pyenv/versions/3.10.14/envs/langflow/lib/python3.10/site-packages/langflow/services/database/service.py", line 172, in run_migrations                 
                                 raise RuntimeError(                                                                                                                                                                 
                             RuntimeError: Something went wrong running migrations. Please, run `langflow migration --fix`                                                                                           

                    ERROR    2024-04-10 13:49:43 - ERROR    - on - Application startup failed. Exiting.                                                                                                      on.py:59
[04/10/24 13:49:43] ERROR    2024-04-10 13:49:43 - ERROR    - glogging - Worker (pid:60151) exited with code 3                                                                                        glogging.py:272
                    ERROR    2024-04-10 13:49:43 - ERROR    - glogging - Shutting down: Master                                                                                                        glogging.py:272
                    ERROR    2024-04-10 13:49:43 - ERROR    - glogging - Reason: Worker failed to boot.                                                                                               glogging.py:272
^C
Aborted.

% langflow migration --fix
This will delete all data necessary to fix migrations. Are you sure you want to continue? [y/N]: y
2024-04-10 14:04:14.791 | DEBUG    | langflow.services.manager:_create_service:44 - Create service cache_service
2024-04-10 14:04:14.791 | DEBUG    | langflow.services.manager:_create_service:44 - Create service settings_service
2024-04-10 14:04:14.825 | DEBUG    | langflow.services.settings.service:load_settings_from_yaml:35 - Loading 6 AGENTS from /Users/USERNAME/.pyenv/versions/3.10.14/envs/langflow/lib/python3.10/site-packages/langflow/config.yaml
2024-04-10 14:04:14.826 | DEBUG    | langflow.services.settings.service:load_settings_from_yaml:35 - Loading 29 DOCUMENTLOADERS from /Users/USERNAME/.pyenv/versions/3.10.14/envs/langflow/lib/python3.10/site-packages/langflow/config.yaml
2024-04-10 14:04:14.826 | DEBUG    | langflow.services.settings.service:load_settings_from_yaml:35 - Loading 6 EMBEDDINGS from /Users/USERNAME/.pyenv/versions/3.10.14/envs/langflow/lib/python3.10/site-packages/langflow/config.yaml
2024-04-10 14:04:14.826 | DEBUG    | langflow.services.settings.service:load_settings_from_yaml:35 - Loading 9 MEMORIES from /Users/USERNAME/.pyenv/versions/3.10.14/envs/langflow/lib/python3.10/site-packages/langflow/config.yaml
2024-04-10 14:04:14.826 | DEBUG    | langflow.services.settings.service:load_settings_from_yaml:35 - Loading 5 PROMPTS from /Users/USERNAME/.pyenv/versions/3.10.14/envs/langflow/lib/python3.10/site-packages/langflow/config.yaml
2024-04-10 14:04:14.826 | DEBUG    | langflow.services.settings.service:load_settings_from_yaml:35 - Loading 2 TEXTSPLITTERS from /Users/USERNAME/.pyenv/versions/3.10.14/envs/langflow/lib/python3.10/site-packages/langflow/config.yaml
2024-04-10 14:04:14.826 | DEBUG    | langflow.services.settings.service:load_settings_from_yaml:35 - Loading 5 TOOLKITS from /Users/USERNAME/.pyenv/versions/3.10.14/envs/langflow/lib/python3.10/site-packages/langflow/config.yaml
2024-04-10 14:04:14.826 | DEBUG    | langflow.services.settings.service:load_settings_from_yaml:35 - Loading 29 TOOLS from /Users/USERNAME/.pyenv/versions/3.10.14/envs/langflow/lib/python3.10/site-packages/langflow/config.yaml
2024-04-10 14:04:14.827 | DEBUG    | langflow.services.settings.service:load_settings_from_yaml:35 - Loading 8 UTILITIES from /Users/USERNAME/.pyenv/versions/3.10.14/envs/langflow/lib/python3.10/site-packages/langflow/config.yaml
2024-04-10 14:04:14.827 | DEBUG    | langflow.services.settings.service:load_settings_from_yaml:35 - Loading 1 RETRIEVERS from /Users/USERNAME/.pyenv/versions/3.10.14/envs/langflow/lib/python3.10/site-packages/langflow/config.yaml
2024-04-10 14:04:14.827 | DEBUG    | langflow.services.settings.service:load_settings_from_yaml:35 - Loading 2 WRAPPERS from /Users/USERNAME/.pyenv/versions/3.10.14/envs/langflow/lib/python3.10/site-packages/langflow/config.yaml
2024-04-10 14:04:14.827 | DEBUG    | langflow.services.settings.service:load_settings_from_yaml:35 - Loading 2 OUTPUT_PARSERS from /Users/USERNAME/.pyenv/versions/3.10.14/envs/langflow/lib/python3.10/site-packages/langflow/config.yaml
2024-04-10 14:04:14.827 | DEBUG    | langflow.services.settings.service:load_settings_from_yaml:35 - Loading 1 CUSTOM_COMPONENTS from /Users/USERNAME/.pyenv/versions/3.10.14/envs/langflow/lib/python3.10/site-packages/langflow/config.yaml
2024-04-10 14:04:14.832 | DEBUG    | langflow.services.settings.base:set_database_url:135 - No database_url provided, trying LANGFLOW_DATABASE_URL env variable
2024-04-10 14:04:14.832 | DEBUG    | langflow.services.settings.base:set_database_url:140 - No DATABASE_URL env variable, using sqlite database
2024-04-10 14:04:14.832 | DEBUG    | langflow.services.settings.base:set_components_path:181 - Setting default components path to components_path
2024-04-10 14:04:14.832 | DEBUG    | langflow.services.settings.base:set_components_path:186 - Components path: ['/Users/USERNAME/.pyenv/versions/3.10.14/envs/langflow/lib/python3.10/site-packages/langflow/components']
2024-04-10 14:04:14.834 | DEBUG    | langflow.services.settings.auth:get_secret_key:94 - No secret key provided, generating a random one
2024-04-10 14:04:14.835 | DEBUG    | langflow.services.settings.auth:get_secret_key:98 - Loaded secret key
2024-04-10 14:04:14.836 | DEBUG    | langflow.services.settings.auth:validate_superuser:73 - Resetting superuser password to default value
2024-04-10 14:04:14.836 | DEBUG    | langflow.services.database.utils:initialize_database:14 - Initializing database
2024-04-10 14:04:14.836 | DEBUG    | langflow.services.manager:_create_service:44 - Create service database_service
2024-04-10 14:04:14.860 | DEBUG    | langflow.services.database.service:create_db_and_tables:230 - Database and tables already exist
2024-04-10 14:04:14.863 | INFO     | langflow.services.database.service:run_migrations:148 - Alembic already initialized
2024-04-10 14:04:14.864 | INFO     | langflow.services.database.service:run_migrations:156 - Running DB migrations in /Users/USERNAME/.pyenv/versions/3.10.14/envs/langflow/lib/python3.10/site-packages/langflow/alembic
2024-04-10 14:04:17.943 | ERROR    | langflow.services.database.service:run_migrations:170 - AutogenerateDiffsDetected: New upgrade operations detected: [[('modify_nullable', None, 'apikey', 'created_at', {'existing_type': DATETIME(), 'existing_server_default': DefaultClause(<sqlalchemy.sql.elements.TextClause object at 0x11d403b20>, for_update=False), 'existing_comment': None}, True, False)]]
2024-04-10 14:04:17.967 | WARNING  | langflow.services.database.service:try_downgrade_upgrade_until_success:188 - AutogenerateDiffsDetected: New upgrade operations detected: [[('modify_nullable', None, 'apikey', 'created_at', {'existing_type': DATETIME(), 'existing_server_default': DefaultClause(<sqlalchemy.sql.elements.TextClause object at 0x11d459570>, for_update=False), 'existing_comment': None}, True, False)]]
2024-04-10 14:04:21.030 | WARNING  | langflow.services.database.service:try_downgrade_upgrade_until_success:188 - AutogenerateDiffsDetected: New upgrade operations detected: [[('modify_nullable', None, 'apikey', 'created_at', {'existing_type': DATETIME(), 'existing_server_default': DefaultClause(<sqlalchemy.sql.elements.TextClause object at 0x11d4f81f0>, for_update=False), 'existing_comment': None}, True, False)]]
2024-04-10 14:04:24.110 | WARNING  | langflow.services.database.service:try_downgrade_upgrade_until_success:188 - AutogenerateDiffsDetected: New upgrade operations detected: [[('modify_nullable', None, 'apikey', 'created_at', {'existing_type': DATETIME(), 'existing_server_default': DefaultClause(<sqlalchemy.sql.elements.TextClause object at 0x11d4287c0>, for_update=False), 'existing_comment': None}, True, False)]]
2024-04-10 14:04:27.217 | WARNING  | langflow.services.database.service:try_downgrade_upgrade_until_success:188 - AutogenerateDiffsDetected: New upgrade operations detected: [[('modify_nullable', None, 'apikey', 'created_at', {'existing_type': DATETIME(), 'existing_server_default': DefaultClause(<sqlalchemy.sql.elements.TextClause object at 0x11d585bd0>, for_update=False), 'existing_comment': None}, True, False)]]
2024-04-10 14:04:30.349 | WARNING  | langflow.services.database.service:try_downgrade_upgrade_until_success:188 - AutogenerateDiffsDetected: New upgrade operations detected: [[('modify_nullable', None, 'apikey', 'created_at', {'existing_type': DATETIME(), 'existing_server_default': DefaultClause(<sqlalchemy.sql.elements.TextClause object at 0x11d66ce50>, for_update=False), 'existing_comment': None}, True, False)]]
2024-04-10 14:04:33.454 | DEBUG    | langflow.services.database.utils:initialize_database:53 - Database initialized
2024-04-10 14:04:33.455 | DEBUG    | langflow.services.utils:setup_superuser:93 - AUTO_LOGIN is set to True. Creating default superuser.
2024-04-10 14:04:33.477 | DEBUG    | langflow.services.settings.auth:validate_superuser:73 - Resetting superuser password to default value
2024-04-10 14:04:33.480 | DEBUG    | langflow.services.manager:_create_service:44 - Create service socket_service
           Migration flow           
┏━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━┓
┃ Name          ┃ Type   ┃ Status  ┃
┡━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━┩
│ flow          │ table  │ Success │
│ name          │ column │ Success │
│ description   │ column │ Success │
│ icon          │ column │ Success │
│ icon_bg_color │ column │ Success │
│ data          │ column │ Success │
│ is_component  │ column │ Success │
│ updated_at    │ column │ Success │
│ folder        │ column │ Success │
│ id            │ column │ Success │
│ user_id       │ column │ Success │
└───────────────┴────────┴─────────┘

           Migration user           
┏━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━┓
┃ Name          ┃ Type   ┃ Status  ┃
┡━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━┩
│ user          │ table  │ Success │
│ id            │ column │ Success │
│ username      │ column │ Success │
│ password      │ column │ Success │
│ profile_image │ column │ Success │
│ is_active     │ column │ Success │
│ is_superuser  │ column │ Success │
│ create_at     │ column │ Success │
│ updated_at    │ column │ Success │
│ last_login_at │ column │ Success │
│ store_api_key │ column │ Success │
└───────────────┴────────┴─────────┘

         Migration apikey          
┏━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━┓
┃ Name         ┃ Type   ┃ Status  ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━┩
│ apikey       │ table  │ Success │
│ name         │ column │ Success │
│ created_at   │ column │ Success │
│ last_used_at │ column │ Success │
│ total_uses   │ column │ Success │
│ is_active    │ column │ Success │
│ id           │ column │ Success │
│ api_key      │ column │ Success │
│ user_id      │ column │ Success │
└──────────────┴────────┴─────────┘

(langflow) % langflow run                                 
[04/10/24 14:05:17] ERROR    2024-04-10 14:05:17 - ERROR    - service - AutogenerateDiffsDetected: New upgrade operations detected: [[('modify_nullable', None, 'apikey', 'created_at',                service.py:170
                             {'existing_type': DATETIME(), 'existing_server_default': DefaultClause(<sqlalchemy.sql.elements.TextClause object at 0x124be8790>, for_update=False), 'existing_comment':               
                             None}, True, False)]]                                                                                                                                                                   
                    ERROR    2024-04-10 14:05:17 - ERROR    - utils - Something went wrong running migrations. Please, run `langflow migration --fix`                                                     utils.py:51
                    ERROR    2024-04-10 14:05:17 - ERROR    - utils - Something went wrong running migrations. Please, run `langflow migration --fix`                                                    utils.py:197
                    ERROR    2024-04-10 14:05:17 - ERROR    - on - Traceback (most recent call last):                                                                                                       on.py:121
                               File "/Users/USERNAME/.pyenv/versions/3.10.14/envs/langflow/lib/python3.10/site-packages/langflow/services/database/service.py", line 168, in run_migrations                 
                                 command.check(alembic_cfg)                                                                                                                                                          
                               File "/Users/USERNAME/.pyenv/versions/3.10.14/envs/langflow/lib/python3.10/site-packages/alembic/command.py", line 300, in check                                             
                                 raise util.AutogenerateDiffsDetected(                                                                                                                                               
                             alembic.util.exc.AutogenerateDiffsDetected: New upgrade operations detected: [[('modify_nullable', None, 'apikey', 'created_at', {'existing_type': DATETIME(),                          
                             'existing_server_default': DefaultClause(<sqlalchemy.sql.elements.TextClause object at 0x124be8790>, for_update=False), 'existing_comment': None}, True, False)]]                       

                             The above exception was the direct cause of the following exception:                                                                                                                    

                             Traceback (most recent call last):                                                                                                                                                      
                               File "/Users/USERNAME/.pyenv/versions/3.10.14/envs/langflow/lib/python3.10/site-packages/starlette/routing.py", line 732, in lifespan                                        
                                 async with self.lifespan_context(app) as maybe_state:                                                                                                                               
                               File "/Users/USERNAME/.pyenv/versions/3.10.14/lib/python3.10/contextlib.py", line 199, in __aenter__                                                                         
                                 return await anext(self.gen)                                                                                                                                                        
                               File "/Users/USERNAME/.pyenv/versions/3.10.14/envs/langflow/lib/python3.10/site-packages/langflow/main.py", line 26, in lifespan                                             
                                 initialize_services(fix_migration=fix_migration, socketio_server=socketio_server)                                                                                                   
                               File "/Users/USERNAME/.pyenv/versions/3.10.14/envs/langflow/lib/python3.10/site-packages/langflow/services/utils.py", line 198, in initialize_services                       
                                 raise exc                                                                                                                                                                           
                               File "/Users/USERNAME/.pyenv/versions/3.10.14/envs/langflow/lib/python3.10/site-packages/langflow/services/utils.py", line 195, in initialize_services                       
                                 initialize_database(fix_migration=fix_migration)                                                                                                                                    
                               File "/Users/USERNAME/.pyenv/versions/3.10.14/envs/langflow/lib/python3.10/site-packages/langflow/services/database/utils.py", line 52, in initialize_database               
                                 raise exc                                                                                                                                                                           
                               File "/Users/USERNAME/.pyenv/versions/3.10.14/envs/langflow/lib/python3.10/site-packages/langflow/services/database/utils.py", line 32, in initialize_database               
                                 database_service.run_migrations(fix=fix_migration)                                                                                                                                  
                               File "/Users/USERNAME/.pyenv/versions/3.10.14/envs/langflow/lib/python3.10/site-packages/langflow/services/database/service.py", line 172, in run_migrations                 
                                 raise RuntimeError(                                                                                                                                                                 
                             RuntimeError: Something went wrong running migrations. Please, run `langflow migration --fix`                                                                                           

                    ERROR    2024-04-10 14:05:17 - ERROR    - on - Application startup failed. Exiting.                                                                                                      on.py:59
[04/10/24 14:05:17] ERROR    2024-04-10 14:05:17 - ERROR    - glogging - Worker (pid:60798) exited with code 3                                                                                        glogging.py:272
                    ERROR    2024-04-10 14:05:17 - ERROR    - glogging - Shutting down: Master                                                                                                        glogging.py:272
                    ERROR    2024-04-10 14:05:17 - ERROR    - glogging - Reason: Worker failed to boot

And then the latest is attached below. message.txt

Browser and Version

OS Details macOS Sonoma 14.3

To Reproduce See description above!

Screenshots n/a

Additional context not yet

msmygit commented 7 months ago

@ogabrielluiz Please reopen this as this still doesn't work. See attached logs. langflow_doesnt_want_to_install.txt

msmygit commented 7 months ago

Even tried to invoke it using sudo without any luck,

(langflow) username@langflow langflow % sudo python -m langflow run
[04/11/24 11:01:37] ERROR    2024-04-11 11:01:37 - ERROR    - service - AutogenerateDiffsDetected: New upgrade operations detected: [[('modify_nullable', None, 'apikey', 'created_at',                service.py:170
                             {'existing_type': DATETIME(), 'existing_server_default': DefaultClause(<sqlalchemy.sql.elements.TextClause object at 0x1244d5810>, for_update=False), 'existing_comment':               
                             None}, True, False)]]                                                                                                                                                                   
                    ERROR    2024-04-11 11:01:37 - ERROR    - utils - Something went wrong running migrations. Please, run `langflow migration --fix`                                                     utils.py:51
                    ERROR    2024-04-11 11:01:37 - ERROR    - utils - Something went wrong running migrations. Please, run `langflow migration --fix`                                                    utils.py:197
                    ERROR    2024-04-11 11:01:37 - ERROR    - on - Traceback (most recent call last):                                                                                                       on.py:121
                               File "/Users/USERNAME/.pyenv/versions/langflow/lib/python3.10/site-packages/langflow/services/database/service.py", line 168, in run_migrations                              
                                 command.check(alembic_cfg)                                                                                                                                                          
                               File "/Users/USERNAME/.pyenv/versions/langflow/lib/python3.10/site-packages/alembic/command.py", line 300, in check                                                          
                                 raise util.AutogenerateDiffsDetected(                                                                                                                                               
                             alembic.util.exc.AutogenerateDiffsDetected: New upgrade operations detected: [[('modify_nullable', None, 'apikey', 'created_at', {'existing_type': DATETIME(),                          
                             'existing_server_default': DefaultClause(<sqlalchemy.sql.elements.TextClause object at 0x1244d5810>, for_update=False), 'existing_comment': None}, True, False)]]                       

                             The above exception was the direct cause of the following exception:                                                                                                                    

                             Traceback (most recent call last):                                                                                                                                                      
                               File "/Users/USERNAME/.pyenv/versions/langflow/lib/python3.10/site-packages/starlette/routing.py", line 732, in lifespan                                                     
                                 async with self.lifespan_context(app) as maybe_state:                                                                                                                               
                               File "/Users/USERNAME/.pyenv/versions/3.10.14/lib/python3.10/contextlib.py", line 199, in __aenter__                                                                         
                                 return await anext(self.gen)                                                                                                                                                        
                               File "/Users/USERNAME/.pyenv/versions/langflow/lib/python3.10/site-packages/langflow/main.py", line 26, in lifespan                                                          
                                 initialize_services(fix_migration=fix_migration, socketio_server=socketio_server)                                                                                                   
                               File "/Users/USERNAME/.pyenv/versions/langflow/lib/python3.10/site-packages/langflow/services/utils.py", line 198, in initialize_services                                    
                                 raise exc                                                                                                                                                                           
                               File "/Users/USERNAME/.pyenv/versions/langflow/lib/python3.10/site-packages/langflow/services/utils.py", line 195, in initialize_services                                    
                                 initialize_database(fix_migration=fix_migration)                                                                                                                                    
                               File "/Users/USERNAME/.pyenv/versions/langflow/lib/python3.10/site-packages/langflow/services/database/utils.py", line 52, in initialize_database                            
                                 raise exc                                                                                                                                                                           
                               File "/Users/USERNAME/.pyenv/versions/langflow/lib/python3.10/site-packages/langflow/services/database/utils.py", line 32, in initialize_database                            
                                 database_service.run_migrations(fix=fix_migration)                                                                                                                                  
                               File "/Users/USERNAME/.pyenv/versions/langflow/lib/python3.10/site-packages/langflow/services/database/service.py", line 172, in run_migrations                              
                                 raise RuntimeError(                                                                                                                                                                 
                             RuntimeError: Something went wrong running migrations. Please, run `langflow migration --fix`                                                                                           

                    ERROR    2024-04-11 11:01:37 - ERROR    - on - Application startup failed. Exiting.                                                                                                      on.py:59
[04/11/24 11:01:37] ERROR    2024-04-11 11:01:37 - ERROR    - glogging - Worker (pid:36100) exited with code 3                                                                                        glogging.py:272
                    ERROR    2024-04-11 11:01:37 - ERROR    - glogging - Shutting down: Master                                                                                                        glogging.py:272
                    ERROR    2024-04-11 11:01:37 - ERROR    - glogging - Reason: Worker failed to boot.                                                                                               glogging.py:272
ogabrielluiz commented 7 months ago

Working on it!

msmygit commented 7 months ago

Thank you @ogabrielluiz. Should we re-open this issue or should we open a new one linking to this?

msmygit commented 7 months ago

Performed python -m pip install langflow --pre --force-reinstall -U and then the below, but still received an error:

% python -m langflow run
Starting Langflow v1.0.0a22...
[04/15/24 12:18:29] ERROR    2024-04-15 12:18:29 - ERROR    - service - AutogenerateDiffsDetected: New upgrade operations detected: [[('modify_nullable', None, 'apikey', 'created_at',                service.py:171
                             {'existing_type': DATETIME(), 'existing_server_default': DefaultClause(<sqlalchemy.sql.elements.TextClause object at 0x12812b9d0>, for_update=False), 'existing_comment':               
                             None}, True, False)]]                                                                                                                                                                   
                    ERROR    2024-04-15 12:18:29 - ERROR    - utils - Something went wrong running migrations. Please, run `langflow migration --fix`                                                     utils.py:51
Shutting down Langflow...
                    ERROR    2024-04-15 12:18:29 - ERROR    - on - Traceback (most recent call last):                                                                                                       on.py:121
                               File "/Users/USERNAME/.pyenv/versions/langflow/lib/python3.10/site-packages/starlette/routing.py", line 732, in lifespan                                                     
                                 async with self.lifespan_context(app) as maybe_state:                                                                                                                               
                               File "/Users/USERNAME/.pyenv/versions/3.10.14/lib/python3.10/contextlib.py", line 201, in __aenter__                                                                         
                                 raise RuntimeError("generator didn't yield") from None                                                                                                                              
                             RuntimeError: generator didn't yield                                                                                                                                                    

                    ERROR    2024-04-15 12:18:29 - ERROR    - on - Application startup failed. Exiting.                                                                                                      on.py:59
[04/15/24 12:18:29] ERROR    2024-04-15 12:18:29 - ERROR    - glogging - Worker (pid:66452) exited with code 3                                                                                        glogging.py:272
                    ERROR    2024-04-15 12:18:29 - ERROR    - glogging - Shutting down: Master                                                                                                        glogging.py:272
                    ERROR    2024-04-15 12:18:29 - ERROR    - glogging - Reason: Worker failed to boot.
La-fe commented 7 months ago

Delete the cache file in the "/Users/{YOUR NAME }/Library/Caches/langflow" and try again

msmygit commented 7 months ago

Thanks @La-fe .. and try which step again? OK, let me retry last command above:

Here is what I got:

``` % rm -rf /Users/USERNAME/Library/Caches/langflow (langflow) % pyenv deactivate % pyenv uninstall 3.10.11 pyenv: remove /Users/USERNAME/.pyenv/versions/3.10.11? [y|N] y pyenv-virtualenv: remove /Users/USERNAME/.pyenv/versions/3.10.11/envs/langflow? (y/N) y pyenv: 3.10.11 uninstalled % pyenv install 3.10.14 pyenv: /Users/USERNAME/.pyenv/versions/3.10.14 already exists continue with installation? (y/N) y python-build: use openssl@1.1 from homebrew python-build: use readline from homebrew Installing Python-3.10.14... python-build: use readline from homebrew python-build: use zlib from homebrew Installed Python-3.10.14 to /Users/USERNAME/.pyenv/versions/3.10.14 % pyenv virtualenv 3.10.14 langflow % pyenv activate langflow (langflow) % python -m pip install langflow --pre --force-reinstall -U Collecting langflow Using cached langflow-1.0.0a22-py3-none-any.whl (6.3 kB) Collecting numexpr<3.0.0,>=2.8.6 Using cached numexpr-2.10.0-cp310-cp310-macosx_10_9_x86_64.whl (103 kB) Collecting qdrant-client<2.0.0,>=1.7.0 Using cached qdrant_client-1.8.2-py3-none-any.whl (223 kB) Collecting dspy-ai<3.0.0,>=2.4.0 Using cached dspy_ai-2.4.5-py3-none-any.whl (197 kB) Collecting psycopg-binary<4.0.0,>=3.1.9 Using cached psycopg_binary-3.1.18-cp310-cp310-macosx_10_9_x86_64.whl (3.3 MB) Collecting chromadb<0.5.0,>=0.4.24 Using cached chromadb-0.4.24-py3-none-any.whl (525 kB) Collecting boto3<2.0.0,>=1.34.0 Using cached boto3-1.34.84-py3-none-any.whl (139 kB) Collecting cohere<6.0.0,>=5.1.7 Downloading cohere-5.3.0-py3-none-any.whl (150 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 151.0/151.0 kB 3.8 MB/s eta 0:00:00 Collecting networkx<4.0,>=3.1 Using cached networkx-3.3-py3-none-any.whl (1.7 MB) Collecting psycopg<4.0.0,>=3.1.9 Using cached psycopg-3.1.18-py3-none-any.whl (178 kB) Collecting pyarrow<15.0.0,>=14.0.0 Using cached pyarrow-14.0.2-cp310-cp310-macosx_10_14_x86_64.whl (26.9 MB) Collecting fastavro<2.0.0,>=1.8.0 Using cached fastavro-1.9.4-cp310-cp310-macosx_11_0_x86_64.whl (590 kB) Collecting psycopg2-binary<3.0.0,>=2.9.6 Using cached psycopg2_binary-2.9.9-cp310-cp310-macosx_10_9_x86_64.whl (2.8 MB) Collecting metaphor-python<0.2.0,>=0.1.11 Using cached metaphor_python-0.1.23-py3-none-any.whl (6.1 kB) Collecting pysrt<2.0.0,>=1.1.2 Using cached pysrt-1.1.2-py3-none-any.whl Collecting langchain-anthropic<0.2.0,>=0.1.6 Using cached langchain_anthropic-0.1.8-py3-none-any.whl (15 kB) Collecting weaviate-client Using cached weaviate_client-4.5.5-py3-none-any.whl (306 kB) Collecting langchain-google-genai<2.0.0,>=1.0.1 Using cached langchain_google_genai-1.0.2-py3-none-any.whl (28 kB) Collecting unstructured[md]<0.13.0,>=0.12.4 Using cached unstructured-0.12.6-py3-none-any.whl (1.8 MB) Collecting pytube<16.0.0,>=15.0.0 Using cached pytube-15.0.0-py3-none-any.whl (57 kB) Collecting langchain-astradb<0.2.0,>=0.1.0 Using cached langchain_astradb-0.1.0-py3-none-any.whl (25 kB) Collecting pinecone-client<4.0.0,>=3.0.3 Using cached pinecone_client-3.2.2-py3-none-any.whl (215 kB) Collecting wikipedia<2.0.0,>=1.4.0 Using cached wikipedia-1.4.0-py3-none-any.whl Collecting pyautogen<0.3.0,>=0.2.0 Using cached pyautogen-0.2.24-py3-none-any.whl (252 kB) Collecting langchain-openai<0.2.0,>=0.1.1 Using cached langchain_openai-0.1.3-py3-none-any.whl (33 kB) Collecting types-cachetools<6.0.0.0,>=5.3.0.5 Using cached types_cachetools-5.3.0.7-py3-none-any.whl (3.8 kB) Collecting pgvector<0.3.0,>=0.2.3 Using cached pgvector-0.2.5-py2.py3-none-any.whl (9.6 kB) Collecting supabase<3.0.0,>=2.3.0 Using cached supabase-2.4.2-py3-none-any.whl (15 kB) Collecting langflow-base<0.0.35,>=0.0.34 Using cached langflow_base-0.0.34-py3-none-any.whl (4.3 MB) Collecting metal-sdk<3.0.0,>=2.5.0 Using cached metal_sdk-2.5.1-py3-none-any.whl (14 kB) Collecting huggingface-hub[inference]<0.21.0,>=0.20.0 Using cached huggingface_hub-0.20.3-py3-none-any.whl (330 kB) Collecting qianfan==0.3.5 Using cached qianfan-0.3.5-py3-none-any.whl (304 kB) Collecting html2text<2025.0.0,>=2024.2.26 Using cached html2text-2024.2.26-py3-none-any.whl Collecting langfuse<3.0.0,>=2.9.0 Using cached langfuse-2.26.1-py3-none-any.whl (155 kB) Collecting faiss-cpu<2.0.0,>=1.7.4 Using cached faiss_cpu-1.8.0-cp310-cp310-macosx_10_14_x86_64.whl (7.3 MB) Collecting google-search-results<3.0.0,>=2.4.1 Using cached google_search_results-2.4.2-py3-none-any.whl Collecting beautifulsoup4<5.0.0,>=4.12.2 Using cached beautifulsoup4-4.13.0b2-py3-none-any.whl (179 kB) Collecting litellm<2.0.0,>=1.34.22 Downloading litellm-1.35.8-py3-none-any.whl (4.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.2/4.2 MB 32.1 MB/s eta 0:00:00 Collecting markupsafe<3.0.0,>=2.1.3 Using cached MarkupSafe-2.1.5-cp310-cp310-macosx_10_9_x86_64.whl (14 kB) Collecting pymongo<5.0.0,>=4.6.0 Using cached pymongo-4.6.3-cp310-cp310-macosx_10_9_universal2.whl (534 kB) Collecting certifi<2024.0.0,>=2023.11.17 Using cached certifi-2023.11.17-py3-none-any.whl (162 kB) Collecting assemblyai<0.24.0,>=0.23.1 Using cached assemblyai-0.23.1-py3-none-any.whl (66 kB) Collecting extract-msg<0.48.0,>=0.47.0 Using cached extract_msg-0.47.0-py2.py3-none-any.whl (328 kB) Collecting elasticsearch<9.0.0,>=8.12.0 Using cached elasticsearch-8.13.0-py3-none-any.whl (451 kB) Collecting fake-useragent<2.0.0,>=1.4.0 Using cached fake_useragent-1.5.1-py3-none-any.whl (17 kB) Collecting google-api-python-client<3.0.0,>=2.118.0 Using cached google_api_python_client-2.125.0-py2.py3-none-any.whl (12.5 MB) Collecting langchain-cohere<0.2.0,>=0.1.0rc1 Using cached langchain_cohere-0.1.3rc0-py3-none-any.whl (28 kB) Collecting llama-index<0.11.0,>=0.10.13 Using cached llama_index-0.10.29-py3-none-any.whl (6.9 kB) Collecting requests>=2.24 Using cached requests-2.31.0-py3-none-any.whl (62 kB) Collecting typer>=0.9.0 Using cached typer-0.12.3-py3-none-any.whl (47 kB) Collecting aiohttp>=3.7.0 Using cached aiohttp-3.9.4-cp310-cp310-macosx_10_9_x86_64.whl (400 kB) Collecting aiolimiter>=1.1.0 Using cached aiolimiter-1.1.0-py3-none-any.whl (7.2 kB) Collecting python-dotenv>=1.0 Using cached python_dotenv-1.0.1-py3-none-any.whl (19 kB) Collecting multiprocess Using cached multiprocess-0.70.16-py310-none-any.whl (134 kB) Collecting clevercsv Using cached clevercsv-0.8.2-cp310-cp310-macosx_10_9_x86_64.whl (75 kB) Collecting tenacity<9.0.0,>=8.2.3 Using cached tenacity-8.2.3-py3-none-any.whl (24 kB) Collecting pydantic Using cached pydantic-2.7.0-py3-none-any.whl (407 kB) Collecting numpy>=1.22.0 Using cached numpy-2.0.0rc1-cp310-cp310-macosx_14_0_x86_64.whl (6.9 MB) Collecting python-dateutil<3.0.0,>=2.8.2 Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB) Collecting pyyaml<7.0.0,>=6.0.1 Using cached PyYAML-6.0.1-cp310-cp310-macosx_10_9_x86_64.whl (189 kB) Collecting ijson Using cached ijson-3.2.3-cp310-cp310-macosx_10_9_x86_64.whl (54 kB) Collecting bce-python-sdk>=0.8.79 Using cached bce_python_sdk-0.9.6-py3-none-any.whl (330 kB) Collecting prompt-toolkit>=3.0.38 Using cached prompt_toolkit-3.0.43-py3-none-any.whl (386 kB) Collecting rich>=13.0.0 Using cached rich-13.7.1-py3-none-any.whl (240 kB) Collecting websockets>=11.0 Using cached websockets-12.0-cp310-cp310-macosx_10_9_x86_64.whl (121 kB) Collecting typing-extensions>=3.7 Using cached typing_extensions-4.11.0-py3-none-any.whl (34 kB) Collecting httpx>=0.19.0 Using cached httpx-0.27.0-py3-none-any.whl (75 kB) Collecting soupsieve>1.2 Using cached soupsieve-2.5-py3-none-any.whl (36 kB) Collecting s3transfer<0.11.0,>=0.10.0 Using cached s3transfer-0.10.1-py3-none-any.whl (82 kB) Collecting botocore<1.35.0,>=1.34.84 Using cached botocore-1.34.84-py3-none-any.whl (12.1 MB) Collecting jmespath<2.0.0,>=0.7.1 Using cached jmespath-1.0.1-py3-none-any.whl (20 kB) Collecting grpcio>=1.58.0 Using cached grpcio-1.63.0rc1-cp310-cp310-macosx_12_0_universal2.whl (10.1 MB) Collecting opentelemetry-sdk>=1.2.0 Using cached opentelemetry_sdk-1.24.0-py3-none-any.whl (106 kB) Collecting pulsar-client>=3.1.0 Using cached pulsar_client-3.5.0-cp310-cp310-macosx_10_15_universal2.whl (11.0 MB) Collecting fastapi>=0.95.2 Using cached fastapi-0.110.1-py3-none-any.whl (91 kB) Collecting importlib-resources Using cached importlib_resources-6.4.0-py3-none-any.whl (38 kB) Collecting tokenizers>=0.13.2 Using cached tokenizers-0.16.0rc1-cp310-cp310-macosx_10_12_x86_64.whl (2.5 MB) Collecting mmh3>=4.0.1 Using cached mmh3-4.1.0-cp310-cp310-macosx_10_9_x86_64.whl (29 kB) Collecting tqdm>=4.65.0 Using cached tqdm-4.66.2-py3-none-any.whl (78 kB) Collecting opentelemetry-api>=1.2.0 Using cached opentelemetry_api-1.24.0-py3-none-any.whl (60 kB) Collecting onnxruntime>=1.14.1 Using cached onnxruntime-1.17.3-cp310-cp310-macosx_11_0_universal2.whl (14.8 MB) Collecting overrides>=7.3.1 Using cached overrides-7.7.0-py3-none-any.whl (17 kB) Collecting posthog>=2.4.0 Using cached posthog-3.5.0-py2.py3-none-any.whl (41 kB) Collecting kubernetes>=28.1.0 Using cached kubernetes-29.0.0-py2.py3-none-any.whl (1.6 MB) Collecting uvicorn[standard]>=0.18.3 Using cached uvicorn-0.29.0-py3-none-any.whl (60 kB) Collecting build>=1.0.3 Using cached build-1.2.1-py3-none-any.whl (21 kB) Collecting pypika>=0.48.9 Using cached PyPika-0.48.9-py2.py3-none-any.whl Collecting opentelemetry-instrumentation-fastapi>=0.41b0 Using cached opentelemetry_instrumentation_fastapi-0.45b0-py3-none-any.whl (11 kB) Collecting chroma-hnswlib==0.7.3 Using cached chroma_hnswlib-0.7.3-cp310-cp310-macosx_10_9_x86_64.whl (219 kB) Collecting opentelemetry-exporter-otlp-proto-grpc>=1.2.0 Using cached opentelemetry_exporter_otlp_proto_grpc-1.24.0-py3-none-any.whl (18 kB) Collecting orjson>=3.9.12 Downloading orjson-3.10.1-cp310-cp310-macosx_10_15_x86_64.macosx_11_0_arm64.macosx_10_15_universal2.whl (250 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 250.6/250.6 kB 8.0 MB/s eta 0:00:00 Collecting bcrypt>=4.0.1 Using cached bcrypt-4.1.2-cp39-abi3-macosx_10_12_universal2.whl (528 kB) Collecting tokenizers>=0.13.2 Using cached tokenizers-0.15.2-cp310-cp310-macosx_10_12_x86_64.whl (2.6 MB) Collecting types-requests<3.0.0,>=2.0.0 Using cached types_requests-2.31.0.20240406-py3-none-any.whl (15 kB) Collecting ujson Using cached ujson-5.9.0-cp310-cp310-macosx_10_9_x86_64.whl (57 kB) Collecting joblib~=1.3.2 Using cached joblib-1.3.2-py3-none-any.whl (302 kB) Collecting optuna Using cached optuna-3.6.1-py3-none-any.whl (380 kB) Collecting pydantic Using cached pydantic-2.5.0-py3-none-any.whl (407 kB) Collecting regex Using cached regex-2023.12.25-cp310-cp310-macosx_10_9_x86_64.whl (296 kB) Collecting backoff~=2.2.1 Using cached backoff-2.2.1-py3-none-any.whl (15 kB) Collecting pandas Using cached pandas-2.2.2-cp310-cp310-macosx_10_9_x86_64.whl (12.6 MB) Collecting openai<2.0.0,>=0.28.1 Downloading openai-1.19.0-py3-none-any.whl (292 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 292.8/292.8 kB 10.2 MB/s eta 0:00:00 Collecting datasets<3.0.0,~=2.14.6 Using cached datasets-2.14.7-py3-none-any.whl (520 kB) Collecting annotated-types>=0.4.0 Using cached annotated_types-0.6.0-py3-none-any.whl (12 kB) Collecting pydantic-core==2.14.1 Using cached pydantic_core-2.14.1-cp310-cp310-macosx_10_7_x86_64.whl (1.9 MB) Collecting elastic-transport<9,>=8.13 Using cached elastic_transport-8.13.0-py3-none-any.whl (64 kB) Collecting ebcdic<2,>=1.1.1 Using cached ebcdic-1.1.1-py2.py3-none-any.whl (128 kB) Collecting olefile==0.47 Using cached olefile-0.47-py2.py3-none-any.whl (114 kB) Collecting compressed-rtf<2,>=1.0.6 Using cached compressed_rtf-1.0.6-py3-none-any.whl Collecting RTFDE<0.2,>=0.1.1 Using cached RTFDE-0.1.1-py3-none-any.whl (36 kB) Collecting tzlocal<6,>=4.2 Using cached tzlocal-5.2-py3-none-any.whl (17 kB) Collecting beautifulsoup4<5.0.0,>=4.12.2 Using cached beautifulsoup4-4.12.3-py3-none-any.whl (147 kB) Collecting red-black-tree-mod==1.20 Using cached red_black_tree_mod-1.20-py3-none-any.whl Collecting google-auth-httplib2<1.0.0,>=0.2.0 Using cached google_auth_httplib2-0.2.0-py2.py3-none-any.whl (9.3 kB) Collecting google-api-core!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0,<3.0.0.dev0,>=1.31.5 Using cached google_api_core-2.18.0-py3-none-any.whl (138 kB) Collecting httplib2<1.dev0,>=0.19.0 Using cached httplib2-0.22.0-py3-none-any.whl (96 kB) Collecting uritemplate<5,>=3.0.1 Using cached uritemplate-4.1.1-py2.py3-none-any.whl (10 kB) Collecting google-auth!=2.24.0,!=2.25.0,<3.0.0.dev0,>=1.32.0 Using cached google_auth-2.29.0-py2.py3-none-any.whl (189 kB) Collecting filelock Using cached filelock-3.13.4-py3-none-any.whl (11 kB) Collecting fsspec>=2023.5.0 Using cached fsspec-2024.3.1-py3-none-any.whl (171 kB) Collecting packaging>=20.9 Using cached packaging-24.0-py3-none-any.whl (53 kB) Collecting anthropic<1,>=0.23.0 Using cached anthropic-0.25.2-py3-none-any.whl (870 kB) Collecting defusedxml<0.8.0,>=0.7.1 Using cached defusedxml-0.7.1-py2.py3-none-any.whl (25 kB) Collecting langchain-core<0.2.0,>=0.1.42 Downloading langchain_core-0.1.43-py3-none-any.whl (289 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 289.1/289.1 kB 5.5 MB/s eta 0:00:00 Collecting numpy>=1.22.0 Using cached numpy-1.26.4-cp310-cp310-macosx_10_9_x86_64.whl (20.6 MB) Collecting astrapy<0.8.0,>=0.7.7 Using cached astrapy-0.7.7-py3-none-any.whl (32 kB) Collecting cohere<6.0.0,>=5.1.7 Using cached cohere-5.1.8-py3-none-any.whl (145 kB) Collecting google-generativeai<0.6.0,>=0.5.0 Using cached google_generativeai-0.5.0-py3-none-any.whl (142 kB) Collecting tiktoken<1,>=0.5.2 Using cached tiktoken-0.6.0-cp310-cp310-macosx_10_9_x86_64.whl (999 kB) Collecting cryptography<43.0.0,>=42.0.5 Using cached cryptography-42.0.5-cp39-abi3-macosx_10_12_universal2.whl (5.9 MB) Collecting duckdb<0.10.0,>=0.9.2 Using cached duckdb-0.9.2-cp310-cp310-macosx_10_9_x86_64.whl (15.3 MB) Collecting python-jose<4.0.0,>=3.3.0 Using cached python_jose-3.3.0-py2.py3-none-any.whl (33 kB) Collecting emoji<3.0.0,>=2.11.0 Using cached emoji-2.11.0-py2.py3-none-any.whl (433 kB) Collecting orjson>=3.9.12 Using cached orjson-3.10.0-cp310-cp310-macosx_10_15_x86_64.macosx_11_0_arm64.macosx_10_15_universal2.whl (252 kB) Collecting jq<2.0.0,>=1.7.0 Using cached jq-1.7.0-cp310-cp310-macosx_10_9_x86_64.whl (407 kB) Collecting platformdirs<5.0.0,>=4.2.0 Using cached platformdirs-4.2.0-py3-none-any.whl (17 kB) Collecting alembic<2.0.0,>=1.13.0 Using cached alembic-1.13.1-py3-none-any.whl (233 kB) Collecting gunicorn<22.0.0,>=21.2.0 Using cached gunicorn-21.2.0-py3-none-any.whl (80 kB) Collecting nest-asyncio<2.0.0,>=1.6.0 Using cached nest_asyncio-1.6.0-py3-none-any.whl (5.2 kB) Collecting bcrypt>=4.0.1 Using cached bcrypt-4.0.1-cp36-abi3-macosx_10_10_universal2.whl (473 kB) Collecting docstring-parser<0.16,>=0.15 Using cached docstring_parser-0.15-py3-none-any.whl (36 kB) Collecting cachetools<6.0.0,>=5.3.1 Using cached cachetools-5.3.3-py3-none-any.whl (9.3 kB) Collecting pillow<11.0.0,>=10.2.0 Using cached pillow-10.3.0-cp310-cp310-macosx_10_10_x86_64.whl (3.5 MB) Collecting python-docx<2.0.0,>=1.1.0 Using cached python_docx-1.1.0-py3-none-any.whl (239 kB) Collecting pandas Using cached pandas-2.2.0-cp310-cp310-macosx_10_9_x86_64.whl (12.5 MB) Collecting sqlmodel<0.0.17,>=0.0.16 Using cached sqlmodel-0.0.16-py3-none-any.whl (26 kB) Collecting langchain<0.2.0,>=0.1.16 Using cached langchain-0.1.16-py3-none-any.whl (817 kB) Collecting python-multipart<0.0.8,>=0.0.7 Using cached python_multipart-0.0.7-py3-none-any.whl (22 kB) Collecting pydantic-settings<3.0.0,>=2.1.0 Using cached pydantic_settings-2.2.1-py3-none-any.whl (13 kB) Collecting asyncer<0.0.6,>=0.0.5 Using cached asyncer-0.0.5-py3-none-any.whl (8.4 kB) Collecting langchain-experimental Using cached langchain_experimental-0.0.57-py3-none-any.whl (193 kB) Collecting passlib<2.0.0,>=1.7.4 Using cached passlib-1.7.4-py2.py3-none-any.whl (525 kB) Collecting python-socketio<6.0.0,>=5.11.0 Using cached python_socketio-5.11.2-py3-none-any.whl (75 kB) Collecting pypdf<5.0.0,>=4.1.0 Using cached pypdf-4.2.0-py3-none-any.whl (290 kB) Collecting loguru<0.8.0,>=0.7.1 Using cached loguru-0.7.2-py3-none-any.whl (62 kB) Collecting pytz>=2020.1 Using cached pytz-2024.1-py2.py3-none-any.whl (505 kB) Collecting tzdata>=2022.7 Using cached tzdata-2024.1-py2.py3-none-any.whl (345 kB) Collecting wrapt<2.0,>=1.14 Using cached wrapt-1.16.0-cp310-cp310-macosx_10_9_x86_64.whl (37 kB) Collecting packaging>=20.9 Using cached packaging-23.2-py3-none-any.whl (53 kB) Collecting jinja2<4.0.0,>=3.1.2 Using cached Jinja2-3.1.3-py3-none-any.whl (133 kB) Collecting click Using cached click-8.1.7-py3-none-any.whl (97 kB) Collecting importlib-metadata>=6.8.0 Using cached importlib_metadata-7.1.0-py3-none-any.whl (24 kB) Collecting llama-index-core<0.11.0,>=0.10.29 Using cached llama_index_core-0.10.29-py3-none-any.whl (15.4 MB) Collecting llama-index-readers-file<0.2.0,>=0.1.4 Downloading llama_index_readers_file-0.1.19-py3-none-any.whl (36 kB) Collecting llama-index-readers-llama-parse<0.2.0,>=0.1.2 Using cached llama_index_readers_llama_parse-0.1.4-py3-none-any.whl (2.5 kB) Collecting llama-index-indices-managed-llama-cloud<0.2.0,>=0.1.2 Using cached llama_index_indices_managed_llama_cloud-0.1.5-py3-none-any.whl (6.7 kB) Collecting llama-index-program-openai<0.2.0,>=0.1.3 Using cached llama_index_program_openai-0.1.5-py3-none-any.whl (4.1 kB) Collecting llama-index-llms-openai<0.2.0,>=0.1.13 Using cached llama_index_llms_openai-0.1.15-py3-none-any.whl (10 kB) Collecting llama-index-agent-openai<0.3.0,>=0.1.4 Using cached llama_index_agent_openai-0.2.2-py3-none-any.whl (12 kB) Collecting llama-index-embeddings-openai<0.2.0,>=0.1.5 Using cached llama_index_embeddings_openai-0.1.7-py3-none-any.whl (6.0 kB) Collecting llama-index-multi-modal-llms-openai<0.2.0,>=0.1.3 Using cached llama_index_multi_modal_llms_openai-0.1.5-py3-none-any.whl (5.8 kB) Collecting llama-index-question-gen-openai<0.2.0,>=0.1.2 Using cached llama_index_question_gen_openai-0.1.3-py3-none-any.whl (2.9 kB) Collecting llama-index-legacy<0.10.0,>=0.9.48 Using cached llama_index_legacy-0.9.48-py3-none-any.whl (2.0 MB) Collecting llama-index-cli<0.2.0,>=0.1.2 Using cached llama_index_cli-0.1.11-py3-none-any.whl (26 kB) Collecting urllib3>=1.26.0 Using cached urllib3-2.2.1-py3-none-any.whl (121 kB) Collecting flaml Using cached FLAML-2.1.2-py3-none-any.whl (296 kB) Collecting termcolor Using cached termcolor-2.4.0-py3-none-any.whl (7.7 kB) Collecting diskcache Using cached diskcache-5.6.3-py3-none-any.whl (45 kB) Collecting docker Using cached docker-7.0.0-py3-none-any.whl (147 kB) Collecting dnspython<3.0.0,>=1.16.0 Using cached dnspython-2.6.1-py3-none-any.whl (307 kB) Collecting chardet Using cached chardet-5.2.0-py3-none-any.whl (199 kB) Collecting portalocker<3.0.0,>=2.7.0 Using cached portalocker-2.8.2-py3-none-any.whl (17 kB) Collecting grpcio-tools>=1.41.0 Using cached grpcio_tools-1.63.0rc1-cp310-cp310-macosx_12_0_universal2.whl (5.1 MB) Collecting postgrest<0.17.0,>=0.14 Using cached postgrest-0.16.3-py3-none-any.whl (20 kB) Collecting gotrue<3.0,>=1.3 Using cached gotrue-2.4.2-py3-none-any.whl (44 kB) Collecting supafunc<0.5.0,>=0.3.1 Using cached supafunc-0.4.5-py3-none-any.whl (6.1 kB) Collecting storage3<0.8.0,>=0.5.3 Using cached storage3-0.7.4-py3-none-any.whl (15 kB) Collecting realtime<2.0.0,>=1.0.0 Using cached realtime-1.0.4-py3-none-any.whl (8.9 kB) Collecting unstructured-client==0.18.0 Using cached unstructured_client-0.18.0-py3-none-any.whl (21 kB) Collecting python-magic==0.4.27 Using cached python_magic-0.4.27-py2.py3-none-any.whl (13 kB) Collecting marshmallow==3.20.2 Using cached marshmallow-3.20.2-py3-none-any.whl (49 kB) Collecting nltk==3.8.1 Using cached nltk-3.8.1-py3-none-any.whl (1.5 MB) Collecting idna==3.6 Using cached idna-3.6-py3-none-any.whl (61 kB) Collecting lxml==5.1.0 Using cached lxml-5.1.0-cp310-cp310-macosx_10_9_x86_64.whl (4.7 MB) Collecting dataclasses-json==0.6.4 Using cached dataclasses_json-0.6.4-py3-none-any.whl (28 kB) Collecting tabulate==0.9.0 Using cached tabulate-0.9.0-py3-none-any.whl (35 kB) Collecting typing-inspect==0.9.0 Using cached typing_inspect-0.9.0-py3-none-any.whl (8.8 kB) Collecting langdetect==1.0.9 Using cached langdetect-1.0.9-py3-none-any.whl Collecting unstructured[md]<0.13.0,>=0.12.4 Using cached unstructured-0.12.5-py3-none-any.whl (1.8 MB) Collecting rapidfuzz Using cached rapidfuzz-3.8.1-cp310-cp310-macosx_10_9_x86_64.whl (2.8 MB) Collecting lxml Using cached lxml-5.2.1-cp310-cp310-macosx_10_9_x86_64.whl (4.6 MB) Collecting unstructured-client>=0.15.1 Using cached unstructured_client-0.22.0-py3-none-any.whl (28 kB) Collecting python-iso639 Using cached python_iso639-2024.2.7-py3-none-any.whl (274 kB) Collecting filetype Using cached filetype-1.2.0-py2.py3-none-any.whl (19 kB) Collecting markdown Using cached Markdown-3.6-py3-none-any.whl (105 kB) Collecting grpcio-health-checking<2.0.0,>=1.57.0 Using cached grpcio_health_checking-1.63.0rc1-py3-none-any.whl (18 kB) Collecting authlib<2.0.0,>=1.2.1 Using cached Authlib-1.3.0-py2.py3-none-any.whl (223 kB) Collecting validators==0.22.0 Using cached validators-0.22.0-py3-none-any.whl (26 kB) Collecting sniffio Using cached sniffio-1.3.1-py3-none-any.whl (10 kB) Collecting idna Using cached idna-3.7-py3-none-any.whl (66 kB) Collecting httpcore==1.* Using cached httpcore-1.0.5-py3-none-any.whl (77 kB) Collecting anyio Using cached anyio-4.3.0-py3-none-any.whl (85 kB) Collecting h11<0.15,>=0.13 Using cached h11-0.14.0-py3-none-any.whl (58 kB) Collecting async-timeout<5.0,>=4.0 Using cached async_timeout-4.0.3-py3-none-any.whl (5.7 kB) Collecting aiosignal>=1.1.2 Using cached aiosignal-1.3.1-py3-none-any.whl (7.6 kB) Collecting multidict<7.0,>=4.5 Using cached multidict-6.0.5-cp310-cp310-macosx_10_9_x86_64.whl (30 kB) Collecting attrs>=17.3.0 Using cached attrs-23.2.0-py3-none-any.whl (60 kB) Collecting yarl<2.0,>=1.0 Using cached yarl-1.9.4-cp310-cp310-macosx_10_9_x86_64.whl (81 kB) Collecting frozenlist>=1.1.1 Using cached frozenlist-1.4.1-cp310-cp310-macosx_10_9_x86_64.whl (53 kB) Collecting Mako Using cached Mako-1.3.3-py3-none-any.whl (78 kB) Collecting SQLAlchemy>=1.3.0 Using cached SQLAlchemy-2.0.29-cp310-cp310-macosx_10_9_x86_64.whl (2.1 MB) Collecting distro<2,>=1.7.0 Using cached distro-1.9.0-py3-none-any.whl (20 kB) Collecting deprecation<2.2.0,>=2.1.0 Using cached deprecation-2.1.0-py2.py3-none-any.whl (11 kB) Collecting cassio<0.2.0,>=0.1.4 Using cached cassio-0.1.5-py3-none-any.whl (41 kB) Collecting toml<0.11.0,>=0.10.2 Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB) Collecting six>=1.4.0 Using cached six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting future>=0.6.0 Using cached future-1.0.0-py3-none-any.whl (491 kB) Collecting pycryptodome>=3.8.0 Using cached pycryptodome-3.20.0-cp35-abi3-macosx_10_9_x86_64.whl (1.6 MB) Collecting tomli>=1.1.0 Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting pyproject_hooks Using cached pyproject_hooks-1.0.0-py3-none-any.whl (9.3 kB) Collecting cffi>=1.12 Using cached cffi-1.16.0-cp310-cp310-macosx_10_9_x86_64.whl (182 kB) Collecting xxhash Using cached xxhash-3.4.1-cp310-cp310-macosx_10_9_x86_64.whl (31 kB) Collecting fsspec[http]<=2023.10.0,>=2023.1.0 Using cached fsspec-2023.10.0-py3-none-any.whl (166 kB) Collecting dill<0.3.8,>=0.3.0 Using cached dill-0.3.7-py3-none-any.whl (115 kB) Collecting pyarrow-hotfix Using cached pyarrow_hotfix-0.6-py3-none-any.whl (7.9 kB) Collecting starlette<0.38.0,>=0.37.2 Using cached starlette-0.37.2-py3-none-any.whl (71 kB) Collecting googleapis-common-protos<2.0.dev0,>=1.56.2 Using cached googleapis_common_protos-1.63.0-py2.py3-none-any.whl (229 kB) Collecting protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0.dev0,>=3.19.5 Using cached protobuf-4.25.3-cp37-abi3-macosx_10_9_universal2.whl (394 kB) Collecting proto-plus<2.0.0dev,>=1.22.3 Using cached proto_plus-1.24.0.dev0-py3-none-any.whl (49 kB) Collecting pyasn1-modules>=0.2.1 Using cached pyasn1_modules-0.4.0-py3-none-any.whl (181 kB) Collecting rsa<5,>=3.1.4 Using cached rsa-4.9-py3-none-any.whl (34 kB) Collecting google-ai-generativelanguage==0.6.1 Using cached google_ai_generativelanguage-0.6.1-py3-none-any.whl (663 kB) Collecting setuptools Using cached setuptools-69.5.1-py3-none-any.whl (894 kB) Collecting pyparsing!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3,<4,>=2.4.2 Using cached pyparsing-3.1.2-py3-none-any.whl (103 kB) Collecting h2<5,>=3 Using cached h2-4.1.0-py3-none-any.whl (57 kB) Collecting zipp>=0.5 Using cached zipp-3.18.1-py3-none-any.whl (8.2 kB) Collecting requests-oauthlib Using cached requests_oauthlib-2.0.0-py2.py3-none-any.whl (24 kB) Collecting websocket-client!=0.40.0,!=0.41.*,!=0.42.*,>=0.32.0 Using cached websocket_client-1.7.0-py3-none-any.whl (58 kB) Collecting oauthlib>=3.2.2 Using cached oauthlib-3.2.2-py3-none-any.whl (151 kB) Collecting langchain-community<0.1,>=0.0.32 Downloading langchain_community-0.0.33-py3-none-any.whl (1.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.9/1.9 MB 24.2 MB/s eta 0:00:00 Collecting jsonpatch<2.0,>=1.33 Using cached jsonpatch-1.33-py2.py3-none-any.whl (12 kB) Collecting langchain-text-splitters<0.1,>=0.0.1 Using cached langchain_text_splitters-0.0.1-py3-none-any.whl (21 kB) Collecting langsmith<0.2.0,>=0.1.17 Downloading langsmith-0.1.48-py3-none-any.whl (113 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 113.7/113.7 kB 4.2 MB/s eta 0:00:00 Collecting marshmallow<4.0.0,>=3.18.0 Using cached marshmallow-3.21.1-py3-none-any.whl (49 kB) Collecting deprecated>=1.2.9.3 Using cached Deprecated-1.2.14-py2.py3-none-any.whl (9.6 kB) Collecting llamaindex-py-client<0.2.0,>=0.1.18 Using cached llamaindex_py_client-0.1.18-py3-none-any.whl (136 kB) Collecting dirtyjson<2.0.0,>=1.0.8 Using cached dirtyjson-1.0.8-py3-none-any.whl (25 kB) Collecting striprtf<0.0.27,>=0.0.26 Using cached striprtf-0.0.26-py3-none-any.whl (6.9 kB) Collecting llama-parse<0.5.0,>=0.4.0 Using cached llama_parse-0.4.1-py3-none-any.whl (7.3 kB) Collecting multiprocess Using cached multiprocess-0.70.15-py310-none-any.whl (134 kB) Collecting coloredlogs Using cached coloredlogs-15.0.1-py2.py3-none-any.whl (46 kB) Collecting flatbuffers Using cached flatbuffers-24.3.25-py2.py3-none-any.whl (26 kB) Collecting sympy Using cached sympy-1.12.1rc1-py3-none-any.whl (5.7 MB) Collecting importlib-metadata>=6.8.0 Using cached importlib_metadata-7.0.0-py3-none-any.whl (23 kB) Collecting opentelemetry-proto==1.24.0 Using cached opentelemetry_proto-1.24.0-py3-none-any.whl (50 kB) Collecting opentelemetry-exporter-otlp-proto-common==1.24.0 Using cached opentelemetry_exporter_otlp_proto_common-1.24.0-py3-none-any.whl (17 kB) Collecting opentelemetry-util-http==0.45b0 Using cached opentelemetry_util_http-0.45b0-py3-none-any.whl (6.9 kB) Collecting opentelemetry-instrumentation-asgi==0.45b0 Using cached opentelemetry_instrumentation_asgi-0.45b0-py3-none-any.whl (14 kB) Collecting opentelemetry-semantic-conventions==0.45b0 Using cached opentelemetry_semantic_conventions-0.45b0-py3-none-any.whl (36 kB) Collecting opentelemetry-instrumentation==0.45b0 Using cached opentelemetry_instrumentation-0.45b0-py3-none-any.whl (28 kB) Collecting asgiref~=3.0 Using cached asgiref-3.8.1-py3-none-any.whl (23 kB) Collecting strenum<0.5.0,>=0.4.9 Using cached StrEnum-0.4.15-py3-none-any.whl (8.9 kB) Collecting monotonic>=1.5 Using cached monotonic-1.6-py2.py3-none-any.whl (8.2 kB) Collecting wcwidth Using cached wcwidth-0.2.13-py2.py3-none-any.whl (34 kB) Collecting pyasn1 Using cached pyasn1-0.6.0-py2.py3-none-any.whl (85 kB) Collecting ecdsa!=0.15 Using cached ecdsa-0.19.0-py2.py3-none-any.whl (149 kB) Collecting python-engineio>=4.8.0 Using cached python_engineio-4.9.0-py3-none-any.whl (57 kB) Collecting bidict>=0.21.0 Using cached bidict-0.23.1-py3-none-any.whl (32 kB) Collecting charset-normalizer<4,>=2 Using cached charset_normalizer-3.3.2-cp310-cp310-macosx_10_9_x86_64.whl (122 kB) Collecting markdown-it-py>=2.2.0 Using cached markdown_it_py-3.0.0-py3-none-any.whl (87 kB) Collecting pygments<3.0.0,>=2.13.0 Using cached pygments-2.17.2-py3-none-any.whl (1.2 MB) Collecting oletools>=0.56 Using cached oletools-0.60.1-py2.py3-none-any.whl (977 kB) Collecting lark==1.1.8 Using cached lark-1.1.8-py3-none-any.whl (111 kB) Collecting shellingham>=1.3.0 Using cached shellingham-1.5.4-py2.py3-none-any.whl (9.8 kB) Collecting mypy-extensions>=1.0.0 Using cached mypy_extensions-1.0.0-py3-none-any.whl (4.7 kB) Collecting jsonpath-python>=1.0.6 Using cached jsonpath_python-1.0.6-py3-none-any.whl (7.6 kB) Collecting deepdiff>=6.0 Using cached deepdiff-7.0.1-py3-none-any.whl (80 kB) Collecting watchfiles>=0.13 Using cached watchfiles-0.21.0-cp310-cp310-macosx_10_7_x86_64.whl (428 kB) Collecting httptools>=0.5.0 Using cached httptools-0.6.1-cp310-cp310-macosx_10_9_x86_64.whl (77 kB) Collecting uvloop!=0.15.0,!=0.15.1,>=0.14.0 Using cached uvloop-0.19.0-cp310-cp310-macosx_10_9_x86_64.whl (793 kB) Collecting colorlog Using cached colorlog-6.8.2-py3-none-any.whl (11 kB) Collecting exceptiongroup>=1.0.2 Using cached exceptiongroup-1.2.0-py3-none-any.whl (16 kB) Collecting cassandra-driver>=3.28.0 Using cached cassandra_driver-3.29.1-cp310-cp310-macosx_10_9_x86_64.whl (3.7 MB) Collecting pycparser Using cached pycparser-2.22-py3-none-any.whl (117 kB) Collecting ordered-set<4.2.0,>=4.1.0 Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting hyperframe<7,>=6.0 Using cached hyperframe-6.0.1-py3-none-any.whl (12 kB) Collecting hpack<5,>=4.0 Using cached hpack-4.0.0-py3-none-any.whl (32 kB) Collecting jsonpointer>=1.9 Using cached jsonpointer-2.4-py2.py3-none-any.whl (7.8 kB) Collecting mdurl~=0.1 Using cached mdurl-0.1.2-py3-none-any.whl (10.0 kB) Collecting pcodedmp>=1.2.5 Using cached pcodedmp-1.2.6-py2.py3-none-any.whl (30 kB) Collecting msoffcrypto-tool Using cached msoffcrypto_tool-5.3.1-py3-none-any.whl (46 kB) Collecting easygui Using cached easygui-0.98.3-py2.py3-none-any.whl (92 kB) Collecting colorclass Using cached colorclass-2.2.2-py2.py3-none-any.whl (18 kB) Collecting pyparsing!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3,<4,>=2.4.2 Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB) Collecting simple-websocket>=0.10.0 Using cached simple_websocket-1.0.0-py3-none-any.whl (13 kB) Collecting greenlet!=0.4.17 Using cached greenlet-3.0.3-cp310-cp310-macosx_11_0_universal2.whl (270 kB) Collecting humanfriendly>=9.1 Using cached humanfriendly-10.0-py2.py3-none-any.whl (86 kB) Collecting mpmath<1.4.0,>=1.1.0 Using cached mpmath-1.3.0-py3-none-any.whl (536 kB) Collecting geomet<0.3,>=0.1 Using cached geomet-0.2.1.post1-py3-none-any.whl (18 kB) Collecting grpcio-status<2.0.dev0,>=1.33.2 Using cached grpcio_status-1.63.0rc1-py3-none-any.whl (14 kB) Collecting wsproto Using cached wsproto-1.2.0-py3-none-any.whl (24 kB) Installing collected packages: wcwidth, striprtf, strenum, red-black-tree-mod, pytz, pypika, passlib, mpmath, monotonic, mmh3, ijson, flatbuffers, filetype, fake-useragent, ebcdic, easygui, dirtyjson, compressed-rtf, zipp, xxhash, wrapt, websockets, websocket-client, validators, uvloop, urllib3, uritemplate, ujson, tzlocal, tzdata, typing-extensions, types-cachetools, tqdm, tomli, toml, termcolor, tenacity, tabulate, sympy, soupsieve, sniffio, six, shellingham, setuptools, regex, rapidfuzz, pyyaml, pytube, python-multipart, python-magic, python-iso639, python-dotenv, pyparsing, pygments, pycryptodome, pycparser, pyasn1, pyarrow-hotfix, psycopg2-binary, psycopg-binary, protobuf, prompt-toolkit, portalocker, platformdirs, pillow, packaging, overrides, orjson, ordered-set, opentelemetry-util-http, opentelemetry-semantic-conventions, olefile, oauthlib, numpy, networkx, nest-asyncio, mypy-extensions, multidict, mdurl, markupsafe, markdown, lxml, loguru, lark, jsonpointer, jsonpath-python, jq, joblib, jmespath, importlib-resources, idna, hyperframe, humanfriendly, httptools, html2text, hpack, h11, grpcio, greenlet, future, fsspec, frozenlist, filelock, fastavro, exceptiongroup, emoji, duckdb, docstring-parser, dnspython, distro, diskcache, dill, defusedxml, colorlog, colorclass, click, charset-normalizer, chardet, certifi, cachetools, bidict, bcrypt, backoff, attrs, async-timeout, annotated-types, aiolimiter, yarl, wsproto, uvicorn, typing-inspect, types-requests, SQLAlchemy, rsa, requests, python-docx, python-dateutil, pysrt, pyproject_hooks, pypdf, pymongo, pydantic-core, pyasn1-modules, pyarrow, pulsar-client, psycopg, proto-plus, pinecone-client, pgvector, opentelemetry-proto, numexpr, nltk, multiprocess, marshmallow, markdown-it-py, Mako, langdetect, jsonpatch, jinja2, importlib-metadata, httplib2, httpcore, h2, gunicorn, grpcio-tools, grpcio-health-checking, googleapis-common-protos, geomet, flaml, faiss-cpu, elastic-transport, ecdsa, deprecation, deprecated, deepdiff, coloredlogs, clevercsv, chroma-hnswlib, cffi, beautifulsoup4, bce-python-sdk, asgiref, anyio, aiosignal, wikipedia, watchfiles, tiktoken, starlette, simple-websocket, rich, requests-oauthlib, realtime, python-jose, pydantic, posthog, pandas, opentelemetry-exporter-otlp-proto-common, opentelemetry-api, onnxruntime, metaphor-python, huggingface-hub, httpx, grpcio-status, google-search-results, google-auth, elasticsearch, docker, dataclasses-json, cryptography, cassandra-driver, build, botocore, asyncer, alembic, aiohttp, unstructured-client, typer, tokenizers, supafunc, storage3, sqlmodel, s3transfer, python-engineio, pydantic-settings, postgrest, optuna, opentelemetry-sdk, opentelemetry-instrumentation, openai, msoffcrypto-tool, metal-sdk, llamaindex-py-client, langsmith, langfuse, kubernetes, gotrue, google-auth-httplib2, google-api-core, fastapi, cohere, cassio, authlib, assemblyai, weaviate-client, unstructured, supabase, qianfan, qdrant-client, python-socketio, pyautogen, opentelemetry-instrumentation-asgi, opentelemetry-exporter-otlp-proto-grpc, llama-index-legacy, llama-index-core, litellm, langchain-core, google-api-python-client, datasets, boto3, astrapy, anthropic, opentelemetry-instrumentation-fastapi, llama-parse, llama-index-readers-file, llama-index-llms-openai, llama-index-indices-managed-llama-cloud, llama-index-embeddings-openai, langchain-text-splitters, langchain-openai, langchain-community, langchain-cohere, langchain-astradb, langchain-anthropic, google-ai-generativelanguage, dspy-ai, llama-index-readers-llama-parse, llama-index-multi-modal-llms-openai, llama-index-cli, llama-index-agent-openai, langchain, google-generativeai, chromadb, llama-index-program-openai, langchain-google-genai, langchain-experimental, llama-index-question-gen-openai, langflow-base, llama-index, pcodedmp, oletools, RTFDE, extract-msg, langflow Attempting uninstall: setuptools Found existing installation: setuptools 65.5.0 Uninstalling setuptools-65.5.0: Successfully uninstalled setuptools-65.5.0 Successfully installed Mako-1.3.3 RTFDE-0.1.1 SQLAlchemy-2.0.29 aiohttp-3.9.4 aiolimiter-1.1.0 aiosignal-1.3.1 alembic-1.13.1 annotated-types-0.6.0 anthropic-0.25.2 anyio-4.3.0 asgiref-3.8.1 assemblyai-0.23.1 astrapy-0.7.7 async-timeout-4.0.3 asyncer-0.0.5 attrs-23.2.0 authlib-1.3.0 backoff-2.2.1 bce-python-sdk-0.9.6 bcrypt-4.0.1 beautifulsoup4-4.12.3 bidict-0.23.1 boto3-1.34.84 botocore-1.34.84 build-1.2.1 cachetools-5.3.3 cassandra-driver-3.29.1 cassio-0.1.5 certifi-2023.11.17 cffi-1.16.0 chardet-5.2.0 charset-normalizer-3.3.2 chroma-hnswlib-0.7.3 chromadb-0.4.24 clevercsv-0.8.2 click-8.1.7 cohere-5.1.8 colorclass-2.2.2 coloredlogs-15.0.1 colorlog-6.8.2 compressed-rtf-1.0.6 cryptography-42.0.5 dataclasses-json-0.6.4 datasets-2.14.7 deepdiff-7.0.1 defusedxml-0.7.1 deprecated-1.2.14 deprecation-2.1.0 dill-0.3.7 dirtyjson-1.0.8 diskcache-5.6.3 distro-1.9.0 dnspython-2.6.1 docker-7.0.0 docstring-parser-0.15 dspy-ai-2.4.5 duckdb-0.9.2 easygui-0.98.3 ebcdic-1.1.1 ecdsa-0.19.0 elastic-transport-8.13.0 elasticsearch-8.13.0 emoji-2.11.0 exceptiongroup-1.2.0 extract-msg-0.47.0 faiss-cpu-1.8.0 fake-useragent-1.5.1 fastapi-0.110.1 fastavro-1.9.4 filelock-3.13.4 filetype-1.2.0 flaml-2.1.2 flatbuffers-24.3.25 frozenlist-1.4.1 fsspec-2023.10.0 future-1.0.0 geomet-0.2.1.post1 google-ai-generativelanguage-0.6.1 google-api-core-2.18.0 google-api-python-client-2.125.0 google-auth-2.29.0 google-auth-httplib2-0.2.0 google-generativeai-0.5.0 google-search-results-2.4.2 googleapis-common-protos-1.63.0 gotrue-2.4.2 greenlet-3.0.3 grpcio-1.63.0rc1 grpcio-health-checking-1.63.0rc1 grpcio-status-1.63.0rc1 grpcio-tools-1.63.0rc1 gunicorn-21.2.0 h11-0.14.0 h2-4.1.0 hpack-4.0.0 html2text-2024.2.26 httpcore-1.0.5 httplib2-0.22.0 httptools-0.6.1 httpx-0.27.0 huggingface-hub-0.20.3 humanfriendly-10.0 hyperframe-6.0.1 idna-3.7 ijson-3.2.3 importlib-metadata-7.0.0 importlib-resources-6.4.0 jinja2-3.1.3 jmespath-1.0.1 joblib-1.3.2 jq-1.7.0 jsonpatch-1.33 jsonpath-python-1.0.6 jsonpointer-2.4 kubernetes-29.0.0 langchain-0.1.16 langchain-anthropic-0.1.8 langchain-astradb-0.1.0 langchain-cohere-0.1.3rc0 langchain-community-0.0.33 langchain-core-0.1.43 langchain-experimental-0.0.57 langchain-google-genai-1.0.2 langchain-openai-0.1.3 langchain-text-splitters-0.0.1 langdetect-1.0.9 langflow-1.0.0a22 langflow-base-0.0.34 langfuse-2.26.1 langsmith-0.1.48 lark-1.1.8 litellm-1.35.8 llama-index-0.10.29 llama-index-agent-openai-0.2.2 llama-index-cli-0.1.11 llama-index-core-0.10.29 llama-index-embeddings-openai-0.1.7 llama-index-indices-managed-llama-cloud-0.1.5 llama-index-legacy-0.9.48 llama-index-llms-openai-0.1.15 llama-index-multi-modal-llms-openai-0.1.5 llama-index-program-openai-0.1.5 llama-index-question-gen-openai-0.1.3 llama-index-readers-file-0.1.19 llama-index-readers-llama-parse-0.1.4 llama-parse-0.4.1 llamaindex-py-client-0.1.18 loguru-0.7.2 lxml-5.2.1 markdown-3.6 markdown-it-py-3.0.0 markupsafe-2.1.5 marshmallow-3.21.1 mdurl-0.1.2 metal-sdk-2.5.1 metaphor-python-0.1.23 mmh3-4.1.0 monotonic-1.6 mpmath-1.3.0 msoffcrypto-tool-5.3.1 multidict-6.0.5 multiprocess-0.70.15 mypy-extensions-1.0.0 nest-asyncio-1.6.0 networkx-3.3 nltk-3.8.1 numexpr-2.10.0 numpy-1.26.4 oauthlib-3.2.2 olefile-0.47 oletools-0.60.1 onnxruntime-1.17.3 openai-1.19.0 opentelemetry-api-1.24.0 opentelemetry-exporter-otlp-proto-common-1.24.0 opentelemetry-exporter-otlp-proto-grpc-1.24.0 opentelemetry-instrumentation-0.45b0 opentelemetry-instrumentation-asgi-0.45b0 opentelemetry-instrumentation-fastapi-0.45b0 opentelemetry-proto-1.24.0 opentelemetry-sdk-1.24.0 opentelemetry-semantic-conventions-0.45b0 opentelemetry-util-http-0.45b0 optuna-3.6.1 ordered-set-4.1.0 orjson-3.10.0 overrides-7.7.0 packaging-23.2 pandas-2.2.0 passlib-1.7.4 pcodedmp-1.2.6 pgvector-0.2.5 pillow-10.3.0 pinecone-client-3.2.2 platformdirs-4.2.0 portalocker-2.8.2 postgrest-0.16.3 posthog-3.5.0 prompt-toolkit-3.0.43 proto-plus-1.24.0.dev0 protobuf-4.25.3 psycopg-3.1.18 psycopg-binary-3.1.18 psycopg2-binary-2.9.9 pulsar-client-3.5.0 pyarrow-14.0.2 pyarrow-hotfix-0.6 pyasn1-0.6.0 pyasn1-modules-0.4.0 pyautogen-0.2.24 pycparser-2.22 pycryptodome-3.20.0 pydantic-2.5.0 pydantic-core-2.14.1 pydantic-settings-2.2.1 pygments-2.17.2 pymongo-4.6.3 pyparsing-2.4.7 pypdf-4.2.0 pypika-0.48.9 pyproject_hooks-1.0.0 pysrt-1.1.2 python-dateutil-2.9.0.post0 python-docx-1.1.0 python-dotenv-1.0.1 python-engineio-4.9.0 python-iso639-2024.2.7 python-jose-3.3.0 python-magic-0.4.27 python-multipart-0.0.7 python-socketio-5.11.2 pytube-15.0.0 pytz-2024.1 pyyaml-6.0.1 qdrant-client-1.8.2 qianfan-0.3.5 rapidfuzz-3.8.1 realtime-1.0.4 red-black-tree-mod-1.20 regex-2023.12.25 requests-2.31.0 requests-oauthlib-2.0.0 rich-13.7.1 rsa-4.9 s3transfer-0.10.1 setuptools-69.5.1 shellingham-1.5.4 simple-websocket-1.0.0 six-1.16.0 sniffio-1.3.1 soupsieve-2.5 sqlmodel-0.0.16 starlette-0.37.2 storage3-0.7.4 strenum-0.4.15 striprtf-0.0.26 supabase-2.4.2 supafunc-0.4.5 sympy-1.12.1rc1 tabulate-0.9.0 tenacity-8.2.3 termcolor-2.4.0 tiktoken-0.6.0 tokenizers-0.15.2 toml-0.10.2 tomli-2.0.1 tqdm-4.66.2 typer-0.12.3 types-cachetools-5.3.0.7 types-requests-2.31.0.20240406 typing-extensions-4.11.0 typing-inspect-0.9.0 tzdata-2024.1 tzlocal-5.2 ujson-5.9.0 unstructured-0.12.5 unstructured-client-0.22.0 uritemplate-4.1.1 urllib3-2.2.1 uvicorn-0.29.0 uvloop-0.19.0 validators-0.22.0 watchfiles-0.21.0 wcwidth-0.2.13 weaviate-client-4.5.5 websocket-client-1.7.0 websockets-12.0 wikipedia-1.4.0 wrapt-1.16.0 wsproto-1.2.0 xxhash-3.4.1 yarl-1.9.4 zipp-3.18.1 [notice] A new release of pip is available: 23.0.1 -> 24.0 [notice] To update, run: pip install --upgrade pip (langflow) % langflow run zsh: command not found: langflow (langflow) % python -m langlfow run /Users/USERNAME/.pyenv/versions/langflow/bin/python: No module named langlfow ```
msmygit commented 7 months ago

It is interesting they closed out an unresolved issue and want me to work with that closed issue.. ¯_(ツ)_/¯

ogabrielluiz commented 7 months ago

Hey @msmygit , have you checked our latest release?

This should be fixed

ogabrielluiz commented 7 months ago

Please, make sure you run python -m pip install langflow -U --pre --force-reinstall and then python -m langflow run to pick a specific python to run langflow on.

You are probably installing with one executable and running it with another.

msmygit commented 7 months ago

@ogabrielluiz, from all the commands and outputs I've provided above, do you feel that I'm using a different python version to run and experience this problem? I don't think so, but happy to be corrected here.

Having said that, here is yet another end-to-end round of updates to showcase this run. This time we have a SUCCESS! YAY! 🎉

Click to expand the full log STEP 1: Ensure there is no local cache ``` % ls -l /Users/USERNAME/Library/Caches/langflow ls: /Users/USERNAME/Library/Caches/langflow: No such file or directory ``` STEP 2: Install a brand new pyenv python `3.10` compatible version ``` % pyenv install 3.10 python-build: use openssl@1.1 from homebrew python-build: use readline from homebrew Installing Python-3.10.14... python-build: use readline from homebrew python-build: use zlib from homebrew Installed Python-3.10.14 to /Users/USERNAME/.pyenv/versions/3.10.14 ``` STEP 3: Recheck for local cache ``` % ls -l /Users/USERNAME/Library/Caches/langflow ls: /Users/USERNAME/Library/Caches/langflow: No such file or directory ``` STEP 4: Create a branch new virtual env ``` % pyenv virtualenv 3.10.14 langflow ``` STEP 5: Activate the newly created virtual environment ``` % pyenv activate langflow (langflow) % ``` STEP 6: Check to make sure we're indeed using the recommended python version in the virtual environment ``` (langflow) % python -V Python 3.10.14 ``` STEP 7: Install using the command what @ogabrielluiz provided 18hrs ago ``` (langflow) % python -m pip install langflow -U --pre --force-reinstall Collecting langflow Downloading langflow-1.0.0a23-py3-none-any.whl (6.3 kB) Collecting google-api-python-client<3.0.0,>=2.118.0 Downloading google_api_python_client-2.126.0-py2.py3-none-any.whl (12.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12.6/12.6 MB 34.8 MB/s eta 0:00:00 Collecting psycopg-binary<4.0.0,>=3.1.9 Using cached psycopg_binary-3.1.18-cp310-cp310-macosx_10_9_x86_64.whl (3.3 MB) Collecting pyautogen<0.3.0,>=0.2.0 Downloading pyautogen-0.2.25-py3-none-any.whl (257 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 257.1/257.1 kB 8.3 MB/s eta 0:00:00 Collecting langchain-astradb<0.2.0,>=0.1.0 Using cached langchain_astradb-0.1.0-py3-none-any.whl (25 kB) Collecting wikipedia<2.0.0,>=1.4.0 Using cached wikipedia-1.4.0-py3-none-any.whl Collecting qianfan==0.3.5 Using cached qianfan-0.3.5-py3-none-any.whl (304 kB) Collecting llama-index<0.11.0,>=0.10.13 Using cached llama_index-0.10.29-py3-none-any.whl (6.9 kB) Collecting elasticsearch<9.0.0,>=8.12.0 Using cached elasticsearch-8.13.0-py3-none-any.whl (451 kB) Collecting boto3<2.0.0,>=1.34.0 Downloading boto3-1.34.85-py3-none-any.whl (139 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 139.3/139.3 kB 5.2 MB/s eta 0:00:00 Collecting metaphor-python<0.2.0,>=0.1.11 Using cached metaphor_python-0.1.23-py3-none-any.whl (6.1 kB) Collecting pytube<16.0.0,>=15.0.0 Using cached pytube-15.0.0-py3-none-any.whl (57 kB) Collecting fake-useragent<2.0.0,>=1.4.0 Using cached fake_useragent-1.5.1-py3-none-any.whl (17 kB) Collecting langchain-anthropic<0.2.0,>=0.1.6 Downloading langchain_anthropic-0.1.9-py3-none-any.whl (16 kB) Collecting networkx<4.0,>=3.1 Using cached networkx-3.3-py3-none-any.whl (1.7 MB) Collecting pinecone-client<4.0.0,>=3.0.3 Using cached pinecone_client-3.2.2-py3-none-any.whl (215 kB) Collecting fastavro<2.0.0,>=1.8.0 Using cached fastavro-1.9.4-cp310-cp310-macosx_11_0_x86_64.whl (590 kB) Collecting html2text<2025.0.0,>=2024.2.26 Using cached html2text-2024.2.26-py3-none-any.whl Collecting psycopg2-binary<3.0.0,>=2.9.6 Using cached psycopg2_binary-2.9.9-cp310-cp310-macosx_10_9_x86_64.whl (2.8 MB) Collecting pgvector<0.3.0,>=0.2.3 Using cached pgvector-0.2.5-py2.py3-none-any.whl (9.6 kB) Collecting cohere<6.0.0,>=5.1.7 Using cached cohere-5.3.0-py3-none-any.whl (150 kB) Collecting pysrt<2.0.0,>=1.1.2 Using cached pysrt-1.1.2-py3-none-any.whl Collecting unstructured[md]<0.13.0,>=0.12.4 Using cached unstructured-0.12.6-py3-none-any.whl (1.8 MB) Collecting google-search-results<3.0.0,>=2.4.1 Using cached google_search_results-2.4.2-py3-none-any.whl Collecting qdrant-client<2.0.0,>=1.7.0 Using cached qdrant_client-1.8.2-py3-none-any.whl (223 kB) Collecting beautifulsoup4<5.0.0,>=4.12.2 Using cached beautifulsoup4-4.13.0b2-py3-none-any.whl (179 kB) Collecting supabase<3.0.0,>=2.3.0 Using cached supabase-2.4.2-py3-none-any.whl (15 kB) Collecting pyarrow<15.0.0,>=14.0.0 Using cached pyarrow-14.0.2-cp310-cp310-macosx_10_14_x86_64.whl (26.9 MB) Collecting langchain-openai<0.2.0,>=0.1.1 Using cached langchain_openai-0.1.3-py3-none-any.whl (33 kB) Collecting litellm<2.0.0,>=1.34.22 Using cached litellm-1.35.8-py3-none-any.whl (4.2 MB) Collecting types-cachetools<6.0.0.0,>=5.3.0.5 Using cached types_cachetools-5.3.0.7-py3-none-any.whl (3.8 kB) Collecting faiss-cpu<2.0.0,>=1.7.4 Using cached faiss_cpu-1.8.0-cp310-cp310-macosx_10_14_x86_64.whl (7.3 MB) Collecting psycopg<4.0.0,>=3.1.9 Using cached psycopg-3.1.18-py3-none-any.whl (178 kB) Collecting dspy-ai<3.0.0,>=2.4.0 Using cached dspy_ai-2.4.5-py3-none-any.whl (197 kB) Collecting langchain-google-genai<2.0.0,>=1.0.1 Using cached langchain_google_genai-1.0.2-py3-none-any.whl (28 kB) Collecting langflow-base<0.0.36,>=0.0.35 Downloading langflow_base-0.0.35-py3-none-any.whl (4.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.3/4.3 MB 33.5 MB/s eta 0:00:00 Collecting langchain-cohere<0.2.0,>=0.1.0rc1 Downloading langchain_cohere-0.1.3-py3-none-any.whl (29 kB) Collecting chromadb<0.5.0,>=0.4.24 Using cached chromadb-0.4.24-py3-none-any.whl (525 kB) Collecting weaviate-client Using cached weaviate_client-4.5.5-py3-none-any.whl (306 kB) Collecting metal-sdk<3.0.0,>=2.5.0 Using cached metal_sdk-2.5.1-py3-none-any.whl (14 kB) Collecting assemblyai<0.24.0,>=0.23.1 Using cached assemblyai-0.23.1-py3-none-any.whl (66 kB) Collecting extract-msg<0.48.0,>=0.47.0 Using cached extract_msg-0.47.0-py2.py3-none-any.whl (328 kB) Collecting markupsafe<3.0.0,>=2.1.3 Using cached MarkupSafe-2.1.5-cp310-cp310-macosx_10_9_x86_64.whl (14 kB) Collecting pymongo<5.0.0,>=4.6.0 Using cached pymongo-4.6.3-cp310-cp310-macosx_10_9_universal2.whl (534 kB) Collecting langfuse<3.0.0,>=2.9.0 Downloading langfuse-2.26.3-py3-none-any.whl (155 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 155.3/155.3 kB 5.8 MB/s eta 0:00:00 Collecting numexpr<3.0.0,>=2.8.6 Using cached numexpr-2.10.0-cp310-cp310-macosx_10_9_x86_64.whl (103 kB) Collecting huggingface-hub[inference]<0.21.0,>=0.20.0 Using cached huggingface_hub-0.20.3-py3-none-any.whl (330 kB) Collecting certifi<2024.0.0,>=2023.11.17 Using cached certifi-2023.11.17-py3-none-any.whl (162 kB) Collecting bce-python-sdk>=0.8.79 Using cached bce_python_sdk-0.9.6-py3-none-any.whl (330 kB) Collecting aiohttp>=3.7.0 Downloading aiohttp-3.9.5-cp310-cp310-macosx_10_9_x86_64.whl (400 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 400.7/400.7 kB 11.4 MB/s eta 0:00:00 Collecting tenacity<9.0.0,>=8.2.3 Using cached tenacity-8.2.3-py3-none-any.whl (24 kB) Collecting typer>=0.9.0 Using cached typer-0.12.3-py3-none-any.whl (47 kB) Collecting pyyaml<7.0.0,>=6.0.1 Using cached PyYAML-6.0.1-cp310-cp310-macosx_10_9_x86_64.whl (189 kB) Collecting requests>=2.24 Using cached requests-2.31.0-py3-none-any.whl (62 kB) Collecting multiprocess Using cached multiprocess-0.70.16-py310-none-any.whl (134 kB) Collecting python-dotenv>=1.0 Using cached python_dotenv-1.0.1-py3-none-any.whl (19 kB) Collecting ijson Using cached ijson-3.2.3-cp310-cp310-macosx_10_9_x86_64.whl (54 kB) Collecting clevercsv Using cached clevercsv-0.8.2-cp310-cp310-macosx_10_9_x86_64.whl (75 kB) Collecting numpy>=1.22.0 Using cached numpy-2.0.0rc1-cp310-cp310-macosx_14_0_x86_64.whl (6.9 MB) Collecting rich>=13.0.0 Using cached rich-13.7.1-py3-none-any.whl (240 kB) Collecting python-dateutil<3.0.0,>=2.8.2 Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB) Collecting aiolimiter>=1.1.0 Using cached aiolimiter-1.1.0-py3-none-any.whl (7.2 kB) Collecting pydantic Using cached pydantic-2.7.0-py3-none-any.whl (407 kB) Collecting prompt-toolkit>=3.0.38 Using cached prompt_toolkit-3.0.43-py3-none-any.whl (386 kB) Collecting httpx>=0.19.0 Using cached httpx-0.27.0-py3-none-any.whl (75 kB) Collecting typing-extensions>=3.7 Using cached typing_extensions-4.11.0-py3-none-any.whl (34 kB) Collecting websockets>=11.0 Using cached websockets-12.0-cp310-cp310-macosx_10_9_x86_64.whl (121 kB) Collecting soupsieve>1.2 Using cached soupsieve-2.5-py3-none-any.whl (36 kB) Collecting botocore<1.35.0,>=1.34.85 Downloading botocore-1.34.85-py3-none-any.whl (12.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12.1/12.1 MB 35.6 MB/s eta 0:00:00 Collecting s3transfer<0.11.0,>=0.10.0 Using cached s3transfer-0.10.1-py3-none-any.whl (82 kB) Collecting jmespath<2.0.0,>=0.7.1 Using cached jmespath-1.0.1-py3-none-any.whl (20 kB) Collecting opentelemetry-instrumentation-fastapi>=0.41b0 Using cached opentelemetry_instrumentation_fastapi-0.45b0-py3-none-any.whl (11 kB) Collecting tokenizers>=0.13.2 Downloading tokenizers-0.19.0-cp310-cp310-macosx_10_12_x86_64.whl (2.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.5/2.5 MB 25.7 MB/s eta 0:00:00 Collecting fastapi>=0.95.2 Using cached fastapi-0.110.1-py3-none-any.whl (91 kB) Collecting mmh3>=4.0.1 Using cached mmh3-4.1.0-cp310-cp310-macosx_10_9_x86_64.whl (29 kB) Collecting importlib-resources Using cached importlib_resources-6.4.0-py3-none-any.whl (38 kB) Collecting build>=1.0.3 Using cached build-1.2.1-py3-none-any.whl (21 kB) Collecting uvicorn[standard]>=0.18.3 Using cached uvicorn-0.29.0-py3-none-any.whl (60 kB) Collecting onnxruntime>=1.14.1 Using cached onnxruntime-1.17.3-cp310-cp310-macosx_11_0_universal2.whl (14.8 MB) Collecting tqdm>=4.65.0 Using cached tqdm-4.66.2-py3-none-any.whl (78 kB) Collecting pypika>=0.48.9 Using cached PyPika-0.48.9-py2.py3-none-any.whl Collecting grpcio>=1.58.0 Using cached grpcio-1.63.0rc1-cp310-cp310-macosx_12_0_universal2.whl (10.1 MB) Collecting kubernetes>=28.1.0 Using cached kubernetes-29.0.0-py2.py3-none-any.whl (1.6 MB) Collecting posthog>=2.4.0 Using cached posthog-3.5.0-py2.py3-none-any.whl (41 kB) Collecting pulsar-client>=3.1.0 Using cached pulsar_client-3.5.0-cp310-cp310-macosx_10_15_universal2.whl (11.0 MB) Collecting opentelemetry-exporter-otlp-proto-grpc>=1.2.0 Using cached opentelemetry_exporter_otlp_proto_grpc-1.24.0-py3-none-any.whl (18 kB) Collecting overrides>=7.3.1 Using cached overrides-7.7.0-py3-none-any.whl (17 kB) Collecting opentelemetry-sdk>=1.2.0 Using cached opentelemetry_sdk-1.24.0-py3-none-any.whl (106 kB) Collecting chroma-hnswlib==0.7.3 Using cached chroma_hnswlib-0.7.3-cp310-cp310-macosx_10_9_x86_64.whl (219 kB) Collecting bcrypt>=4.0.1 Using cached bcrypt-4.1.2-cp39-abi3-macosx_10_12_universal2.whl (528 kB) Collecting orjson>=3.9.12 Using cached orjson-3.10.1-cp310-cp310-macosx_10_15_x86_64.macosx_11_0_arm64.macosx_10_15_universal2.whl (250 kB) Collecting opentelemetry-api>=1.2.0 Using cached opentelemetry_api-1.24.0-py3-none-any.whl (60 kB) Collecting tokenizers>=0.13.2 Using cached tokenizers-0.15.2-cp310-cp310-macosx_10_12_x86_64.whl (2.6 MB) Collecting types-requests<3.0.0,>=2.0.0 Using cached types_requests-2.31.0.20240406-py3-none-any.whl (15 kB) Collecting backoff~=2.2.1 Using cached backoff-2.2.1-py3-none-any.whl (15 kB) Collecting joblib~=1.3.2 Using cached joblib-1.3.2-py3-none-any.whl (302 kB) Collecting datasets<3.0.0,~=2.14.6 Using cached datasets-2.14.7-py3-none-any.whl (520 kB) Collecting optuna Using cached optuna-3.6.1-py3-none-any.whl (380 kB) Collecting ujson Using cached ujson-5.9.0-cp310-cp310-macosx_10_9_x86_64.whl (57 kB) Collecting pydantic Using cached pydantic-2.5.0-py3-none-any.whl (407 kB) Collecting regex Downloading regex-2024.4.16-cp310-cp310-macosx_10_9_x86_64.whl (296 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 296.7/296.7 kB 8.6 MB/s eta 0:00:00 Collecting openai<2.0.0,>=0.28.1 Downloading openai-1.20.0-py3-none-any.whl (292 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 292.8/292.8 kB 10.8 MB/s eta 0:00:00 Collecting pandas Using cached pandas-2.2.2-cp310-cp310-macosx_10_9_x86_64.whl (12.6 MB) Collecting pydantic-core==2.14.1 Using cached pydantic_core-2.14.1-cp310-cp310-macosx_10_7_x86_64.whl (1.9 MB) Collecting annotated-types>=0.4.0 Using cached annotated_types-0.6.0-py3-none-any.whl (12 kB) Collecting elastic-transport<9,>=8.13 Using cached elastic_transport-8.13.0-py3-none-any.whl (64 kB) Collecting compressed-rtf<2,>=1.0.6 Using cached compressed_rtf-1.0.6-py3-none-any.whl Collecting red-black-tree-mod==1.20 Using cached red_black_tree_mod-1.20-py3-none-any.whl Collecting RTFDE<0.2,>=0.1.1 Using cached RTFDE-0.1.1-py3-none-any.whl (36 kB) Collecting olefile==0.47 Using cached olefile-0.47-py2.py3-none-any.whl (114 kB) Collecting ebcdic<2,>=1.1.1 Using cached ebcdic-1.1.1-py2.py3-none-any.whl (128 kB) Collecting tzlocal<6,>=4.2 Using cached tzlocal-5.2-py3-none-any.whl (17 kB) Collecting beautifulsoup4<5.0.0,>=4.12.2 Using cached beautifulsoup4-4.12.3-py3-none-any.whl (147 kB) Collecting google-auth-httplib2<1.0.0,>=0.2.0 Using cached google_auth_httplib2-0.2.0-py2.py3-none-any.whl (9.3 kB) Collecting google-auth!=2.24.0,!=2.25.0,<3.0.0.dev0,>=1.32.0 Using cached google_auth-2.29.0-py2.py3-none-any.whl (189 kB) Collecting google-api-core!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0,<3.0.0.dev0,>=1.31.5 Using cached google_api_core-2.18.0-py3-none-any.whl (138 kB) Collecting httplib2<1.dev0,>=0.19.0 Using cached httplib2-0.22.0-py3-none-any.whl (96 kB) Collecting uritemplate<5,>=3.0.1 Using cached uritemplate-4.1.1-py2.py3-none-any.whl (10 kB) Collecting filelock Using cached filelock-3.13.4-py3-none-any.whl (11 kB) Collecting packaging>=20.9 Using cached packaging-24.0-py3-none-any.whl (53 kB) Collecting fsspec>=2023.5.0 Using cached fsspec-2024.3.1-py3-none-any.whl (171 kB) Collecting anthropic<1,>=0.23.0 Downloading anthropic-0.25.3-py3-none-any.whl (870 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 870.6/870.6 kB 19.3 MB/s eta 0:00:00 Collecting defusedxml<0.8.0,>=0.7.1 Using cached defusedxml-0.7.1-py2.py3-none-any.whl (25 kB) Collecting langchain-core<0.2.0,>=0.1.43 Using cached langchain_core-0.1.43-py3-none-any.whl (289 kB) Collecting numpy>=1.22.0 Using cached numpy-1.26.4-cp310-cp310-macosx_10_9_x86_64.whl (20.6 MB) Collecting astrapy<0.8.0,>=0.7.7 Using cached astrapy-0.7.7-py3-none-any.whl (32 kB) Collecting google-generativeai<0.6.0,>=0.5.0 Downloading google_generativeai-0.5.1-py3-none-any.whl (142 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 142.2/142.2 kB 5.4 MB/s eta 0:00:00 Collecting tiktoken<1,>=0.5.2 Using cached tiktoken-0.6.0-cp310-cp310-macosx_10_9_x86_64.whl (999 kB) Collecting python-multipart<0.0.8,>=0.0.7 Using cached python_multipart-0.0.7-py3-none-any.whl (22 kB) Collecting langchain-experimental Using cached langchain_experimental-0.0.57-py3-none-any.whl (193 kB) Collecting python-jose<4.0.0,>=3.3.0 Using cached python_jose-3.3.0-py2.py3-none-any.whl (33 kB) Collecting langchainhub<0.2.0,>=0.1.15 Downloading langchainhub-0.1.15-py3-none-any.whl (4.6 kB) Collecting pandas Using cached pandas-2.2.0-cp310-cp310-macosx_10_9_x86_64.whl (12.5 MB) Collecting pillow<11.0.0,>=10.2.0 Using cached pillow-10.3.0-cp310-cp310-macosx_10_10_x86_64.whl (3.5 MB) Collecting nest-asyncio<2.0.0,>=1.6.0 Using cached nest_asyncio-1.6.0-py3-none-any.whl (5.2 kB) Collecting cachetools<6.0.0,>=5.3.1 Using cached cachetools-5.3.3-py3-none-any.whl (9.3 kB) Collecting platformdirs<5.0.0,>=4.2.0 Using cached platformdirs-4.2.0-py3-none-any.whl (17 kB) Collecting python-docx<2.0.0,>=1.1.0 Using cached python_docx-1.1.0-py3-none-any.whl (239 kB) Collecting pydantic-settings<3.0.0,>=2.1.0 Using cached pydantic_settings-2.2.1-py3-none-any.whl (13 kB) Collecting emoji<3.0.0,>=2.11.0 Using cached emoji-2.11.0-py2.py3-none-any.whl (433 kB) Collecting loguru<0.8.0,>=0.7.1 Using cached loguru-0.7.2-py3-none-any.whl (62 kB) Collecting orjson>=3.9.12 Using cached orjson-3.10.0-cp310-cp310-macosx_10_15_x86_64.macosx_11_0_arm64.macosx_10_15_universal2.whl (252 kB) Collecting duckdb<0.10.0,>=0.9.2 Using cached duckdb-0.9.2-cp310-cp310-macosx_10_9_x86_64.whl (15.3 MB) Collecting sqlmodel<0.0.17,>=0.0.16 Using cached sqlmodel-0.0.16-py3-none-any.whl (26 kB) Collecting bcrypt>=4.0.1 Using cached bcrypt-4.0.1-cp36-abi3-macosx_10_10_universal2.whl (473 kB) Collecting docstring-parser<0.16,>=0.15 Using cached docstring_parser-0.15-py3-none-any.whl (36 kB) Collecting alembic<2.0.0,>=1.13.0 Using cached alembic-1.13.1-py3-none-any.whl (233 kB) Collecting python-socketio<6.0.0,>=5.11.0 Using cached python_socketio-5.11.2-py3-none-any.whl (75 kB) Collecting jq<2.0.0,>=1.7.0 Using cached jq-1.7.0-cp310-cp310-macosx_10_9_x86_64.whl (407 kB) Collecting passlib<2.0.0,>=1.7.4 Using cached passlib-1.7.4-py2.py3-none-any.whl (525 kB) Collecting pypdf<5.0.0,>=4.1.0 Using cached pypdf-4.2.0-py3-none-any.whl (290 kB) Collecting langchain<0.2.0,>=0.1.16 Using cached langchain-0.1.16-py3-none-any.whl (817 kB) Collecting asyncer<0.0.6,>=0.0.5 Using cached asyncer-0.0.5-py3-none-any.whl (8.4 kB) Collecting gunicorn<22.0.0,>=21.2.0 Using cached gunicorn-21.2.0-py3-none-any.whl (80 kB) Collecting cryptography<43.0.0,>=42.0.5 Using cached cryptography-42.0.5-cp39-abi3-macosx_10_12_universal2.whl (5.9 MB) Collecting pytz>=2020.1 Using cached pytz-2024.1-py2.py3-none-any.whl (505 kB) Collecting tzdata>=2022.7 Using cached tzdata-2024.1-py2.py3-none-any.whl (345 kB) Collecting packaging>=20.9 Using cached packaging-23.2-py3-none-any.whl (53 kB) Collecting idna<4.0,>=3.7 Using cached idna-3.7-py3-none-any.whl (66 kB) Collecting wrapt<2.0,>=1.14 Using cached wrapt-1.16.0-cp310-cp310-macosx_10_9_x86_64.whl (37 kB) Collecting importlib-metadata>=6.8.0 Using cached importlib_metadata-7.1.0-py3-none-any.whl (24 kB) Collecting jinja2<4.0.0,>=3.1.2 Using cached Jinja2-3.1.3-py3-none-any.whl (133 kB) Collecting click Using cached click-8.1.7-py3-none-any.whl (97 kB) Collecting llama-index-multi-modal-llms-openai<0.2.0,>=0.1.3 Using cached llama_index_multi_modal_llms_openai-0.1.5-py3-none-any.whl (5.8 kB) Collecting llama-index-indices-managed-llama-cloud<0.2.0,>=0.1.2 Using cached llama_index_indices_managed_llama_cloud-0.1.5-py3-none-any.whl (6.7 kB) Collecting llama-index-cli<0.2.0,>=0.1.2 Using cached llama_index_cli-0.1.11-py3-none-any.whl (26 kB) Collecting llama-index-embeddings-openai<0.2.0,>=0.1.5 Using cached llama_index_embeddings_openai-0.1.7-py3-none-any.whl (6.0 kB) Collecting llama-index-agent-openai<0.3.0,>=0.1.4 Using cached llama_index_agent_openai-0.2.2-py3-none-any.whl (12 kB) Collecting llama-index-program-openai<0.2.0,>=0.1.3 Using cached llama_index_program_openai-0.1.5-py3-none-any.whl (4.1 kB) Collecting llama-index-llms-openai<0.2.0,>=0.1.13 Using cached llama_index_llms_openai-0.1.15-py3-none-any.whl (10 kB) Collecting llama-index-question-gen-openai<0.2.0,>=0.1.2 Using cached llama_index_question_gen_openai-0.1.3-py3-none-any.whl (2.9 kB) Collecting llama-index-core<0.11.0,>=0.10.29 Using cached llama_index_core-0.10.29-py3-none-any.whl (15.4 MB) Collecting llama-index-legacy<0.10.0,>=0.9.48 Using cached llama_index_legacy-0.9.48-py3-none-any.whl (2.0 MB) Collecting llama-index-readers-file<0.2.0,>=0.1.4 Using cached llama_index_readers_file-0.1.19-py3-none-any.whl (36 kB) Collecting llama-index-readers-llama-parse<0.2.0,>=0.1.2 Using cached llama_index_readers_llama_parse-0.1.4-py3-none-any.whl (2.5 kB) Collecting urllib3>=1.26.0 Using cached urllib3-2.2.1-py3-none-any.whl (121 kB) Collecting flaml Using cached FLAML-2.1.2-py3-none-any.whl (296 kB) Collecting diskcache Using cached diskcache-5.6.3-py3-none-any.whl (45 kB) Collecting termcolor Using cached termcolor-2.4.0-py3-none-any.whl (7.7 kB) Collecting docker Using cached docker-7.0.0-py3-none-any.whl (147 kB) Collecting dnspython<3.0.0,>=1.16.0 Using cached dnspython-2.6.1-py3-none-any.whl (307 kB) Collecting chardet Using cached chardet-5.2.0-py3-none-any.whl (199 kB) Collecting portalocker<3.0.0,>=2.7.0 Using cached portalocker-2.8.2-py3-none-any.whl (17 kB) Collecting grpcio-tools>=1.41.0 Using cached grpcio_tools-1.63.0rc1-cp310-cp310-macosx_12_0_universal2.whl (5.1 MB) Collecting postgrest<0.17.0,>=0.14 Using cached postgrest-0.16.3-py3-none-any.whl (20 kB) Collecting realtime<2.0.0,>=1.0.0 Using cached realtime-1.0.4-py3-none-any.whl (8.9 kB) Collecting storage3<0.8.0,>=0.5.3 Using cached storage3-0.7.4-py3-none-any.whl (15 kB) Collecting gotrue<3.0,>=1.3 Using cached gotrue-2.4.2-py3-none-any.whl (44 kB) Collecting supafunc<0.5.0,>=0.3.1 Using cached supafunc-0.4.5-py3-none-any.whl (6.1 kB) Collecting langdetect==1.0.9 Using cached langdetect-1.0.9-py3-none-any.whl Collecting mypy-extensions==1.0.0 Using cached mypy_extensions-1.0.0-py3-none-any.whl (4.7 kB) Collecting lxml==5.1.0 Using cached lxml-5.1.0-cp310-cp310-macosx_10_9_x86_64.whl (4.7 MB) Collecting unstructured[md]<0.13.0,>=0.12.4 Using cached unstructured-0.12.5-py3-none-any.whl (1.8 MB) Collecting rapidfuzz Using cached rapidfuzz-3.8.1-cp310-cp310-macosx_10_9_x86_64.whl (2.8 MB) Collecting python-magic Using cached python_magic-0.4.27-py2.py3-none-any.whl (13 kB) Collecting lxml Using cached lxml-5.2.1-cp310-cp310-macosx_10_9_x86_64.whl (4.6 MB) Collecting python-iso639 Using cached python_iso639-2024.2.7-py3-none-any.whl (274 kB) Collecting unstructured-client>=0.15.1 Using cached unstructured_client-0.22.0-py3-none-any.whl (28 kB) Collecting filetype Using cached filetype-1.2.0-py2.py3-none-any.whl (19 kB) Collecting dataclasses-json Using cached dataclasses_json-0.6.4-py3-none-any.whl (28 kB) Collecting nltk Using cached nltk-3.8.1-py3-none-any.whl (1.5 MB) Collecting tabulate Using cached tabulate-0.9.0-py3-none-any.whl (35 kB) Collecting markdown Using cached Markdown-3.6-py3-none-any.whl (105 kB) Collecting grpcio-health-checking<2.0.0,>=1.57.0 Using cached grpcio_health_checking-1.63.0rc1-py3-none-any.whl (18 kB) Collecting authlib<2.0.0,>=1.2.1 Using cached Authlib-1.3.0-py2.py3-none-any.whl (223 kB) Collecting validators==0.22.0 Using cached validators-0.22.0-py3-none-any.whl (26 kB) Collecting anyio Using cached anyio-4.3.0-py3-none-any.whl (85 kB) Collecting httpcore==1.* Using cached httpcore-1.0.5-py3-none-any.whl (77 kB) Collecting sniffio Using cached sniffio-1.3.1-py3-none-any.whl (10 kB) Collecting h11<0.15,>=0.13 Using cached h11-0.14.0-py3-none-any.whl (58 kB) Collecting attrs>=17.3.0 Using cached attrs-23.2.0-py3-none-any.whl (60 kB) Collecting aiosignal>=1.1.2 Using cached aiosignal-1.3.1-py3-none-any.whl (7.6 kB) Collecting yarl<2.0,>=1.0 Using cached yarl-1.9.4-cp310-cp310-macosx_10_9_x86_64.whl (81 kB) Collecting async-timeout<5.0,>=4.0 Using cached async_timeout-4.0.3-py3-none-any.whl (5.7 kB) Collecting frozenlist>=1.1.1 Using cached frozenlist-1.4.1-cp310-cp310-macosx_10_9_x86_64.whl (53 kB) Collecting multidict<7.0,>=4.5 Using cached multidict-6.0.5-cp310-cp310-macosx_10_9_x86_64.whl (30 kB) Collecting SQLAlchemy>=1.3.0 Using cached SQLAlchemy-2.0.29-cp310-cp310-macosx_10_9_x86_64.whl (2.1 MB) Collecting Mako Using cached Mako-1.3.3-py3-none-any.whl (78 kB) Collecting distro<2,>=1.7.0 Using cached distro-1.9.0-py3-none-any.whl (20 kB) Collecting deprecation<2.2.0,>=2.1.0 Using cached deprecation-2.1.0-py2.py3-none-any.whl (11 kB) Collecting cassio<0.2.0,>=0.1.4 Using cached cassio-0.1.5-py3-none-any.whl (41 kB) Collecting toml<0.11.0,>=0.10.2 Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB) Collecting six>=1.4.0 Using cached six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting future>=0.6.0 Using cached future-1.0.0-py3-none-any.whl (491 kB) Collecting pycryptodome>=3.8.0 Using cached pycryptodome-3.20.0-cp35-abi3-macosx_10_9_x86_64.whl (1.6 MB) Collecting tomli>=1.1.0 Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting pyproject_hooks Using cached pyproject_hooks-1.0.0-py3-none-any.whl (9.3 kB) Collecting cffi>=1.12 Using cached cffi-1.16.0-cp310-cp310-macosx_10_9_x86_64.whl (182 kB) Collecting xxhash Using cached xxhash-3.4.1-cp310-cp310-macosx_10_9_x86_64.whl (31 kB) Collecting dill<0.3.8,>=0.3.0 Using cached dill-0.3.7-py3-none-any.whl (115 kB) Collecting fsspec[http]<=2023.10.0,>=2023.1.0 Using cached fsspec-2023.10.0-py3-none-any.whl (166 kB) Collecting pyarrow-hotfix Using cached pyarrow_hotfix-0.6-py3-none-any.whl (7.9 kB) Collecting starlette<0.38.0,>=0.37.2 Using cached starlette-0.37.2-py3-none-any.whl (71 kB) Collecting proto-plus<2.0.0dev,>=1.22.3 Using cached proto_plus-1.24.0.dev0-py3-none-any.whl (49 kB) Collecting googleapis-common-protos<2.0.dev0,>=1.56.2 Using cached googleapis_common_protos-1.63.0-py2.py3-none-any.whl (229 kB) Collecting protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0.dev0,>=3.19.5 Using cached protobuf-4.25.3-cp37-abi3-macosx_10_9_universal2.whl (394 kB) Collecting pyasn1-modules>=0.2.1 Using cached pyasn1_modules-0.4.0-py3-none-any.whl (181 kB) Collecting rsa<5,>=3.1.4 Using cached rsa-4.9-py3-none-any.whl (34 kB) Collecting google-ai-generativelanguage==0.6.2 Downloading google_ai_generativelanguage-0.6.2-py3-none-any.whl (664 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 664.5/664.5 kB 16.7 MB/s eta 0:00:00 Collecting setuptools Using cached setuptools-69.5.1-py3-none-any.whl (894 kB) Collecting pyparsing!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3,<4,>=2.4.2 Using cached pyparsing-3.1.2-py3-none-any.whl (103 kB) Collecting h2<5,>=3 Using cached h2-4.1.0-py3-none-any.whl (57 kB) Collecting zipp>=0.5 Using cached zipp-3.18.1-py3-none-any.whl (8.2 kB) Collecting requests-oauthlib Using cached requests_oauthlib-2.0.0-py2.py3-none-any.whl (24 kB) Collecting websocket-client!=0.40.0,!=0.41.*,!=0.42.*,>=0.32.0 Using cached websocket_client-1.7.0-py3-none-any.whl (58 kB) Collecting oauthlib>=3.2.2 Using cached oauthlib-3.2.2-py3-none-any.whl (151 kB) Collecting jsonpatch<2.0,>=1.33 Using cached jsonpatch-1.33-py2.py3-none-any.whl (12 kB) Collecting langsmith<0.2.0,>=0.1.17 Using cached langsmith-0.1.48-py3-none-any.whl (113 kB) Collecting langchain-text-splitters<0.1,>=0.0.1 Using cached langchain_text_splitters-0.0.1-py3-none-any.whl (21 kB) Collecting langchain-community<0.1,>=0.0.32 Using cached langchain_community-0.0.33-py3-none-any.whl (1.9 MB) Collecting marshmallow<4.0.0,>=3.18.0 Using cached marshmallow-3.21.1-py3-none-any.whl (49 kB) Collecting typing-inspect<1,>=0.4.0 Using cached typing_inspect-0.9.0-py3-none-any.whl (8.8 kB) Collecting llamaindex-py-client<0.2.0,>=0.1.18 Using cached llamaindex_py_client-0.1.18-py3-none-any.whl (136 kB) Collecting deprecated>=1.2.9.3 Using cached Deprecated-1.2.14-py2.py3-none-any.whl (9.6 kB) Collecting dirtyjson<2.0.0,>=1.0.8 Using cached dirtyjson-1.0.8-py3-none-any.whl (25 kB) Collecting striprtf<0.0.27,>=0.0.26 Using cached striprtf-0.0.26-py3-none-any.whl (6.9 kB) Collecting llama-parse<0.5.0,>=0.4.0 Using cached llama_parse-0.4.1-py3-none-any.whl (7.3 kB) Collecting multiprocess Using cached multiprocess-0.70.15-py310-none-any.whl (134 kB) Collecting coloredlogs Using cached coloredlogs-15.0.1-py2.py3-none-any.whl (46 kB) Collecting sympy Using cached sympy-1.12.1rc1-py3-none-any.whl (5.7 MB) Collecting flatbuffers Using cached flatbuffers-24.3.25-py2.py3-none-any.whl (26 kB) Collecting importlib-metadata>=6.8.0 Using cached importlib_metadata-7.0.0-py3-none-any.whl (23 kB) Collecting opentelemetry-exporter-otlp-proto-common==1.24.0 Using cached opentelemetry_exporter_otlp_proto_common-1.24.0-py3-none-any.whl (17 kB) Collecting opentelemetry-proto==1.24.0 Using cached opentelemetry_proto-1.24.0-py3-none-any.whl (50 kB) Collecting opentelemetry-util-http==0.45b0 Using cached opentelemetry_util_http-0.45b0-py3-none-any.whl (6.9 kB) Collecting opentelemetry-instrumentation-asgi==0.45b0 Using cached opentelemetry_instrumentation_asgi-0.45b0-py3-none-any.whl (14 kB) Collecting opentelemetry-semantic-conventions==0.45b0 Using cached opentelemetry_semantic_conventions-0.45b0-py3-none-any.whl (36 kB) Collecting opentelemetry-instrumentation==0.45b0 Using cached opentelemetry_instrumentation-0.45b0-py3-none-any.whl (28 kB) Collecting asgiref~=3.0 Using cached asgiref-3.8.1-py3-none-any.whl (23 kB) Collecting strenum<0.5.0,>=0.4.9 Using cached StrEnum-0.4.15-py3-none-any.whl (8.9 kB) Collecting monotonic>=1.5 Using cached monotonic-1.6-py2.py3-none-any.whl (8.2 kB) Collecting wcwidth Using cached wcwidth-0.2.13-py2.py3-none-any.whl (34 kB) Collecting pyasn1 Using cached pyasn1-0.6.0-py2.py3-none-any.whl (85 kB) Collecting ecdsa!=0.15 Using cached ecdsa-0.19.0-py2.py3-none-any.whl (149 kB) Collecting python-engineio>=4.8.0 Using cached python_engineio-4.9.0-py3-none-any.whl (57 kB) Collecting bidict>=0.21.0 Using cached bidict-0.23.1-py3-none-any.whl (32 kB) Collecting charset-normalizer<4,>=2 Using cached charset_normalizer-3.3.2-cp310-cp310-macosx_10_9_x86_64.whl (122 kB) Collecting markdown-it-py>=2.2.0 Using cached markdown_it_py-3.0.0-py3-none-any.whl (87 kB) Collecting pygments<3.0.0,>=2.13.0 Using cached pygments-2.17.2-py3-none-any.whl (1.2 MB) Collecting oletools>=0.56 Using cached oletools-0.60.1-py2.py3-none-any.whl (977 kB) Collecting lark==1.1.8 Using cached lark-1.1.8-py3-none-any.whl (111 kB) Collecting shellingham>=1.3.0 Using cached shellingham-1.5.4-py2.py3-none-any.whl (9.8 kB) Collecting jsonpath-python>=1.0.6 Using cached jsonpath_python-1.0.6-py3-none-any.whl (7.6 kB) Collecting deepdiff>=6.0 Using cached deepdiff-7.0.1-py3-none-any.whl (80 kB) Collecting watchfiles>=0.13 Using cached watchfiles-0.21.0-cp310-cp310-macosx_10_7_x86_64.whl (428 kB) Collecting httptools>=0.5.0 Using cached httptools-0.6.1-cp310-cp310-macosx_10_9_x86_64.whl (77 kB) Collecting uvloop!=0.15.0,!=0.15.1,>=0.14.0 Using cached uvloop-0.19.0-cp310-cp310-macosx_10_9_x86_64.whl (793 kB) Collecting colorlog Using cached colorlog-6.8.2-py3-none-any.whl (11 kB) Collecting exceptiongroup>=1.0.2 Using cached exceptiongroup-1.2.0-py3-none-any.whl (16 kB) Collecting cassandra-driver>=3.28.0 Using cached cassandra_driver-3.29.1-cp310-cp310-macosx_10_9_x86_64.whl (3.7 MB) Collecting pycparser Using cached pycparser-2.22-py3-none-any.whl (117 kB) Collecting ordered-set<4.2.0,>=4.1.0 Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting hpack<5,>=4.0 Using cached hpack-4.0.0-py3-none-any.whl (32 kB) Collecting hyperframe<7,>=6.0 Using cached hyperframe-6.0.1-py3-none-any.whl (12 kB) Collecting jsonpointer>=1.9 Using cached jsonpointer-2.4-py2.py3-none-any.whl (7.8 kB) Collecting mdurl~=0.1 Using cached mdurl-0.1.2-py3-none-any.whl (10.0 kB) Collecting colorclass Using cached colorclass-2.2.2-py2.py3-none-any.whl (18 kB) Collecting pyparsing!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3,<4,>=2.4.2 Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB) Collecting pcodedmp>=1.2.5 Using cached pcodedmp-1.2.6-py2.py3-none-any.whl (30 kB) Collecting msoffcrypto-tool Using cached msoffcrypto_tool-5.3.1-py3-none-any.whl (46 kB) Collecting easygui Using cached easygui-0.98.3-py2.py3-none-any.whl (92 kB) Collecting simple-websocket>=0.10.0 Using cached simple_websocket-1.0.0-py3-none-any.whl (13 kB) Collecting greenlet!=0.4.17 Using cached greenlet-3.0.3-cp310-cp310-macosx_11_0_universal2.whl (270 kB) Collecting humanfriendly>=9.1 Using cached humanfriendly-10.0-py2.py3-none-any.whl (86 kB) Collecting mpmath<1.4.0,>=1.1.0 Using cached mpmath-1.3.0-py3-none-any.whl (536 kB) Collecting geomet<0.3,>=0.1 Using cached geomet-0.2.1.post1-py3-none-any.whl (18 kB) Collecting grpcio-status<2.0.dev0,>=1.33.2 Using cached grpcio_status-1.63.0rc1-py3-none-any.whl (14 kB) Collecting wsproto Using cached wsproto-1.2.0-py3-none-any.whl (24 kB) Installing collected packages: wcwidth, striprtf, strenum, red-black-tree-mod, pytz, pypika, passlib, mpmath, monotonic, mmh3, ijson, flatbuffers, filetype, fake-useragent, ebcdic, easygui, dirtyjson, compressed-rtf, zipp, xxhash, wrapt, websockets, websocket-client, validators, uvloop, urllib3, uritemplate, ujson, tzlocal, tzdata, typing-extensions, types-cachetools, tqdm, tomli, toml, termcolor, tenacity, tabulate, sympy, soupsieve, sniffio, six, shellingham, setuptools, regex, rapidfuzz, pyyaml, pytube, python-multipart, python-magic, python-iso639, python-dotenv, pyparsing, pygments, pycryptodome, pycparser, pyasn1, pyarrow-hotfix, psycopg2-binary, psycopg-binary, protobuf, prompt-toolkit, portalocker, platformdirs, pillow, packaging, overrides, orjson, ordered-set, opentelemetry-util-http, opentelemetry-semantic-conventions, olefile, oauthlib, numpy, networkx, nest-asyncio, mypy-extensions, multidict, mdurl, markupsafe, markdown, lxml, loguru, lark, jsonpointer, jsonpath-python, jq, joblib, jmespath, importlib-resources, idna, hyperframe, humanfriendly, httptools, html2text, hpack, h11, grpcio, greenlet, future, fsspec, frozenlist, filelock, fastavro, exceptiongroup, emoji, duckdb, docstring-parser, dnspython, distro, diskcache, dill, defusedxml, colorlog, colorclass, click, charset-normalizer, chardet, certifi, cachetools, bidict, bcrypt, backoff, attrs, async-timeout, annotated-types, aiolimiter, yarl, wsproto, uvicorn, typing-inspect, types-requests, SQLAlchemy, rsa, requests, python-docx, python-dateutil, pysrt, pyproject_hooks, pypdf, pymongo, pydantic-core, pyasn1-modules, pyarrow, pulsar-client, psycopg, proto-plus, pinecone-client, pgvector, opentelemetry-proto, numexpr, nltk, multiprocess, marshmallow, markdown-it-py, Mako, langdetect, jsonpatch, jinja2, importlib-metadata, httplib2, httpcore, h2, gunicorn, grpcio-tools, grpcio-health-checking, googleapis-common-protos, geomet, flaml, faiss-cpu, elastic-transport, ecdsa, deprecation, deprecated, deepdiff, coloredlogs, clevercsv, chroma-hnswlib, cffi, beautifulsoup4, bce-python-sdk, asgiref, anyio, aiosignal, wikipedia, watchfiles, tiktoken, starlette, simple-websocket, rich, requests-oauthlib, realtime, python-jose, pydantic, posthog, pandas, opentelemetry-exporter-otlp-proto-common, opentelemetry-api, onnxruntime, metaphor-python, langchainhub, huggingface-hub, httpx, grpcio-status, google-search-results, google-auth, elasticsearch, docker, dataclasses-json, cryptography, cassandra-driver, build, botocore, asyncer, alembic, aiohttp, unstructured-client, typer, tokenizers, supafunc, storage3, sqlmodel, s3transfer, python-engineio, pydantic-settings, postgrest, optuna, opentelemetry-sdk, opentelemetry-instrumentation, openai, msoffcrypto-tool, metal-sdk, llamaindex-py-client, langsmith, langfuse, kubernetes, gotrue, google-auth-httplib2, google-api-core, fastapi, cassio, authlib, assemblyai, weaviate-client, unstructured, supabase, qianfan, qdrant-client, python-socketio, pyautogen, opentelemetry-instrumentation-asgi, opentelemetry-exporter-otlp-proto-grpc, llama-index-legacy, llama-index-core, litellm, langchain-core, google-api-python-client, datasets, cohere, boto3, astrapy, anthropic, opentelemetry-instrumentation-fastapi, llama-parse, llama-index-readers-file, llama-index-llms-openai, llama-index-indices-managed-llama-cloud, llama-index-embeddings-openai, langchain-text-splitters, langchain-openai, langchain-community, langchain-cohere, langchain-astradb, langchain-anthropic, google-ai-generativelanguage, dspy-ai, llama-index-readers-llama-parse, llama-index-multi-modal-llms-openai, llama-index-cli, llama-index-agent-openai, langchain, google-generativeai, chromadb, llama-index-program-openai, langchain-google-genai, langchain-experimental, llama-index-question-gen-openai, langflow-base, llama-index, pcodedmp, oletools, RTFDE, extract-msg, langflow Attempting uninstall: setuptools Found existing installation: setuptools 65.5.0 Uninstalling setuptools-65.5.0: Successfully uninstalled setuptools-65.5.0 Successfully installed Mako-1.3.3 RTFDE-0.1.1 SQLAlchemy-2.0.29 aiohttp-3.9.5 aiolimiter-1.1.0 aiosignal-1.3.1 alembic-1.13.1 annotated-types-0.6.0 anthropic-0.25.3 anyio-4.3.0 asgiref-3.8.1 assemblyai-0.23.1 astrapy-0.7.7 async-timeout-4.0.3 asyncer-0.0.5 attrs-23.2.0 authlib-1.3.0 backoff-2.2.1 bce-python-sdk-0.9.6 bcrypt-4.0.1 beautifulsoup4-4.12.3 bidict-0.23.1 boto3-1.34.85 botocore-1.34.85 build-1.2.1 cachetools-5.3.3 cassandra-driver-3.29.1 cassio-0.1.5 certifi-2023.11.17 cffi-1.16.0 chardet-5.2.0 charset-normalizer-3.3.2 chroma-hnswlib-0.7.3 chromadb-0.4.24 clevercsv-0.8.2 click-8.1.7 cohere-5.3.0 colorclass-2.2.2 coloredlogs-15.0.1 colorlog-6.8.2 compressed-rtf-1.0.6 cryptography-42.0.5 dataclasses-json-0.6.4 datasets-2.14.7 deepdiff-7.0.1 defusedxml-0.7.1 deprecated-1.2.14 deprecation-2.1.0 dill-0.3.7 dirtyjson-1.0.8 diskcache-5.6.3 distro-1.9.0 dnspython-2.6.1 docker-7.0.0 docstring-parser-0.15 dspy-ai-2.4.5 duckdb-0.9.2 easygui-0.98.3 ebcdic-1.1.1 ecdsa-0.19.0 elastic-transport-8.13.0 elasticsearch-8.13.0 emoji-2.11.0 exceptiongroup-1.2.0 extract-msg-0.47.0 faiss-cpu-1.8.0 fake-useragent-1.5.1 fastapi-0.110.1 fastavro-1.9.4 filelock-3.13.4 filetype-1.2.0 flaml-2.1.2 flatbuffers-24.3.25 frozenlist-1.4.1 fsspec-2023.10.0 future-1.0.0 geomet-0.2.1.post1 google-ai-generativelanguage-0.6.2 google-api-core-2.18.0 google-api-python-client-2.126.0 google-auth-2.29.0 google-auth-httplib2-0.2.0 google-generativeai-0.5.1 google-search-results-2.4.2 googleapis-common-protos-1.63.0 gotrue-2.4.2 greenlet-3.0.3 grpcio-1.63.0rc1 grpcio-health-checking-1.63.0rc1 grpcio-status-1.63.0rc1 grpcio-tools-1.63.0rc1 gunicorn-21.2.0 h11-0.14.0 h2-4.1.0 hpack-4.0.0 html2text-2024.2.26 httpcore-1.0.5 httplib2-0.22.0 httptools-0.6.1 httpx-0.27.0 huggingface-hub-0.20.3 humanfriendly-10.0 hyperframe-6.0.1 idna-3.7 ijson-3.2.3 importlib-metadata-7.0.0 importlib-resources-6.4.0 jinja2-3.1.3 jmespath-1.0.1 joblib-1.3.2 jq-1.7.0 jsonpatch-1.33 jsonpath-python-1.0.6 jsonpointer-2.4 kubernetes-29.0.0 langchain-0.1.16 langchain-anthropic-0.1.9 langchain-astradb-0.1.0 langchain-cohere-0.1.3 langchain-community-0.0.33 langchain-core-0.1.43 langchain-experimental-0.0.57 langchain-google-genai-1.0.2 langchain-openai-0.1.3 langchain-text-splitters-0.0.1 langchainhub-0.1.15 langdetect-1.0.9 langflow-1.0.0a23 langflow-base-0.0.35 langfuse-2.26.3 langsmith-0.1.48 lark-1.1.8 litellm-1.35.8 llama-index-0.10.29 llama-index-agent-openai-0.2.2 llama-index-cli-0.1.11 llama-index-core-0.10.29 llama-index-embeddings-openai-0.1.7 llama-index-indices-managed-llama-cloud-0.1.5 llama-index-legacy-0.9.48 llama-index-llms-openai-0.1.15 llama-index-multi-modal-llms-openai-0.1.5 llama-index-program-openai-0.1.5 llama-index-question-gen-openai-0.1.3 llama-index-readers-file-0.1.19 llama-index-readers-llama-parse-0.1.4 llama-parse-0.4.1 llamaindex-py-client-0.1.18 loguru-0.7.2 lxml-5.2.1 markdown-3.6 markdown-it-py-3.0.0 markupsafe-2.1.5 marshmallow-3.21.1 mdurl-0.1.2 metal-sdk-2.5.1 metaphor-python-0.1.23 mmh3-4.1.0 monotonic-1.6 mpmath-1.3.0 msoffcrypto-tool-5.3.1 multidict-6.0.5 multiprocess-0.70.15 mypy-extensions-1.0.0 nest-asyncio-1.6.0 networkx-3.3 nltk-3.8.1 numexpr-2.10.0 numpy-1.26.4 oauthlib-3.2.2 olefile-0.47 oletools-0.60.1 onnxruntime-1.17.3 openai-1.20.0 opentelemetry-api-1.24.0 opentelemetry-exporter-otlp-proto-common-1.24.0 opentelemetry-exporter-otlp-proto-grpc-1.24.0 opentelemetry-instrumentation-0.45b0 opentelemetry-instrumentation-asgi-0.45b0 opentelemetry-instrumentation-fastapi-0.45b0 opentelemetry-proto-1.24.0 opentelemetry-sdk-1.24.0 opentelemetry-semantic-conventions-0.45b0 opentelemetry-util-http-0.45b0 optuna-3.6.1 ordered-set-4.1.0 orjson-3.10.0 overrides-7.7.0 packaging-23.2 pandas-2.2.0 passlib-1.7.4 pcodedmp-1.2.6 pgvector-0.2.5 pillow-10.3.0 pinecone-client-3.2.2 platformdirs-4.2.0 portalocker-2.8.2 postgrest-0.16.3 posthog-3.5.0 prompt-toolkit-3.0.43 proto-plus-1.24.0.dev0 protobuf-4.25.3 psycopg-3.1.18 psycopg-binary-3.1.18 psycopg2-binary-2.9.9 pulsar-client-3.5.0 pyarrow-14.0.2 pyarrow-hotfix-0.6 pyasn1-0.6.0 pyasn1-modules-0.4.0 pyautogen-0.2.25 pycparser-2.22 pycryptodome-3.20.0 pydantic-2.5.0 pydantic-core-2.14.1 pydantic-settings-2.2.1 pygments-2.17.2 pymongo-4.6.3 pyparsing-2.4.7 pypdf-4.2.0 pypika-0.48.9 pyproject_hooks-1.0.0 pysrt-1.1.2 python-dateutil-2.9.0.post0 python-docx-1.1.0 python-dotenv-1.0.1 python-engineio-4.9.0 python-iso639-2024.2.7 python-jose-3.3.0 python-magic-0.4.27 python-multipart-0.0.7 python-socketio-5.11.2 pytube-15.0.0 pytz-2024.1 pyyaml-6.0.1 qdrant-client-1.8.2 qianfan-0.3.5 rapidfuzz-3.8.1 realtime-1.0.4 red-black-tree-mod-1.20 regex-2024.4.16 requests-2.31.0 requests-oauthlib-2.0.0 rich-13.7.1 rsa-4.9 s3transfer-0.10.1 setuptools-69.5.1 shellingham-1.5.4 simple-websocket-1.0.0 six-1.16.0 sniffio-1.3.1 soupsieve-2.5 sqlmodel-0.0.16 starlette-0.37.2 storage3-0.7.4 strenum-0.4.15 striprtf-0.0.26 supabase-2.4.2 supafunc-0.4.5 sympy-1.12.1rc1 tabulate-0.9.0 tenacity-8.2.3 termcolor-2.4.0 tiktoken-0.6.0 tokenizers-0.15.2 toml-0.10.2 tomli-2.0.1 tqdm-4.66.2 typer-0.12.3 types-cachetools-5.3.0.7 types-requests-2.31.0.20240406 typing-extensions-4.11.0 typing-inspect-0.9.0 tzdata-2024.1 tzlocal-5.2 ujson-5.9.0 unstructured-0.12.5 unstructured-client-0.22.0 uritemplate-4.1.1 urllib3-2.2.1 uvicorn-0.29.0 uvloop-0.19.0 validators-0.22.0 watchfiles-0.21.0 wcwidth-0.2.13 weaviate-client-4.5.5 websocket-client-1.7.0 websockets-12.0 wikipedia-1.4.0 wrapt-1.16.0 wsproto-1.2.0 xxhash-3.4.1 yarl-1.9.4 zipp-3.18.1 [notice] A new release of pip is available: 23.0.1 -> 24.0 [notice] To update, run: pip install --upgrade pip ``` STEP 8: Recheck python version to showcase we're indeed using the correct required python version ``` (langflow) % python -V Python 3.10.14 ``` STEP 9: Attempt to run the langflow using @ogabrielluiz command 🥳 👍🏼 🎖️ 👏🏼 -- after painstakingly working from `a10` all the way through `a23`, we now have a success!!! Thanks team for patiently working with me on this. ``` % python -m langflow run Starting Langflow v1.0.0a23... ╭───────────────────────────────────────────────────╮ │ Welcome to ⛓ Langflow │ │ │ │ │ │ Collaborate, and contribute at our GitHub Repo 🚀 │ │ │ │ Access http://127.0.0.1:7860 │ ╰───────────────────────────────────────────────────╯ ```
GimmeSomeJazz commented 5 months ago

@ogabrielluiz thank you for all. I did replicate @msmygit successful pattern, but I have the following same error with langchain_cohere module when running langflow (installation was successful). Thank you for your help!

Starting Langflow v1.0.0a43...

[05/31/24 22:14:15] ERROR    2024-05-31 22:14:15 - ERROR    - code_parser - Module langchain_cohere not found. Please install it code_parser.py:300 and try againTraceback (most recent call last):                                                                       

         File "/Users/u721624/.pyenv/versions/langflow/lib/python3.10/site-packages/fastavro/read.py",                       
       line 2, in <module>                                                                                                   
           from . import _read                                                                                               
         File "fastavro/_read.pyx", line 10, in init fastavro._read                                                          
         File "/Users/u721624/.pyenv/versions/3.10.14/lib/python3.10/lzma.py", line 27, in <module>                          
           from _lzma import *                                                                                               

       ModuleNotFoundError: No module named '_lzma'                                                                          

       During handling of the above exception, another exception occurred: