WebFaction
Community site: login faq

Hello,

Silly question, but in step #6 here, just wanted to confirm that the command should be:

$ cp -R Django-version_number/django lib/pythonx.y/django

... instead of:

$ cp -R Django-version_number/django lib/pythonX.Y

Thank you!

Cheers, Micky

asked 21 Mar '12, 23:54

mhulse
411617
accept rate: 0%


It should not matter, both commands copy the directory into 'lib/pythonX.Y'. Command 1 names the new directory 'django', the second keeps the directory name, but still moves into 'lib/pythonX.Y'. Both should let 'import django' work correctly.

permanent link

answered 22 Mar '12, 00:16

johns
5.4k312
accept rate: 23%

Thanks John! When I ran the second command, it copied all of the contents of "django" into the pythonX.Y folder... My previous install of django was "pythonX.Y/django/...". I probably just did it wrong, and like you said, it does not matter. :D

Thanks for the clarification! Much appreciated!

(22 Mar '12, 00:43) mhulse

I just tested again, and cp -R Django-1.4/django lib/python2.7 worked like how you explained it... The folder "django" was copied into python2.7 folder. I'm not sure why it did not work the other day. Sorry for my noob mistake. :D

Thanks again!!!!

(23 Mar '12, 21:29) mhulse
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×16
×3
×2
×1

question asked: 21 Mar '12, 23:54

question was seen: 1,606 times

last updated: 23 Mar '12, 21:29

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2020 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM