Code Monkey home page Code Monkey logo

Comments (8)

doggyhaha avatar doggyhaha commented on May 26, 2024 1

Did you install py-tgcalls or pytgcalls? The right name to install is py-tgcalls

from pytgcalls.

doggyhaha avatar doggyhaha commented on May 26, 2024 1

image

Try uninstalling pytgcalls if installed and install only py-tgcalls, and then recompile the script

from pytgcalls.

doggyhaha avatar doggyhaha commented on May 26, 2024 1

Hi, how can I call it then ?
import pytgcalls or import py-tgcalls ?

You install py-tgcalls but import “pytgcalls”, so your code is right, I didn’t notice anything wrong, just install the right lib and recompile

from pytgcalls.

kthenurseone avatar kthenurseone commented on May 26, 2024

image

from pytgcalls.

kthenurseone avatar kthenurseone commented on May 26, 2024

Hi, how can I call it then ?
import pytgcalls or import py-tgcalls ?

from pytgcalls.

kthenurseone avatar kthenurseone commented on May 26, 2024

I did what you said. It's still running as a python script but when I compile it with pyinstaller

File "join_vc.py", line 8, in
from pytgcalls import PyTgCalls
ImportError: cannot import name 'PyTgCalls' from 'pytgcalls' (C:\Users\Kerim\AppData\Local\Temp_MEI95602\pytgcalls_init_.pyc)

Same error happens :/

from pytgcalls.

doggyhaha avatar doggyhaha commented on May 26, 2024

I did what you said. It's still running as a python script but when I compile it with pyinstaller

File "join_vc.py", line 8, in from pytgcalls import PyTgCalls ImportError: cannot import name 'PyTgCalls' from 'pytgcalls' (C:\Users\Kerim\AppData\Local\Temp_MEI95602\pytgcalls__init__.pyc)

Same error happens :/

If it works as a Python script it’s probably a PyInstaller problem, i can’t try right not but check this answer https://stackoverflow.com/questions/22104506/pyinstaller-failing-to-include-some-modules-from-c-python27-lib

from pytgcalls.

Laky-64 avatar Laky-64 commented on May 26, 2024

This issue is resolved?

from pytgcalls.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.