tindetheus
tindetheus copied to clipboard
ImportError: attempted relative import with no known parent package
from .version import version # noqa F401 This line gives the error message in the title. No clue what this error means. I've been reading the getting started page for hours and I can't figure this issue out. Any help would be greatly appreciated :)
Did you install tindetheus? What version of Python are you using?
I created the .env file with my facebook auth token, initialized git in that folder, downloaded the 20170512-110547 that you had a link to, decompressed it, cloned your repo. I installed requirements.txt for both python 3 and 2. The python 3 one had an error finding tensorflow. When i try to run tindetheus.py in python 3, I get the error above. When I try to run it in 2, it can't import pandas which I've installed. So I'm not exactly sure what I'm doing wrong. Thank you so much!
So it seems like you are most of the way there. The CI test builds of Python 3.5 3.6 and 3.7, so I would use one of those versions.
What command are you running when you get the import error?
Are you able to access tindetheus from the command line?
https://github.com/cjekel/tindetheus/blob/master/GETTING_STARTED.md#native-setup
So step 2 is your installation of tindetheus
And step 3 is just a test that the command line application tindetheus is working. You will need to cd back into the tinder directory to get that running (with your authentication).
I'm not sure if you are on a linux system, but after installation should be able to run the command
tindetheus --help
Hey, just following up. I'm happy to troubleshoot any issues you might be running into with this, but I need to know a bit more about your setup to troubleshoot the problem.
Ah, I've got python 3.8 running. In your GETTING_STARTED page, I've followed up through native setup steps 1 and 2. When I type "tindetheus browse", I get "command not found: tindetheus." So I've tried changing into the tindetheus directory, running it like "python3 tindetheus" and then I'm getting that error in the title. I'm sorry that I'm relatively new to programs of this complexity, but I really appreciate your help :) perhaps at this point it's just beyond my skill level right now and that's fine as well
Are you using conda?
It sounds like you have more than one Python installation on your system. This creates some headaches, but isn't too terrible to work with.
One trick you can do is manually specify which python version like this
python3.8 -m tindetheus
which will try to run the command line script with the specific pyhon3.8. This is similar to how you would call pip like
python3.8 -m pip install {your package here}