SPerla
SPerla

Reputation: 1

ModuleNotFoundError: No module named '__main__.pyrfc'; '__main__' is not a package

I already install

C:\Python37>pip3 install pyrfc`

my output like this.

Collecting pyrfc
  Downloading pyrfc-0.1.2.tar.gz (3.5 kB)
Installing collected packages: pyrfc
    Running setup.py install for pyrfc ... done
Successfully installed pyrfc-0.1.2

but when import I see this issue:

Traceback (most recent call last):
  File "<pyshell#2>", line 1, in <module>
    from .pyrfc import *
ModuleNotFoundError: No module named '__main__.pyrfc'; '__main__' is not a package

Upvotes: 0

Views: 792

Answers (0)

Related Questions