You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/07/31 17:48:37 UTC

[GitHub] [superset] EMCP commented on issue #20914: Error installing Superset 2.0

EMCP commented on issue #20914:
URL: https://github.com/apache/superset/issues/20914#issuecomment-1200469675

   I am seeing similar errors with pip installation , what fixed it was upgrading pip to latest.. then all warnings about deps went away
   
   Ubuntu 20.04 (inside an LXC container)
   
   ```
    sudo pip3 install --upgrade pip                                                  
   Collecting pip                                                                                            
     Downloading pip-22.2.1-py3-none-any.whl (2.0 MB)                                                        
        |████████████████████████████████| 2.0 MB 6.9 MB/s                                                   
   Installing collected packages: pip                                                                        
     Attempting uninstall: pip                                                                               
       Found existing installation: pip 20.0.2                                                               
       Not uninstalling pip at /usr/lib/python3/dist-packages, outside environment /usr                      
       Can't uninstall 'pip'. No files were found to uninstall.                                              
   Successfully installed pip-22.2.1                                                                         
   ubuntu@juju-e920ce-32:~$ pip --version                                                                    
   pip 22.2.1 from /home/ubuntu/.local/lib/python3.8/site-packages/pip (python 3.8)                          
   ubuntu@juju-e920ce-32:~$ python3 --version                                                                
   Python 3.8.10                                                                                             
   ubuntu@juju-e920ce-32:~$ pip install apache-superset                                                      
   Defaulting to user installation because normal site-packages is not writeable                             
   Collecting apache-superset                                                                                
     Downloading apache-superset-2.0.0.tar.gz (40.8 MB)                                                      
        ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.8/40.8 MB 9.1 MB/s eta 0:00:00      
   ....
   Successfully installed Babel-2.10.3 Flask-Babel-2.0.0 Flask-JWT-Extended-4.4.3 Flask-Login-0.6.2 Flask-SQLAlchemy-2.5.1 Jinja2-3.1.2 Mako-1.2.1 MarkupSafe-2.1.1 PyJWT-2.4.0 PySocks-1.7.1 WTForms-2.3.3 Werkzeug-2.2.1 aiohttp-3.8.1 aiosignal-1.2.0 alembic-1.8.1 amqp-5.1.1 apache-superset-2.0.0 apispec-3.3.2 async-generator-1.10 async-timeout-4.0.2 backoff-2.1.2 billiard-3.6.4.0 bleach-3.3.1 brotli-1.0.9 cachelib-0.4.1 celery-5.2.7 cffi-1.15.1 charset-normalizer-2.1.0 click-8.1.3 click-didyoumean-0.3.0 click-plugins-1.1.1 click-repl-0.2.0 convertdate-2.4.0 cron-descriptor-1.2.31 croniter-1.3.5 cryptography-37.0.4 deprecated-1.2.13 deprecation-2.1.0 dnspython-2.2.1 email-validator-1.2.1 flask-2.1.3 flask-appbuilder-4.1.3 flask-caching-1.11.1 flask-compress-1.12 flask-migrate-3.1.0 flask-talisman-1.0.0 flask-wtf-0.15.1 frozenlist-1.3.0 func_timeout-4.3.5 geographiclib-1.52 geopy-2.2.0 graphlib-backport-1.0.3 gunicorn-20.1.0 h11-0.13.0 hashids-1.3.1 holidays-0.10.3 humanize-4.2.3 import
 lib-metadata-4.12.0 importlib-resources-5.9.0 isodate-0.6.1 itsdangerous-2.1.2 kombu-5.2.4 korean_lunar_calendar-0.2.1 markdown-3.4.1 marshmallow-3.17.0 marshmallow-enum-1.5.1 marshmallow-sqlalchemy-0.26.1 msgpack-1.0.4 multidict-6.0.2 numpy-1.22.1 outcome-1.2.0 packaging-21.3 pandas-1.3.5 parsedatetime-2.6 pgsanity-0.2.9 polyline-1.4.0 prison-0.2.1 prompt-toolkit-3.0.30 pyarrow-5.0.0 pycparser-2.21 pymeeus-0.5.11 pyparsing-3.0.9 python-dateutil-2.8.2 python-dotenv-0.20.0 python-geohash-0.8.5 pytz-2022.1 pyyaml-6.0 redis-4.3.4 selenium-4.3.0 slackclient-2.5.0 sniffio-1.2.0 sortedcontainers-2.4.0 sqlalchemy-1.3.24 sqlalchemy-utils-0.37.9 sqlparse-0.3.0 tabulate-0.8.9 trio-0.21.0 trio-websocket-0.9.2 typing-extensions-3.10.0.2 urllib3-1.26.11 vine-5.0.0 wcwidth-0.2.5 webencodings-0.5.1 wrapt-1.14.1 wsproto-1.1.0 wtforms-json-0.3.5 yarl-1.7.2 zipp-3.8.1
   ```
   
   If you still have issues, what I do in past is preinstall on certain pinned versions until the errors go away.. you can also do this by installing apache-superset via poetry project and inspect the `poetry.lock` file 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org