You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am sure the error is coming from Pyrogram's code and not elsewhere
I have searched in the issue tracker for similar bug reports, including closed ones
I ran pip3 install -U https://github.com/pyrogram/pyrogram/archive/master.zip and reproduced the issue using the latest development version
Description
I am developing a Telegram bot as a Python library that uses Pyrogram.
And I use Smart Plugin, when I want to set the root path, because the user file does not match the library path, I have to give the library path like this:
dict(root=os.path.dirname(plugins.__file__))
When I change the following code in the pyrogram client file, it works:
File "P:\Python\venv\Lib\site-packages\pyrogram\client.py", line 690, in load_plugins
module = import_module(module_path)
ModuleNotFoundError: No module named 'Python'# PluginRootPath = "[my_drive_name]:\Python\venv\Lib\site-packages\proself\plugins"
The text was updated successfully, but these errors were encountered:
Checklist
pip3 install -U https://github.com/pyrogram/pyrogram/archive/master.zip
and reproduced the issue using the latest development versionDescription
I am developing a Telegram bot as a Python library that uses Pyrogram.
And I use Smart Plugin, when I want to set the root path, because the user file does not match the library path, I have to give the library path like this:
When I change the following code in the pyrogram client file, it works:
Steps to reproduce
Code example
Logs
The text was updated successfully, but these errors were encountered: