Skip to content
This repository has been archived by the owner on Sep 8, 2023. It is now read-only.

[BUG REPORT] #4

Open
1 task done
lalrochhara opened this issue Jul 2, 2023 · 2 comments
Open
1 task done

[BUG REPORT] #4

lalrochhara opened this issue Jul 2, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@lalrochhara
Copy link

Contact Details

nickylalrochhara917@gmail.com

What happened?

clone this repo to my aws ubuntu terminal, after setting up, i am trying to deployed or start bot, but it's always popup this error "from ptbcontrib.postgres_persistence import PostgresPersistence
ModuleNotFoundError: No module named 'ptbcontrib.postgres_persistence'" i am trying to install this extension, using pip install ptbcontrib.postgres_persistence" nothing is work!

bot can't deployed because of this, how can i fix this issue?

Version

0.1.14

Hosted On

Vps

Relevant logs output

File "/usr/lib/python3.10/runpy.py", line 110, in _get_module_details
    __import__(pkg_name)
  File "/home/ubuntu/kyosuke/kyosuke/__init__.py", line 14, in <module>
    from ptbcontrib.postgres_persistence import PostgresPersistence
ModuleNotFoundError: No module named 'ptbcontrib.postgres_persistence'

Acknowledgement

  • I have followed all of the above steps.
@lalrochhara lalrochhara added the bug Something isn't working label Jul 2, 2023
@xtsea
Copy link
Contributor

xtsea commented Jul 2, 2023

try using sudo apt install libpq-dev python3-dev && pip3 install -r req*

you can use sudo apt install postgresql postgresql-contrib

https://stackoverflow.com/questions/

@lalrochhara
Copy link
Author

try using sudo apt install libpq-dev python3-dev && pip3 install -r req*

you can use sudo apt install postgresql postgresql-contrib

https://stackoverflow.com/questions/

thank you, i will try again.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants