Skip to content

Problem when installing in editable mode #14

@TeresiaOlsson

Description

@TeresiaOlsson

I'm wondering if it should work to install the package in editable mode? Importing the module works fine if I do pip install . after cloning the repository but if I do pip install -e . I get the following error:

PyAMLConfigException: An exception occurred while building key 'instruments.controls.[0].[0]': Module referenced in type cannot be founded: 'tango.pyaml.controlsystem' /home/a3744/Documents/software/pyAML/pyaml/tests/config/EBSTune.yaml at line 11, column 9.

For some reason it seems like the submodule pyaml isn't found in editable mode. If editable mode isn't supposed to work, what is the correct way to install the package to be able to edit? When I install in not editable mode I currently have the following error that I want to fix:

SyntaxError: f-string: unmatched '[' (controlsystem.py, line 93)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions