PhonePe / PhonePe/phonepe-pg-sdk-python
pkg_resource is deprecated last year. Should use importlib instead. Plz fix this asap
@282000ypk is already working on this.
Since Apr 22, 2026.
- Dominant language
- Python
- Stars
- 0
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
Hi I'm working on integrating phonepe python SDK.
recently i got this new Error, and it's coming right away from this SDK. have a look.
from service.phonepe_service import get_intent_url, order_status, subscription_status, notify_subscription, redeem_subscription, cancel_subscription, refund
File "/Users/suman/Documents/projects/fans-live/fl-phonepe-service/service/phonepe_service.py", line 5, in
from phonepe.sdk.pg.subscription.v2.subscription_client import SubscriptionClient
File "/Users/suman/Documents/projects/fans-live/fl-phonepe-service/venv/lib/python3.14/site-packages/phonepe/sdk/pg/subscription/v2/subscription_client.py", line 17, in
from phonepe.sdk.pg.common.base_client import BaseClient
File "/Users/suman/Documents/projects/fans-live/fl-phonepe-service/venv/lib/python3.14/site-packages/phonepe/sdk/pg/common/base_client.py", line 34, in
from phonepe.sdk.pg.common.events.publisher.event_publisher_factory import (
EventPublisherFactory,
)
File "/Users/suman/Documents/projects/fans-live/fl-phonepe-service/venv/lib/python3.14/site-packages/phonepe/sdk/pg/common/events/publisher/event_publisher_factory.py", line 17, in
from phonepe.sdk.pg.common.events.publisher.queued_event_publisher import QueuedEventPublisher
File "/Users/suman/Documents/projects/fans-live/fl-phonepe-service/venv/lib/python3.14/site-packages/phonepe/sdk/pg/common/events/publisher/queued_event_publisher.py", line 18, in
from apscheduler.schedulers.background import BackgroundScheduler
File "/Users/suman/Documents/projects/fans-live/fl-phonepe-service/venv/lib/python3.14/site-packages/apscheduler/init.py", line 1, in
from pkg_resources import get_distribution, DistributionNotFound
ModuleNotFoundError: No module named 'pkg_resources'
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.