Skip to content
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 use Steps #40

Open
raomohsinkhan opened this issue Oct 15, 2021 · 0 comments
Open

How to use Steps #40

raomohsinkhan opened this issue Oct 15, 2021 · 0 comments

Comments

@raomohsinkhan
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant