! pip download -r requirements.txt -d ./wheels --verbose
< /code>
Es wurde ein Fehler erzeugt: < /p>
Obtaining bq_helper from git+https://github.com/SohierDane/BigQuery_Helper@8615a7f6c1663e7f2d48aa2b32c2dbcb600a440f#egg=bq_helper (from -r requirements.txt (line 53))
Running command git config --get-regexp 'remote\..*\.url'
remote.origin.url https://github.com/SohierDane/BigQuery_Helper
Running command git rev-parse HEAD
8615a7f6c1663e7f2d48aa2b32c2dbcb600a440f
Skipping because already up-to-date.
Running command python setup.py egg_info
error: Multiple top-level modules discovered in a flat-layout: ['version', 'bq_helper', 'test_helper'].
To avoid accidental inclusion of unwanted files or directories,
setuptools will not proceed with this build.
If you are trying to create a single distribution with multiple modules
on purpose, you should not rely on automatic discovery.
Instead, consider the following options:
1. set up custom discovery (`find` directive with `include` or `exclude`)
2. use a `src-layout`
3. explicitly set `py_modules` or `packages` with a list of names
To find more information, look for "package discovery" on setuptools docs.
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a [url=viewtopic.php?t=26065]problem[/url] with pip.
full command: /usr/bin/python3 -c '
exec(compile('"'"''"'"''"'"'
# This is -- a caller that pip uses to run setup.py
#
# - It imports setuptools before invoking setup.py, to enable projects that directly
# import from `distutils.core` to work with newer packaging standards.
# - It provides a clear error message when setuptools is not installed.
# - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so
# setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning:
# manifest_maker: standard file '"'"'-c'"'"' not found".
# - It generates a shim setup.py, for handling setup.cfg-only projects.
import os, sys, tokenize
try:
import setuptools
except ImportError as error:
print(
"ERROR: Can not execute `setup.py` since setuptools is not available in "
"the build environment.",
file=sys.stderr,
)
sys.exit(1)
__file__ = %r
sys.argv[0] = __file__
if os.path.exists(__file__):
filename = __file__
with tokenize.open(__file__) as f:
setup_py_code = f.read()
else:
filename = ""
setup_py_code = "from setuptools import setup; setup()"
exec(compile(setup_py_code, filename, "exec"))
'"'"''"'"''"'"' % ('"'"'/kaggle/working/src/bq-helper/setup.py'"'"',), "", "exec"))' egg_info --egg-base /tmp/pip-pip-egg-info-rgvr237v
cwd: /kaggle/working/src/bq-helper/
Preparing metadata (setup.py) ... error
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Gibt es eine Möglichkeit, dies zu beheben?
Hier ist meine Anforderungen.>
Ich versuche, alle Pakete von Anforderungen herunterzuladen.[code]! pip download -r requirements.txt -d ./wheels --verbose < /code> Es wurde ein Fehler erzeugt: < /p> Obtaining bq_helper from git+https://github.com/SohierDane/BigQuery_Helper@8615a7f6c1663e7f2d48aa2b32c2dbcb600a440f#egg=bq_helper (from -r requirements.txt (line 53)) Running command git config --get-regexp 'remote\..*\.url' remote.origin.url https://github.com/SohierDane/BigQuery_Helper Running command git rev-parse HEAD 8615a7f6c1663e7f2d48aa2b32c2dbcb600a440f Skipping because already up-to-date. Running command python setup.py egg_info error: Multiple top-level modules discovered in a flat-layout: ['version', 'bq_helper', 'test_helper'].
To avoid accidental inclusion of unwanted files or directories, setuptools will not proceed with this build.
If you are trying to create a single distribution with multiple modules on purpose, you should not rely on automatic discovery. Instead, consider the following options:
1. set up custom discovery (`find` directive with `include` or `exclude`) 2. use a `src-layout` 3. explicitly set `py_modules` or `packages` with a list of names
To find more information, look for "package discovery" on setuptools docs. error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> See above for output.
note: This error originates from a subprocess, and is likely not a [url=viewtopic.php?t=26065]problem[/url] with pip. full command: /usr/bin/python3 -c ' exec(compile('"'"''"'"''"'"' # This is -- a caller that pip uses to run setup.py # # - It imports setuptools before invoking setup.py, to enable projects that directly # import from `distutils.core` to work with newer packaging standards. # - It provides a clear error message when setuptools is not installed. # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: # manifest_maker: standard file '"'"'-c'"'"' not found". # - It generates a shim setup.py, for handling setup.cfg-only projects. import os, sys, tokenize
try: import setuptools except ImportError as error: print( "ERROR: Can not execute `setup.py` since setuptools is not available in " "the build environment.", file=sys.stderr, ) sys.exit(1)
__file__ = %r sys.argv[0] = __file__
if os.path.exists(__file__): filename = __file__ with tokenize.open(__file__) as f: setup_py_code = f.read() else: filename = "" setup_py_code = "from setuptools import setup; setup()"
× Encountered error while generating package metadata. ╰─> See above for output.
note: This is an issue with the package mentioned above, not pip. hint: See above for details. [/code] Gibt es eine Möglichkeit, dies zu beheben? Hier ist meine Anforderungen.>
Ich benutze Google BigQuery für mein Projekt
Im Moment versuche ich, eine neue Zeile in BQ zu fügen, basierend auf diesem
private void insertRowsToBQ(MyCustomObject data) {
String datasetName =...
Ich muss meine bereitgestellte Datenbank verwenden. Die Suche nach einer Lösung im Internet funktioniert nicht, bis ich mich entschied, die hier gefundene Bibliothek zu verwenden. Es fiel mir jedoch...
Ich versuche, eine Komponistin in einem Laravel -Projekt zu installieren, das aus Git kloniert ist.
, aber ich bekomme einige Fehler. Eine, die ich gelöst habe, war:
- phpunit/phpunit require...
Ich versuche, die pfeiloptimierte Python-UDF von Spark 4 wie unten zu testen,
from pyspark.sql import SparkSession
from pyspark.sql.functions import col, lit, udf
from pyspark.sql.types import...