Python Forum
Advice for installing python app from github ?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Advice for installing python app from github ?
#1
Good Evening,

I am just starting out with python (3.11) and i wanted to download an app from github ( a python photo album ). The author has kindly made some instructions, but i am totally lost already !!
in the windows (10) command line i tyype "py" and python 3.11.1 starts with the black screen, then i tried the instructions:-

1.Create venv virtual environment:
virtualenv virtualenv_name

i typed this into the python command line and received :-
>>> virtualenv virtualenv_name
File "<stdin>", line 1
virtualenv virtualenv_name
^^^^^^^^^^^^^^^
SyntaxError: invalid syntax

2. Activate venv virtual environment:
On Linux - source virtualenv_name/bin/activate
On Windows - virtualenv_name/Scripts/activate

does this windows command go into the command line as well ?

3.Firstly you need to clone or download my project from github repositories:
git clone https://github.com/hossainchisty/Photo-Album-App.git

i got this to work, it has been saved into "C:\Users\Adrian\Documents\GitHub\Photo-Album-App"

4. Then enter the corresponding directory:
cd Photo-Album-App

i substituted this for the path that the album has been installed in and received :-

C:\Users\Adrian\Documents\GitHub\Photo-Album-Appcd
^
SyntaxError: unexpected character after line continuation character

i am not sure where any of the following should be typed :-

Install all the requirements using pip:
pip install -r requirements.txt

Run server:
python manage.py runserver

Then go to http://127.0.0.1:8000 in your browser
Create Admin
python manage.py createsuperuser

Access the admin dashboard http://127.0.0.1:8000/admin

the github page is https://github.com/hossainchisty/Photo-Album-App#readme

any advice would be much appreciated !!!

Best Regards

Adrian
Reply


Messages In This Thread
Advice for installing python app from github ? - by Adi44 - Aug-07-2023, 04:47 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Installing Github-programs AudunNilsen 1 278 Mar-22-2024, 04:28 PM
Last Post: deanhystad
  Looking for advice on funstionality of python bradkernohan 1 1,350 Feb-21-2022, 09:26 PM
Last Post: Larz60+
  Advice about Python pythonman13 4 2,682 Mar-21-2021, 07:22 PM
Last Post: jefsummers
  Running python scripts from github etc pacmyc 7 3,811 Mar-03-2021, 10:26 PM
Last Post: pacmyc
  How can I download Python files from GitHub? bitcoin10mil 2 2,886 Aug-26-2020, 09:03 PM
Last Post: Axel_Erfurt
  configure Github with python yellareddy 1 10,407 Apr-20-2020, 05:37 PM
Last Post: buran
  Advice on Setting Up the Python Environment punksnotdead 1 2,416 May-15-2019, 04:29 PM
Last Post: snippsat
  C++ programmer requests Python Web/database advice GregReese 3 81,255 Apr-10-2019, 09:41 PM
Last Post: snippsat
  Installing and running a python web scraping app from github to a windows 8.1 system eugenioca 17 8,389 Oct-06-2018, 08:14 AM
Last Post: eugenioca
  Need advice for learning python Nurram 1 2,910 Mar-28-2017, 06:28 AM
Last Post: wavic

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020