! pip download -r requirements.txt -d ./wheels --verbose
< /code>
Это сгенерированная ошибка: < /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 problem 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.
Есть ли способ это исправить?
Вот мои требования.>
Я пытаюсь загрузить все пакеты с требований.[code]! pip download -r requirements.txt -d ./wheels --verbose < /code> Это сгенерированная ошибка: < /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 problem 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] Есть ли способ это исправить? Вот мои требования.>
У меня есть следующее определение задания пакета ресурсов блоков данных:
- task_key: test-model-from-wheel
python_wheel_task:
entry_point: run # Entry point of the wheel
package_name: myservice # must match the name of your package in toml or...
Я внедрил Zoom внедрять/из -за изображения с использованием события мышиного колеса, которое успешно работает. Но поведение отличается, когда я делаю это с помощью TouchPad (используя два пальца для увеличения/OUT). Как дифференцировать событие Beet...
Я предполагаю, что вы все знаете, что такое основные цифры и каковы сито Эратостенес, поэтому я не буду тратить время на объяснение их. > 13, 17, 19, 23, 29] % 30. Это видно из природы модуля. Существует только 30 возможностей, если модуль даже в то...
Я предполагаю, что вы все знаете, что такое основные цифры и каковы сито Эратостенес, поэтому я не буду тратить время на объяснение их. > 13, 17, 19, 23, 29] % 30. Это видно из природы модуля. Существует только 30 возможностей, если модуль даже в то...
Я создаю модель машинного обучения. Я создал файл requirements.txt, в котором пишу библиотеки, а затем запускаю этот текстовый файл, чтобы установить библиотеки.
При установке библиотеки Toad я столкнулся с этой ошибкой: