Code

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#4082 closed (duplicate)

build_py error: package directory '\django' does not exist

Reported by: keymone@… Owned by: jacob
Component: Documentation Version: 0.96
Severity: Keywords: windows setup
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

you say install apache, mod_python, bring up mysql and then type "setup.py install" in console

i did and i got this:

running install
running build
running build_py
error: package directory '\django' does not exist

any ideas?
P.S. platform W1nXP, Apach3 2.2, m0d_pyth0n 3.3.1, MySQL 5.0, Djang0-0.96

Attachments (0)

Change History (4)

comment:1 Changed 7 years ago by Simon G. <dev@…>

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to duplicate
  • Status changed from new to closed
  • Summary changed from setup.py install does not working to build_py error: package directory '\django' does not exist

This sounds like the same issue as http://code.djangoproject.com/ticket/3245 - where is Django located on your drive (/django? or /somewhere/django?)

comment:2 Changed 7 years ago by Simon G. <dev@…>

Closed in favor of #4128

comment:3 Changed 7 years ago by anonymous

i met the same problem while installing django

comment:4 Changed 7 years ago by Gleb Esman

Here's what I did to install it on Windows without too much mind bending:

  • Download 'Django-0.96.tar.gz' or whatever the latest version into C:\1 directory
  • Unzip it - the directory 'C:\1\Django-0.96' got created
  • All from the command prompt:
  • Run: subst J: C:\1\Django-0.96
  • Run: J:
  • Run: setup.py install - now it works flawlessly.
  • Run: C:
  • Run: subst J: /d

Gleb
http://www.mensk.com

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.