-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to install required dependencies? (not a python user here) #252
Comments
Are you able to load those packages from other scripts? You can see if those packages are accessible when you open the interactive Python in the terminal and try to import those packages. Do the following steps if you are unclear:
If the above fails, it is likely that it is an issue with your system. |
Why do we use kitchen? Is it a recently added dependence? 2015-09-22 8:53 GMT+02:00 Hydriz Scholz [email protected]:
|
Emilio J. Rodríguez-Posada, 22/09/2015 11:31:
It was added some time ago to reduce Unicode errors. |
@stefek99 you seem to do same mistakes as me when I was at point 0 of learning curve.
sudo apt-get install virtualenv
cd
mkdir whateverwikiyouwanttoarchivename
cd whateverwikiyouwanttoarchivename
virtualenv venv --no-site-packages
source venv/bin/activate or . venv/bin/activate
you did NOT launch any new shell, just rehashed some settings, so do NOT press on Ctrl+D to leave it, rather use keyword deactivate when you've done everything
pip install kitchen
pip install request (note no sudo fired in progress)
python dumpgenerator.py --api=___SOME___URL___HERE --xml
|
Thank you. Next time I do the backup I'll follow instructions from here. |
Added a link to this task, thanks for your help @silpol! |
I'm following tutorial: https://github.com/WikiTeam/wikiteam/wiki/Tutorial#requirements
I'd say that there are other requirements too (will edit wiki once I manage to complete the process)
I thought I've just installed the required packages? (I've also restarted my terminal)
When at first I tried without
sudo
there were some path permissions errors.This is the first time in year when I'm using anything related to python other than
SimpleHTTPServer
... And I believe than your 5 minute of effort can save me a lot of time (I'd rather focus on my wiki, rather than solving some dependencies jigsaw - I was never good at it)The text was updated successfully, but these errors were encountered: