GoogleCloudPlatform / GoogleCloudPlatform/functions-framework-python

functions-framework does not use the sourced venv

オープン
#219 コメント 2 件 リアクション 4 件 担当者 0 名 GitHub で見る
bug P3
主要言語
Python
スター
968
フォーク
128
PR マージ指標
30日以内にマージされた PR はありません

説明

I am using the functions-framework to develop on my local machine and I have created a python venv for the project. Following is a description of my issue:
- I have installed the firebase_admin lib within the venv and I am importing it within the src code.
- I am running the command: `functions-framework --source ./src/main.py --target main`
- The above command fails with following error: `ModuleNotFoundError: No module named 'firebase_admin'`
- The above error **does not** occur if I install the firebase_admin lib outside the venv (global scopte)

Is there a way to specify which python env to use or is always set to the global python scope?

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。