hello, I have installed meltano on my local machin...
# troubleshooting
s
hello, I have installed meltano on my local machine to perform EL on a source. I am using a virtual env but when I install dbt on the same virtual env, the EL command that used to run on meltano throws an error:
Copy code
ImportError: cannot import name 'SelfDescribing' from 'snowplow_tracker'
Has anyone faced this issue before? PS. I tried replicating this issue in another virtual env and got the same issue
w
Hi @shubham. This is a known consequence of installing multiple applications into a single virtual environment, namely DBT and Meltano. As a rule of thumb, every Python application/project should have its own virtual environment. As our installation documentation explains:
Since Meltano is an application, it should always be installed into a clean virtual environment without any other packages installed alongside it.
To simplify installing Meltano into a clean virtual environment,
pipx
can be used to install Meltano instead of
pip
.
pip
is a package installer that comes automatically with Python.
pipx
is a wrapper around
pip
which cleanly installs executable Python applications (such as Meltano) into their own virtual environments.
s
Hi @Will Da Silva (Arch) thanks. I have now installed meltano and dbt in different envs and it's working.
u
Happy to hear it @shubham. Let us know if you run into any issues.