Google App Engine Python - not the last version - python

I've recently downloaded from here the Python GAE, version 1.8.9. After a successfull installation, when I run the GoogleAppEngineLauncher, this is what I get:
as you can see it says that I'm not using the latest version.. but I've installed the latest one, 1.8.9!
Any idea? What am I missing?
Thank you

Related

Using Flask and Jython under Windows 7

Hello everyone,
So I have been trying to use Jython to connect to an API Rest and retrieve some information. Now I want to use the Flask Framework with it. I have been trying to install the Flask with Jython but it does not seem to work at all. I am working on a Windows 7 machine and the problem for me is also that I can not download directly from the internet. For all other framework I used python wheels and installed these with Jython which worked fine.
I already tried to following commands and got these errors:
First error that I got was that it could not find the 'init.py' file in the flask folder so I changed the path in the file to the total path. But it just continued to give me more errors.
jython -m pip install '*.whl
Screenshot of the command line ouput of the error
pip install '*.whl (same as above)
I am a little stuck here and I hope that someone has an idea on how to solve this problem.
Big thanks already!!
This appears to be a bug with Jython 2.7.0. See this error report in pip and this one in Jython.
The second of those indicates that it is fixed in the 2.7.1 release candidate.

google app engine not running after upgrading to yosemite

I recently upgraded my macbook to yosemite, and am having trouble starting the google app engine. When I try to run any app, I get a yellow clock, and all options are greyed out.
When I look in GAE prefs, the default python path is
/usr/local/bin/python2.7
but yosemite does not use that location
$ which python
/Library/Frameworks/Python.framework/Versions/2.7/bin/python
I have tried entering that value in the GAE prefs, but I still get the same issue. I also tried installing the newest ver of python, but it installed in the same loc, with no option to install in /usr/local/bin
Do I need to do something in terms of the symlinks? Has anyone else run across this issue?
thanks,
bp

Google App Engine SDK Fatal Error

I installed Python 3.4 on my Mac (OS 10.9.3) and my command for running Google App Engine from the terminal via /usr/local/dev_appengine stopped working. I then (stupidly) did some rather arbitrary things from online help forums and now my Google App Engine itself stopped working as well. When I open it, it says:
Sorry, pieces of GoogleAppEngineLauncher.app appear missing or corrupted, or I can't run python2.5 properly. Output was:
I have tried to delete the application and all related files and reinstall, but nothing has worked for me. It now fails to make the command symlinks as well so when I try to run from terminal I get /usr/local/bin/dev_appserver.py: No such file or directory.
App Engine does not support Python 3.x. Do you still have 2.x installed? Go to your Google App Engine Launcher > Preferences, and make sure you have the proper Python Path to your v2.x. It should be something like "/usr/bin/python2.7"
From Terminal, typewhereis python to help find it. If you know you were using version 2.7, try: whereis python2.7

NumPy on Python 3.3 on Windows 8

I am trying to get NumPy to work on my new Windows 8 installation, with Python 3.3 installed. When I try (both) installers from here, they crash when I click 'Install'.
Has anyone had success with the same setup?
EDIT: Error image:
It seems, from the capture, that your trying to instal version:
numpy-unoptimized-1.6.2.win32-py3.3.‌exe
However, I just checked the site this morning, and the latest available version is:
numpy-unoptimized-1.6.2.win32-py3.2.‌exe
Have you tried the installer again lately (using the latest build)?

No module named psycopg2

I have Django project which uses postgresql 9. I installed psycopg2 and when I run project I receive 'Error loading psycopg2 module: dll load failed'. I met this issue for the first time. I have windows 7 x64 with python2.7. How can I solve this one?
I had the same problem, it was that psycopg2 does not install well in Windows with _easy_install_, I followed the instructions on the follow SO answer:
Installing psycopg2 (postgresql) in virtualenv on windows
You need to manually install the psycopg2 exe file:
psycopg2-2.4.2.win-amd64-py2.7-pg9.0.4-release.exe
I know this is going to haunt me again or as nwcell puts it:
Every time I need to set up psycopg2 on windows, I wind up wanting to shoot something.
I actually have a machine with it working and I've been at pains to setup another machine. I installed Python 3.8 and the old PC has 3.7.4. The main difference was the file:
C:\project\venv\Lib\site-packages\psycopg2_psycopg.cp37-win32.pyd
On the new PC it was showing as AMD64. I eventually uninstalled 3.8 and reverted back to 3.7.4, then I copied the files from the old PC to the new and then I hit this error:
https://stackoverflow.com/a/37819509/495455
Going to a WayBackMachine version of the stickpeople:
https://web.archive.org/web/20191003103502/http://www.stickpeople.com/projects/python/win-psycopg/
I didn't install the exe, I simply did a pip install -Iv psycopg2-binary==2.8.4 at which point it started working. So I'm thinking the latest version doesn't work, for me 2.8.4 still works: https://pypi.org/project/psycopg2/#files
It's something to do with x64 as everything I tried with AMD64 didn't work and I spent ages on it.

Categories