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/08/13 16:38:00 UTC

[GitHub] [superset] cxjbridge opened a new issue, #21079: Python package versions conflict when installing superset.

cxjbridge opened a new issue, #21079:
URL: https://github.com/apache/superset/issues/21079

   Hi, I have a confusing question:
   
   After installing superset following the instructions on page(https://superset.apache.org/docs/installation/installing-superset-from-scratch/):
   pip install apache-superset
   
   I initialized the db:
   superset db upgrade
   
   **it shows the message that we need cachelib>0.9.0:**
       raise VersionConflict(dist, req).with_context(dependent_req)
   pkg_resources.ContextualVersionConflict: (cachelib 0.4.1 (/home/supersetvm/venv/lib/python3.8/site-packages), _Requirement.parse('cachelib>=0.9.0')_, {'flask-caching'})
   
   So I updated the cachelib to 0.9.0:
   pip install cachelib==0.9.0
   
   **It shows the following message that apache-superset 2.0.0 need  cachelib<0.5,>=0.4.1:**
   Collecting cachelib==0.9.0
     Using cached cachelib-0.9.0-py3-none-any.whl (15 kB)
   ERROR: apache-superset 2.0.0 has requirement cachelib<0.5,>=0.4.1, but you'll have cachelib 0.9.0 which is incompatible.
   Installing collected packages: cachelib
     Attempting uninstall: cachelib
       Found existing installation: cachelib 0.4.1
       Uninstalling cachelib-0.4.1:
         Successfully uninstalled cachelib-0.4.1
   Successfully installed cachelib-0.9.0
   
   **run superset db upgrade again:**
   pkg_resources.DistributionNotFound: The _'cachelib<0.5,>=0.4.1_' distribution was not found and is required by apache-superset
   
   **I am confused that Which version I should install for cachelib? apache-superset needs cache<0.5, >=0.4.1. Some other package needs cachelib>=0.9.**
   
   


-- 
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.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


[GitHub] [superset] redwards101 commented on issue #21079: Python package versions conflict when installing superset.

Posted by GitBox <gi...@apache.org>.
redwards101 commented on issue #21079:
URL: https://github.com/apache/superset/issues/21079#issuecomment-1232412379

   Doesn't seem to matter what version you try to install. They all fail.
   
   1.4.0 attempt:
   
   ERROR: flask-appbuilder 3.4.5 has requirement Flask-WTF<0.15.0,>=0.14.2, but you'll have flask-wtf 1.0.1 which is incompatible.
   ERROR: flask-caching 2.0.1 has requirement cachelib>=0.9.0, but you'll have cachelib 0.1.1 which is incompatible.
   
   The FlaskCaching:2.0.1 is a common denominator.
   


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


[GitHub] [superset] pdxrlk commented on issue #21079: Python package versions conflict when installing superset.

Posted by GitBox <gi...@apache.org>.
pdxrlk commented on issue #21079:
URL: https://github.com/apache/superset/issues/21079#issuecomment-1247948969

   Still getting this.  Is there a workaround?


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


Re: [I] Python package versions conflict when installing superset. [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #21079: Python package versions conflict when installing superset.
URL: https://github.com/apache/superset/issues/21079


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


[GitHub] [superset] redwards101 commented on issue #21079: Python package versions conflict when installing superset.

Posted by GitBox <gi...@apache.org>.
redwards101 commented on issue #21079:
URL: https://github.com/apache/superset/issues/21079#issuecomment-1248442670

   The easiest and most predictable workaround I know is use Docker. It's working for me.
   It looks like they're having a problem dealing with latest dependencies on Flask.
   That said, I tried the 'pip install' method again and I'm not getting the same error, in particular, Flask-Cache 2.0.1 causing problems.  It now installs version 1.11.1, which fixes that problem.
   Now, however, another issue cropped up recently,  [20942](https://github.com/apache/superset/issues/20942), for which there appears to be a solution.


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


Re: [I] Python package versions conflict when installing superset. [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #21079:
URL: https://github.com/apache/superset/issues/21079#issuecomment-1939537826

   Closing this as stale since it's been silent for so long, and we're trying to steer toward a more actionable Issues backlog. If people are still encountering this in current versions (currently 3.x) please open a new Issue or a PR to address the problem.  
   


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