HI community, I'm satrting to use meltano to extra...
# troubleshooting
a
HI community, I'm satrting to use meltano to extrat data from many sources but I still have problems with the setup on windows 11 any idea and best practice please?
e
Hi @AMR ๐Ÿ‘‹ I'm not on Windows, but what problems are you having with the setup?
Also, https://docs.meltano.com/guide/installation-guide/#windows might be a good start if you haven't read it yet
a
HI @Edgar Ramรญrez (Arch.dev) thank you for your help, I'm working on many separeted python spaces as a data eng using anaconda so I create a new conda env with python 3.9 and I try to install meltano using pip and pipx after that I create meltano project but in the step of adding an extractor I have many probs for exp :
Copy code
$ meltano add extractor tap-zoho-crm
2024-03-05T21:32:14.984741Z [warning  ] Failed to create symlink to 'meltano.exe': administrator privilege required
2024-03-05T21:32:17.947075Z [warning  ] `kind: password` is deprecated for setting definitions in favour of `sensitive: true`, and is currently in use by the following settings of extractor 'tap-zoho-crm': 'airbyte_config.client_id', 'airbyte_config.client_secret', 'airbyte_config.refresh_token'. Please open an issue or pull request to update the plugin definition on Meltano Hub at <https://github.com/meltano/hub/blob/main/_data/meltano/extractors/tap-zoho-crm/airbyte.yml>.
Added extractor 'tap-zoho-crm' to your project
Variant:        airbyte (default)
Repository:     <https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-zoho-crm>
Documentation:  <https://hub.meltano.com/extractors/tap-zoho-crm--airbyte>

Installing extractor 'tap-zoho-crm'...
Need help fixing this problem? Visit <http://melta.no/> for troubleshooting steps, or to
join our friendly Slack community.

