This is the deprecated Lilypad v1. See https://github.com/bacalhau-project/lilypad for v2. Previous FEVM-Bacalhau bridge (v0): https://github.com/bacalhau-project/lilypad-v0
GNU General Public License v3.0
12
stars
8
forks
source link
workaround for `No package metadata was found for Modicum` #39
When running in dev mode (no DATA_DIRECTORY) on a new checkout, if you get
Traceback (most recent call last):
File "/usr/local/bin/modicum", line 33, in <module>
sys.exit(load_entry_point('Modicum', 'console_scripts', 'modicum')())
File "/usr/local/bin/modicum", line 22, in importlib_load_entry_point
for entry_point in distribution(dist_name).entry_points
File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 957, in distribution
return Distribution.from_name(distribution_name)
File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 548, in from_name
raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for Modicum
then running pip install -e . inside /app inside one of the containers will fix it (permanently, even though the container restarts -- the change that this causes which fixes it, whatever it is, must persist inside the bind-mounted directory)
When running in dev mode (no DATA_DIRECTORY) on a new checkout, if you get
then running
pip install -e .
inside /app inside one of the containers will fix it (permanently, even though the container restarts -- the change that this causes which fixes it, whatever it is, must persist inside the bind-mounted directory)