The review apps are running on the latest python version 3.9.4 and that seems to break the installation of pandas. I'm currently using review apps to review PRs. I have set the runtime to use python version 3.8.6 but that only works for the app in production. Is there any way to set the python version for review apps?
Seems setting a python runtime fixes it(make sure to update the branch before trying to check unlike me).
Related
Could you please let me know the best way to upgrade python on linux? I need it because my redhat linux machine is offering 2.6.6 version as default. If I install python 2.7 then it breaks yum and mod_wsgi. Has anyone found out the best way to do it? I really need this for flask web development.
I had tried https://danieleriksson.net/2017/02/08/how-to-install-latest-python-on-centos/ steps but it caused issues with mod_wsgi (which was on 2.6).
Just to add - I have read and tried almost everything related to this topic but couldn't succeed. Hence I am asking this question if someone has already figured out a way for this.
In addition to what SpliFF said, you can create a virtual environment and set which python version you would like to use by using the -p flag.
You can install multiple versions of python side-by-side. What makes one "default" is the python and python2 symlinks in /usr/bin.
However you should definitely not change the default python on Redhat for the reasons you list and more.
Instead, you will need to tell WSGI which python to use. This question covers that: Run mod_wsgi with virtualenv or Python with version different that system default
Also, according to this answer ( Deploying Python Flask App on Apache with Python version installed in Virtual Environment Only ) you may need to compile a custom wsgi against the python version you want to use.
For RedHat based operating systems, use SCL versions of Python.
https://www.softwarecollections.org/en/
They are installed in separate area so they do not conflict.
There is no mod_wsgi in SCL, so use pip method to install it and then link Apache to it. Details in:
https://pypi.python.org/pypi/mod_wsgi
I am new to Robot Framework RIDE. I had installed python 3.4 in my windows machine and then successfully installed robot framework using pip command. However I am unable to install RIDE, I am getting exception. It seems RIDE is not supported for python 3.
Is there any official site from where I can get info that which is the latest version of python that RIDE supports? Which might be updating as per new releases as we in case of Selenium on http://www.seleniumhq.org/download/. I visited the below site, but didn't got the info, searched on google as well, but it seems info on this area are lacking
https://pypi.python.org/pypi/robotframework-ride
https://github.com/robotframework/RIDE
Kind Regards, Shoaib
RIDE Does not yet support version 3, and runs only on the regular Python, not on Jython nor IronPython. Python 2.6 is the minimum version needed. Installation Instructions Explains all,Go through it.
Hi there I was recently developing an application on openshift.
I used the Python 3.3 Cartridge together with Django. And there is the problem. Because of the "old" version of python I get some exceptions. (Which is indeed a problem with the python version, because i tested it with python 3.3.2 on my local computer.)
My question is know is it possible to make an custom cartridge with pyhton 3.4? Or even update the existing python cartridge?
If yes, how does it work?
It might be possible to create a custom cartridge that has python 3.4. You would need to ssh into a gear on OpenShift Online (or use a compatible local RHEL or CentOS installation) to compile python 3.4 and it's dependencies, then you can use the Cartridge Developers Guide (https://docs.openshift.org/origin-m4/oo_cartridge_developers_guide.html) to create a cartridge that you can install it with.
You can also add it as a request at https://openshift.uservoice.com and get other users to vote on it.
I tried installing the Python plugin, but it just doesn't seem to work under IntelliJ 12.1.6.
Has Jetbrains abandoned the plugin in favor of PyCharms?
I tried installing the Python plugin, but it just doesn't seem to work under IntelliJ 12.1.6.
Out of curiosity, you say it does not work in 12.1.6, but you link to a forum post from 14 Feb 2013, the day 12.0.4 was the released. So I'm not sure how that's relevant.
Has Jetbrains abandoned the plugin in favor of PyCharms?
The PHP plug-in is basically PyCharm's code bundled for IntelliJ IDEA. I highly doubt JetBrains is abandoning the plug-in. IntelliJ IDEA is its flagship polyglot IDE. And given they released a new version of it less then 2 weeks ago, that's a pretty good sign it is not abandoned.
I'm a little confused as to what versions of the Python plug-in you have tried. You indicate in your above comment "versions 1216 and 1294". I'm not seeing how those values map the the plug-in version. The latest version of the Python plug-in is v3.0.1 which is for IDEA 13 (currently in EAP/beta). The latest plug-in for IDEA 12 (build 129-*) is v2.10.2 released 2013-08-26.
If you are manually downloading the plug-in, you need to pay attention to the "Since build" and "Until build" values. (If you only upgrade from within the Plug-in Manager within IDEA< this is all managed for you.) IDEA 12.1.x builds are on the 129.* branch. IDEA 12.0.x was the 123.* branch. And IDEA 13 is the 133.* branch (with some early releases on the 130.* and 131.* branches). So for 12.1.x, the only compatible plug-ins are:
v2.10.2
v2.10.1
All others are either for earlier versions of IDEA or for the upcoming IDEA 13. IDEA v12.1.6 with Python Plug-in v2.10.2 works fine for me.
Can you verify the plug-in version? If it still does not work, can you provide some more detail on what is not working.
Yes it does, but first you must install the Python plug-in in version intellij ultimate 12.1.7, follow through with creating a new project and you'll see the django technology
installation
File > Settings > Plugins > Install JetBrains plugin... > Python
After installation, create a new project using Python Module
create a project name > next > next > select DJANGO
am looking for a way to run django by just using my xampp, and i bumped into this tutorial online
http://jyotirmaya.blogspot.com/2008/11/xampp-python-django.html
according to the author, mod_python 3.3.1 is not supported by python 2.6, but the blog post was created more then a year ago i think. is this thing still true until now? or its ok if I will use 2.6 and combine it with mod python 3.3.1 ?
mod_python must be compiled against the specific version of Python that the handler will be run in. At the time there was probably no Windows installer for mod_python built against 2.6.4, hence the hysteria.
In all fairness, you should probably be using mod_wsgi to run Django apps instead.