Comments (3)
Maybe solutution:
cd WebPutty
nano fabfile.py
# change:
# APPENGINE_PATH = '/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine'
# to: the real path to your appengine !!!!
# change:
# PYTHON = '/usr/bin/python2.5'
# to: PYTHON = '/usr/bin/python'
# (use 'which python' to find the path to your python)
Now, when you do
fab deploy
the following error will come up"
ImportError: No module named google.appengine.api
This is because there is already a google in python:
>>> import google
>>> google.__file__
'/usr/lib/python2.7/dist-packages/google/__init__.pyc'
There should be a better way, but I did this to get rid of the error:
sudo rm -rf /usr/lib/python2.7/dist-packages/google
from webputty.
I had this problem too, I think it's the instructions for installing Google App Engine that are not clear. The download page instructs you to visit another page for instructions, which links you back to the download page for further details.
No such details are provided anywhere. I guess they just expect you to know how Python works with packages.
The google_appengine
folder does not just need to be unzipped, but also put into your Python system.path
so, on my system, running the unzip command from inside /usr/lib/python2.7/site-packages/
creates a google_appengine
folder in there, and the instructions from WebPutty readme work to deploy everything from then on.
I was trying to run pip deploy from inside of google_appengine/
, obviously a newb mistake.
I do not think you need to rm -rf /usr/lib/python2.7/dist-packages
anything.
from webputty.
I gave up. Do no harm does not mean anything.
from webputty.
Related Issues (20)
- color picker/color swatch
- Bookmarklet
- Add CSSTidy or CleanCSS and/or CSS to SCSS
- Dynamically update CSS changes to everyone looking
- kiln integration
- integrate firesass with firebug lite in the preview pane
- Nerf/Correct common mistakes
- add support for repeating linear gradients to pySCSS
- remember undo history between page refreshes
- add "debugging print styles made easier" to dev docs
- link to wordpress (and other plugins) from docs
- wire up Ctrl-S to explicitly autosave
- add a Visual Studio style dropdown for quick navigation to selectors
- NeedIndexError: no matching index found. (500 error) HOT 10
- Complicated HOT 2
- fab deploy step don't work , documentation not explicit HOT 1
- Can we use Python 2.7? (readme.md needs an update?) HOT 1
- url2png requirements in README
- No module named simplejson HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webputty.