Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: cannot import name 'strptime_to_utc' from 'singer.utils' (/opt/homebrew/lib/python3.9/site-packages/singer/utils.py) #94

Open
rajeshanbarasu opened this issue Sep 14, 2022 · 2 comments

Comments

@rajeshanbarasu
Copy link

rajeshanbarasu commented Sep 14, 2022

Hi All

I am setting up the tap-mambu (as per the documentation) on my local machine and get the below error when I try to run the tap. Please let me know if I am missing anything

I am not an expert in python. So, please let me know if I am missing any basic stuff.

Traceback (most recent call last):
File "/opt/homebrew/bin/tap-mambu", line 5, in
from tap_mambu import main
File "/opt/homebrew/lib/python3.9/site-packages/tap_mambu/init.py", line 8, in
from tap_mambu.sync import sync_all_streams
File "/opt/homebrew/lib/python3.9/site-packages/tap_mambu/sync.py", line 4, in
from .helpers.generator_processor_pairs import get_generator_processor_for_stream, get_stream_subtypes
File "/opt/homebrew/lib/python3.9/site-packages/tap_mambu/helpers/generator_processor_pairs.py", line 25, in
from ..tap_processors.audit_trail_processor import AuditTrailProcessor
File "/opt/homebrew/lib/python3.9/site-packages/tap_mambu/tap_processors/audit_trail_processor.py", line 1, in
from .processor import TapProcessor
File "/opt/homebrew/lib/python3.9/site-packages/tap_mambu/tap_processors/processor.py", line 4, in
from singer.utils import strptime_to_utc, now as singer_now
ImportError: cannot import name 'strptime_to_utc' from 'singer.utils' (/opt/homebrew/lib/python3.9/site-packages/singer/utils.py)

@svlada
Copy link

svlada commented Mar 15, 2023

@rajeshanbarasu Have found solution? I'm having the same issue.

@aducci
Copy link

aducci commented Apr 4, 2023

found that you can avoid this error by installing inside a vEnv and installing dependencies using "pip install ."

brew install virtualenv
Python3 -m venv ~/.virtualenvs/tap-mambu
source ~/.virtualenvs/tap-mambu/bin/activate
Git clone https://github.com/singer-io/tap-mambu.git
Pip install .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants