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/05/07 12:34:01 UTC

[GitHub] [superset] dat-linux opened a new issue, #19986: Fails to install on Python 3.10 because of Numpy dependency

dat-linux opened a new issue, #19986:
URL: https://github.com/apache/superset/issues/19986

   A clear and concise description of what the bug is.
   
   #### How to reproduce the bug
   `
   python3.10 -m pip install superset`
   
   ### Expected results
   
   Correct install
   
   ### Actual results
   
   errors:
   see screenshots
   
   #### Screenshots
   
   ![VirtualBox_DAT LInux_07_05_2022_14_31_38](https://user-images.githubusercontent.com/99078210/167254576-c63b32d4-2cbf-4a44-a648-f61cf95cc791.png)
   ![VirtualBox_DAT LInux_07_05_2022_14_31_52](https://user-images.githubusercontent.com/99078210/167254578-47035105-91cc-4ede-869c-944ed5af0169.png)
   
   ### Environment
   
   Ubuntu 22.04 with Python 3.10
   
   ### Checklist
   
   Make sure to follow these steps before submitting your issue - thank you!
   
   - [y ] I have checked the superset logs for python stacktraces and included it here as text if there are any.
   - [y ] I have reproduced the issue with at least the latest released version of superset.
   - [ y] I have checked the issue tracker for the same issue and I haven't found one similar.
   
   ### Additional context
   
   -
   


-- 
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] dat-linux commented on issue #19986: Fails to install on Python 3.10 because of Numpy dependency

Posted by GitBox <gi...@apache.org>.
dat-linux commented on issue #19986:
URL: https://github.com/apache/superset/issues/19986#issuecomment-1122004139

   > Same issue, same build, except my install was: python3.10 -m pip install apache-superset
   
   You're right, corrected.


-- 
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] alanorth commented on issue #19986: Fails to install on Python 3.10 because of Numpy dependency

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

   I was meaning to test installing Superset 2.0.0 again in a different environment to add more feedback to #20717, #20723, and #20199 (werkzeug module not found), but  now I hit this issue on Arch Linux with Python 3.10.5.


-- 
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] EMCP commented on issue #19986: Fails to install on Python 3.10 because of Numpy dependency

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

   IMO @betodealmeida this has been closed prematurely.. not everyone can downgrade to py3.9 easily and for now my workaround is I have to back off of using Ubuntu 22.04 in favor of 20.04


-- 
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] betodealmeida closed issue #19986: Fails to install on Python 3.10 because of Numpy dependency

Posted by GitBox <gi...@apache.org>.
betodealmeida closed issue #19986: Fails to install on Python 3.10 because of Numpy dependency
URL: https://github.com/apache/superset/issues/19986


-- 
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] kant777 commented on issue #19986: Fails to install on Python 3.10 because of Numpy dependency

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

   This still happens with 3.10


-- 
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] dat-linux commented on issue #19986: Fails to install on Python 3.10 because of Numpy dependency

Posted by GitBox <gi...@apache.org>.
dat-linux commented on issue #19986:
URL: https://github.com/apache/superset/issues/19986#issuecomment-1143438882

   > The same here. Any workaround?
   
   I used [pyenv](https://github.com/pyenv/pyenv) to get 3.9 installed alongside 3.10 in [DAT Linux](https://datlinux.gitlab.io/). 
   
   ```
   apt-get install --yes libsqlite3-dev libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev libgdbm-dev lzma lzma-dev tcl-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev wget curl make build-essential python3-openssl
   git clone https://github.com/pyenv/pyenv.git $HOME/skel/.pyenv
   $HOME/.pyenv/bin/pyenv install 3.9.13
   ```
   
   You then use 
   
   `$HOME/.pyenv/versions/3.9.13/bin/python3 -m pip install ..`
   
   Or, create a venv using the above python path, then call *that* python executable when in the venv.
   
   See code here for example: https://gitlab.com/datlinux/cari-plugin-superset/-/blob/main/lib/utils.bash
   


-- 
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] applebh commented on issue #19986: Fails to install on Python 3.10 because of Numpy dependency

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

   Same issue, same build, except my install was:
   python3.10 -m pip install apache-superset


-- 
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] ramashish786 commented on issue #19986: Fails to install on Python 3.10 because of Numpy dependency

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

   I am facing the same issue ,stuck for hours to find solution for this but did not find any thing.


-- 
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] sdezza commented on issue #19986: Fails to install on Python 3.10 because of Numpy dependency

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

   Did anyone found a solution apart from downgrading python? Can we reopen this?


-- 
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] dat-linux commented on issue #19986: Fails to install on Python 3.10 because of Numpy dependency

Posted by GitBox <gi...@apache.org>.
dat-linux commented on issue #19986:
URL: https://github.com/apache/superset/issues/19986#issuecomment-1312543644

   > Did anyone found a solution apart from downgrading python? Can we reopen this?
   
   As far as I'm aware the problem remains for python 3.10. Hopefully addressed in next release of superset.


-- 
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] sranjeeth commented on issue #19986: Fails to install on Python 3.10 because of Numpy dependency

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

   hi, installing python 3.10 is not working so we have to downgrade python 3.9 and install it.
   
   sudo add-apt-repository ppa:deadsnakes/ppa
   sudo apt install python3.9
   python3.9 --version
   python3.9 -m venv venv
   sudo apt-get install python3.9-venv
   python3.9 -m venv venv
   . venv/bin/activate
   pip install apache-superset
   sudo apt-get install build-essential libssl-dev libffi-dev python3.9-dev  libsasl2-dev libldap2-dev
   pip install apache-superset
   superset db upgrade
   #<if result = error then run below command>
   	export FLASK_APP=superset 
   	sudo apt install redis-server
   	pip uninstall -y Werkzeug
   	pip install Werkzeug==2.0.3
   	superset db upgrade
   	superset --version
   	pip uninstall flask
   	pip install flask==2.1.3
   	superset db upgrade
   	superset fab create-admin
   	superset init 
   	pip install pillow
   	superset init
   	superset run -p 8088 --with-threads --reload --debugger
   #<else >
          export FLASK_APP=superset 
           superset fab create-admin
   	superset init 
           superset run -p 8088 --with-threads --reload --debugger


-- 
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] qisoster commented on issue #19986: Fails to install on Python 3.10 because of Numpy dependency

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

   It looks like it fails on collecting 'pyarrow<6.0,=5.0.0' dependency of Superset. This version of pyarrow(5.00) needs 'numpy>=1.16.6' which doesn't build of Python 3.10.


-- 
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] MerNat commented on issue #19986: Fails to install on Python 3.10 because of Numpy dependency

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

   The same here. Any 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