Skip to content

How to use Steps #40

@raomohsinkhan

Description

@raomohsinkhan

Hi there,

I am following your steps
How to use
Create a folder to store this project. Open this folder on terminal and run the following commands

  1. Clone the project
    git clone https://github.com/rodrigoddc/django_pdf.git
  2. Create a virtual environment
    python3 -m venv venv
  3. Activate the the virtual environment previously created
    on linux: source ./venv/bin/activate on windows: ./venv/Scripts/activate.bat
  4. Installing libs
    pip install -r requirements.txt
  5. Creating database
    python manage.py makemigrations
  6. Migrating database models
    python manage.py migrate
  7. Running
    python manage.py runserver

but it is not working on windows 10
I am getting error on installing requiremtns
ERROR: Command errored out with exit status 1:
command: 'C:\Users\Dell\Envs\tapp1\Scripts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Dell\AppData\Local\Temp\pip-install-vr4mgyge\pillow_674bff9f89dd4c0e916f853485397ed8\setup.py'"'"'; file='"'"'C:\Users\Dell\AppData\Local\Temp\pip-install-vr4mgyge\pillow_674bff9f89dd4c0e916f853485397ed8\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\Dell\AppData\Local\Temp\pip-record-pihhkmgw\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\Dell\Envs\tapp1\include\site\python3.9\Pillow'
Pillow 7.1.2 does not support Python 3.9 and does not provide prebuilt Windows binaries. We do not recommend building from source on Windows.
....
..
Your app will not run on windows???

I am looking forward to hearing from you soon.
Many thanks,
Rao

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions