Python Forum
Syntax errors: Struggling to setup enviroment and load packages
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Syntax errors: Struggling to setup enviroment and load packages
#1
I'm trying to run code that accesses Flickr's API. The code is pre-designed and reportedly works, and it is available here:
https://github.com/ultralytics/flickr_scraper#readme

I'm very new to python and have gone through the tutorials, appropriate setup for Windows 10 and followed the base instructions to the letter, but I just can't get this to work. I have some programming experience using R to complete similar tasks.

The first instruction on the ReadMe is:
$ git clone https://github.com/ultralytics/flickr_scraper
$ cd flickr_scraper
$ pip install -U -r requirements.txt

When I run this, I keep receiving syntax errors after the first space in all my code. What am I doing wrong? I think I need to create a virtual environment to install/import new packages but I'm getting confused.

I know this is quite a basic problem, but could anyone help with step by step instructions? Thanks for your time.
Reply


Messages In This Thread
Syntax errors: Struggling to setup enviroment and load packages - by AH56 - Jun-24-2021, 12:35 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Struggling with Juggling JSON Data SamWatt 7 1,887 May-09-2022, 02:49 AM
Last Post: snippsat
  Struggling for the past hour to define function and call it back godlyredwall 2 2,219 Oct-29-2020, 02:45 PM
Last Post: deanhystad
  struggling with != statements CallumRoberts2004 2 1,541 Aug-18-2020, 03:01 PM
Last Post: GOTO10
  I’m Flat out struggling to understand list indexes gr3yali3n 7 2,916 Jul-20-2020, 07:18 PM
Last Post: princetonits
  Struggling with nested list gr3yali3n 3 2,311 Jul-09-2020, 05:30 PM
Last Post: DPaul
  Struggling to exit this while loop fatherted99 5 2,476 Feb-08-2020, 07:46 PM
Last Post: fatherted99
  Pip Syntax Errors in CMD: Windows 10 and Python 3.8.1 jamesphopper 2 4,450 Feb-08-2020, 07:21 PM
Last Post: jamesphopper
  Struggling with several while loops nsadams87xx 1 1,823 Nov-25-2019, 02:12 AM
Last Post: Larz60+
  struggling with loop/webscrape zarize 4 2,488 Sep-27-2019, 08:44 AM
Last Post: zarize
  Still struggling with np.where... pberrett 1 1,847 May-10-2019, 11:30 AM
Last Post: scidam

Forum Jump:

User Panel Messages

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