GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Q: Requirements.txt needs to be run each time the virtualenv is invoked? · Issue #589 · GoogleCloudPlatform/python-docs-samples

Q: Requirements.txt needs to be run each time the virtualenv is invoked? #589

New issue
Copy link
New issue
Copy link
Closed
Closed
Q: Requirements.txt needs to be run each time the virtualenv is invoked?#589
Copy link

Description

@thecloudist
thecloudist
opened on Oct 18, 2016
Issue body actions

I assumed it needed to be run the first time only.
Also, it looks like you are using sphinx. Isn't this a self-contained voice rec system?

This is a huge load of stuff being installed since I used it yesterday.
Were there very large changes pushed last night?

Tons of this:

oringssl/ssl/d1_srvr.c -o python_build/temp.linux-armv7l-2.7/third_party/boringssl/ssl/d1_srvr.o -fno-wrapv -fvisibility=hidden -pthread -std=gnu99
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DOPENSSL_NO_ASM=1 -D_WIN32_WINNT=1536 -DGPR_BACKWARDS_COMPATIBILITY_MODE=1 -DPyMODINIT_FUNC=attribute((visibility ("default"))) void -Isrc/python/grpcio -Iinclude -I. -Ithird_party/boringssl/include -Ithird_party/zlib -I/usr/include/python2.7 -c third_party/boringssl/ssl/dtls_record.c -o python_build/temp.linux-armv7l-2.7/third_party/boringssl/ssl/dtls_record.o -fno-wrapv -fvisibility=hidden -pthread -std=gnu99
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DOPENSSL_NO_ASM=1 -D_WIN32_WINNT=1536 -DGPR_BACKWARDS_COMPATIBILITY_MODE=1 -DPyMODINIT_FUNC=attribute((visibility ("default"))) void -Isrc/python/grpcio -Iinclude -I. -Ithird_party/boringssl/include -Ithird_party/zlib -I/usr/include/python2.7 -c third_party/boringssl/ssl/pqueue/pqueue.c -o python_build/temp.linux-armv7l-2.7/third_party/boringssl/ssl/pqueue/pqueue.o -fno-wrapv -fvisibility=hidden -pthread -std=gnu99
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DOPENSSL_NO_ASM=1 -D_WIN32_WINNT=1536 -DGPR_BACKWARDS_COMPATIBILITY_MODE=1 -DPyMODINIT_FUNC=attribute((visibility ("default"))) void -Isrc/python/grpcio -Iinclude -I. -Ithird_party/boringssl/include -Ithird_party/zlib -I/usr/include/python2.7 -c third_party/boringssl/ssl/s3_both.c -o python_build/temp.linux-armv7l-2.7/third_party/boringssl/ssl/s3_both.o -fno-wrapv -fvisibility=hidden -pthread -std=gnu99
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DOPENSSL_NO_ASM=1 -D_WIN32_WINNT=1536 -DGPR_BACKWARDS_COMPATIBILITY_MODE=1 -DPyMODINIT_FUNC=attribute((visibility ("default"))) void -Isrc/python/grpcio -Iinclude -I. -Ithird_party/boringssl/include -Ithird_party/zlib -I/usr/include/python2.7 -c third_party/boringssl/ssl/s3_clnt.c -o python_build/temp.linux-armv7l-2.7/third_party/boringssl/ssl/s3_clnt.o -fno-wrapv -fvisibility=hidden -pthread -std=gnu99

Activity

  1. theacodes commented on Oct 18, 2016

    @theacodes
    theacodes
    on Oct 18, 2016
    Contributor
    More actions

    Requirements.txt needs to be run each time the virtualenv is invoked?

    Yes, you need to run pip install -r requirements.txt every time you create a new virtualenv. If you're activating an existing one where you've already installed dependencies, you don't need to do it.

    I'm not sure how to answer your section question.

  2. theacodes
    closed this as completedon Oct 18, 2016
  3. thecloudist commented on Oct 18, 2016

    @thecloudist
    thecloudist
    on Oct 18, 2016
    Author
    More actions

    This was a v.e. that I have been using since yesterday and everything worked. When I tried to run my app today, it didn't get past the creds validation, missing the package that does that. After I reinstalled requirements, it ran again. Just that it took 20 minutes for requirements to complete. (on a Raspi)

  4. theacodes commented on Oct 18, 2016

    @theacodes
    theacodes
    on Oct 18, 2016
    Contributor
    More actions

    @thecloudist did you change the code between then?

  5. thecloudist commented on Oct 18, 2016

    @thecloudist
    thecloudist
    on Oct 18, 2016
    Author
    More actions

    That's just it. I created a new VM and made the change to the creds imports to:
    'from google.cloud import credentials'.
    After creating it, I installed requirements.txt and as I said, everything ran ok.

    We can close this until the next time I re-enter the v.m. it does the same thing.
    (Hoping it does not)

  6. jerjou commented on Oct 18, 2016

    @jerjou
    jerjou
    on Oct 18, 2016
    Contributor
    More actions

    Did you activate the virtualenv?

    Read more about virtualenv here

  7. telpirion
    added a commit that references this issue on Jan 18, 2023

    chore(deps): update dependency pytest to v7.2.0 (#589)

    f167490
  8. dandhlee
    added a commit that references this issue on Feb 6, 2023

    chore(deps): update dependency pytest to v7.2.0 (#589)

    4050933
  9. telpirion
    added a commit that references this issue on Mar 13, 2023

    chore(deps): update dependency pytest to v7.2.0 (#589)

    33f2b70
  10. Linchin
    added a commit that references this issue on Aug 18, 2025

    chore(deps): update all dependencies (#589)

    56c1310
  11. glasnt
    added a commit that references this issue on Sep 16, 2025

    chore: migrate handwritten samples from googleapis/python-bigquery-st…

    dada3ef
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.