'unicodeescape' codec can't decode bytes in position 257-258: truncated \uXXXX escape
thnx in advance
also after installing meltano using pipx I have this problem when taping
meltano --version
Copy code
$ meltano --version
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ Traceback (most recent call last) โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ in _run_module_as_main:198                                                                       โ”‚
โ”‚ in _run_code:88                                                                                  โ”‚
โ”‚                                                                                                  โ”‚
โ”‚ in <module>:4                                                                                    โ”‚
โ”‚                                                                                                  โ”‚
โ”‚ C:\Users\a.ouni\AppData\Local\anaconda3\Lib\site-packages\meltano\cli\__init__.py:10 in <module> โ”‚
โ”‚                                                                                                  โ”‚
โ”‚     7 import sys                                                                                 โ”‚
โ”‚     8 import typing as t                                                                         โ”‚
โ”‚     9                                                                                            โ”‚
โ”‚ โฑ  10 from meltano.cli import (  # noqa: WPS235                                                  โ”‚
โ”‚    11 โ”‚   add,                                                                                   โ”‚
โ”‚    12 โ”‚   config,                                                                                โ”‚
โ”‚    13 โ”‚   docs,                                                                                  โ”‚
โ”‚                                                                                                  โ”‚
โ”‚ C:\Users\a.ouni\AppData\Local\anaconda3\Lib\site-packages\meltano\cli\add.py:12 in <module>      โ”‚
โ”‚                                                                                                  โ”‚
โ”‚     9 import click                                                                               โ”‚
โ”‚    10 import requests                                                                            โ”‚
โ”‚    11                                                                                            โ”‚
โ”‚ โฑ  12 from meltano.cli.params import pass_project                                                โ”‚
โ”‚    13 from meltano.cli.utils import (                                                            โ”‚
โ”‚    14 โ”‚   CliError,                                                                              โ”‚
โ”‚    15 โ”‚   PartialInstrumentedCmd,                                                                โ”‚
โ”‚                                                                                                  โ”‚
โ”‚ C:\Users\a.ouni\AppData\Local\anaconda3\Lib\site-packages\meltano\cli\params.py:9 in <module>    โ”‚
โ”‚                                                                                                  โ”‚
โ”‚    6                                                                                             โ”‚
โ”‚    7 import click                                                                                โ”‚
โ”‚    8                                                                                             โ”‚
โ”‚ โฑ  9 from meltano.cli.utils import CliError                                                      โ”‚
โ”‚   10 from meltano.core.db import project_engine                                                  โ”‚
โ”‚   11 from meltano.core.migration_service import MigrationError                                   โ”‚
โ”‚   12 from meltano.core.project_settings_service import ProjectSettingsService                    โ”‚
โ”‚                                                                                                  โ”‚
โ”‚ C:\Users\a.ouni\AppData\Local\anaconda3\Lib\site-packages\meltano\cli\utils.py:18 in <module>    โ”‚
โ”‚                                                                                                  โ”‚
โ”‚    15                                                                                            โ”‚
โ”‚    16 from meltano.core.error import MeltanoConfigurationError                                   โ”‚
โ”‚    17 from meltano.core.logging import setup_logging                                             โ”‚
โ”‚ โฑ  18 from meltano.core.plugin.base import PluginDefinition, PluginType                          โ”‚
โ”‚    19 from meltano.core.plugin.error import InvalidPluginDefinitionError, PluginNotFoundError    โ”‚
โ”‚    20 from meltano.core.plugin_install_service import (                                          โ”‚
โ”‚    21 โ”‚   PluginInstallReason,                                                                   โ”‚
โ”‚                                                                                                  โ”‚
โ”‚ C:\Users\a.ouni\AppData\Local\anaconda3\Lib\site-packages\meltano\core\plugin\__init__.py:3 in   โ”‚
โ”‚ <module>                                                                                         โ”‚
โ”‚                                                                                                  โ”‚
โ”‚    1 from __future__ import annotations                                                          โ”‚
โ”‚    2                                                                                             โ”‚
โ”‚ โฑ  3 from .base import (                                                                         โ”‚
โ”‚    4 โ”‚   BasePlugin,                                                                             โ”‚
โ”‚    5 โ”‚   PluginDefinition,                                                                       โ”‚
โ”‚    6 โ”‚   PluginRef,                                                                              โ”‚
โ”‚                                                                                                  โ”‚
โ”‚ C:\Users\a.ouni\AppData\Local\anaconda3\Lib\site-packages\meltano\core\plugin\base.py:14 in      โ”‚
โ”‚ <module>                                                                                         โ”‚
โ”‚                                                                                                  โ”‚
โ”‚    11 from meltano.core.behavior import NameEq                                                   โ”‚
โ”‚    12 from meltano.core.behavior.canonical import Canonical                                      โ”‚
โ”‚    13 from meltano.core.behavior.hookable import HookObject                                      โ”‚
โ”‚ โฑ  14 from meltano.core.job_state import STATE_ID_COMPONENT_DELIMITER                            โ”‚
โ”‚    15 from meltano.core.plugin.command import Command                                            โ”‚
โ”‚    16 from meltano.core.plugin.requirements import PluginRequirement                             โ”‚
โ”‚    17 from meltano.core.setting_definition import SettingDefinition, SettingKind, YAMLEnum       โ”‚
โ”‚                                                                                                  โ”‚
โ”‚ C:\Users\a.ouni\AppData\Local\anaconda3\Lib\site-packages\meltano\core\job_state.py:8 in         โ”‚
โ”‚ <module>                                                                                         โ”‚
โ”‚                                                                                                  โ”‚
โ”‚     5 import typing as t                                                                         โ”‚
โ”‚     6 from datetime import datetime                                                              โ”‚
โ”‚     7                                                                                            โ”‚
โ”‚ โฑ   8 from sqlalchemy.orm import Mapped, Session, mapped_column                                  โ”‚
โ”‚     9                                                                                            โ”‚
โ”‚    10 from meltano.core.job import JobFinder, Payload                                            โ”‚
โ”‚    11 from meltano.core.models import SystemModel                                                โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
ImportError: cannot import name 'mapped_column' from 'sqlalchemy.orm'
(C:\Users\a.ouni\AppData\Local\anaconda3\Lib\site-packages\sqlalchemy\orm\__init__.py)
e
It seems you previously installed meltano globally with anaconda?
(and that's causing conflicts with other dependencies in that environment)
I haven't used conda in a while so I'm not sure how you manage environments, but you should install meltano into its own isolated environment
a
thank you for these infos
np 1