You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When executing python3 setup.py develop although the dependencies are frozen, looks like there's margin for some libs to have issues with eggs or wheels like it was shown on PR #27.
❯ kytos napps list
Traceback (most recent call last):
File "/tmp/kytos-utils-2/.direnv/python-3.9.12/bin/kytos", line 7, in <module>
exec(compile(f.read(), __file__, 'exec'))
File "/tmp/kytos-utils-2/bin/kytos", line 48, in <module>
from kytos.cli.commands.napps.parser import parse
File "/tmp/kytos-utils-2/kytos/cli/commands/napps/parser.py", line 43, in <module>
from kytos.cli.commands.napps.api import NAppsAPI
File "/tmp/kytos-utils-2/kytos/cli/commands/napps/api.py", line 11, in <module>
from kytos.utils.napps import NAppsManager
File "/tmp/kytos-utils-2/kytos/utils/napps.py", line 16, in <module>
from ruamel.yaml import YAML
ImportError: cannot import name 'YAML' from 'ruamel.yaml' (/tmp/kytos-utils-2/.direnv/python-3.9.12/lib/python3.9/site-packages/ruamel.yaml.clib-0.2.6-py3.9-linux-x86_64.egg/ruamel/yaml/
__init__.py)
If you install it with pip install -e . it also executes the develop mode and the same issue doesn't happen. We should consider replacing the python3 setup.py develop setup instructions in the future to avoid this type of surprise.
The text was updated successfully, but these errors were encountered:
When executing
python3 setup.py develop
although the dependencies are frozen, looks like there's margin for some libs to have issues with eggs or wheels like it was shown on PR #27.If you install it with
pip install -e .
it also executes the develop mode and the same issue doesn't happen. We should consider replacing thepython3 setup.py develop
setup instructions in the future to avoid this type of surprise.The text was updated successfully, but these errors were encountered: