Importing Python files
MartinRose

I have had problems importing my python files on repl.it but I can do it when I do it locally. I have been searching around to get an answer but all the methods have come up empty, maybe someone here can help. I have tried to import with these commands:
import TommyTheSegest
from TommyTheSegest import *
from TommyTheSegest import initiate

I named it that because I wanted to make sure that I did not collide with a command that it was trying to import from elsewhere, at least that was my intent. When I try those commands, I think my Linux tries to install an external command and I have no idea why. I get this error to be more exact:

"
Repl.it: Installing fresh packages

Collecting TommyThe Segest
Could not find a version that satisfies the requirement TommyTheSegest (from versions: )
No matching distributions found for TommyTheGreatest
You are using pip version 19.0.0, however version 19.2.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

Repl.it: package installation failed!
"

I am familiar with some Linux and sees that the pip command has less to do with Pythong and more with the Linux itself. I tryed typing the command in the console just in case but of course that did not work. What am I doing wrong?

Thanks in advance
A frustrated beginner

You are viewing a single comment. View All
Answered by ArchieMaclean [earned 5 cycles]
View Answer
ArchieMaclean

@SCOTBUTZBACH It is, is that a problem?