#4082 closed (duplicate)
build_py error: package directory '\django' does not exist
| Reported by: | 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: | no | UI/UX: | no |
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
Change History (4)
comment:1 by , 19 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
| Summary: | setup.py install does not working → build_py error: package directory '\django' does not exist |
comment:4 by , 18 years ago
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
Note:
See TracTickets
for help on using tickets.
This sounds like the same issue as http://code.djangoproject.com/ticket/3245 - where is Django located on your drive (/django? or /somewhere/django?)