GitHub user paulsonkevgit added a comment to the discussion: How to install and 
configure superset step by  step??

superset_init         | Init Step 1/4 [Starting] -- Applying DB migrations      
                                                            
superset_init         | 
######################################################################          
                                    
superset_init         | /app/superset/config.py:42: UserWarning: pkg_resources 
is deprecated as an API. See 
https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources 
package is slated for removal as early as 2025-11-30. Refrain from using this 
package or pin to Setuptools<81.
superset_init         |   import pkg_resources
superset_init         | Found but failed to import local superset_config        
                                                            
superset_init         | Traceback (most recent call last):
superset_init         |   File "/app/superset/config.py", line 1891, in 
<module>                                                            
superset_init         |     import superset_config                              
                                                            
superset_init         |   File "/app/docker/pythonpath_dev/superset_config.py", 
line 128, in <module>                                       
superset_init         |     from superset.typing import FlaskResponse           
                                                            
superset_init         | ModuleNotFoundError: No module named 'superset.typing'  
                                                            
superset_init         | Traceback (most recent call last):                      
                                                            
superset_init         |   File "/usr/local/bin/superset", line 5, in <module>   
                                                            
superset_init         |     from superset.cli.main import superset              
                                                            
superset_init         |   File "/app/superset/cli/main.py", line 28, in 
<module>                                                            
superset_init         |     from superset.cli.lib import normalize_token        
                                                            
superset_init         |   File "/app/superset/cli/lib.py", line 20, in <module> 
                                                            
superset_init         |     from superset import config                         
                                                            
superset_init         |   File "/app/superset/config.py", line 1891, in 
<module>                                                            
superset_init         |     import superset_config                              
                                                            
superset_init         |   File "/app/docker/pythonpath_dev/superset_config.py", 
line 128, in <module>                                       
superset_init         |     from superset.typing import FlaskResponse           
                                                            
superset_init         | ModuleNotFoundError: No module named 'superset.typing'  
     

GitHub link: 
https://github.com/apache/superset/discussions/34439#discussioncomment-13954347

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to