tagged [python-module]
Why is Python running my module when I import it, and how do I stop it?
Why is Python running my module when I import it, and how do I stop it? I have a Python program I'm building that can be run in either of 2 ways: the first is to call `python main.py` which prompts th...
- Modified
- 21 Oct at 02:19
How to write a Python module/package?
How to write a Python module/package? I've been making Python scripts for simple tasks at work and never really bothered packaging them for others to use. Now I have been assigned to make a Python wra...
- Modified
- 24 Mar at 12:29
ImportError: No module named tensorflow
ImportError: No module named tensorflow Please help me with this error I have installed the tensorflow module on my server and below is it's information ``` 15IT60R19@cpusrv-gpu-109:~$ pip show tensor...
- Modified
- 23 May at 11:46
ModuleNotFoundError: What does it mean __main__ is not a package?
ModuleNotFoundError: What does it mean __main__ is not a package? I am trying to run a module from the console. The structure of my directory is this: [](https://i.stack.imgur.com/naRKa.png) I am tryi...
- Modified
- 18 Jan at 11:53