Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named 'db' #6

Open
prashanthkolaneru opened this issue Oct 8, 2018 · 11 comments
Open

No module named 'db' #6

prashanthkolaneru opened this issue Oct 8, 2018 · 11 comments

Comments

@prashanthkolaneru
Copy link

(yourenvname) C:\Users\User>english2cypher-master\e2c\predict.py
Traceback (most recent call last):
File "C:\Users\User\english2cypher-master\e2c\predict.py", line 23, in
from db import *
ModuleNotFoundError: No module named 'db'

@davidhughhenrymack
Copy link
Contributor

davidhughhenrymack commented Oct 8, 2018 via email

@prashanthkolaneru
Copy link
Author

i am using python 3.6.4

@davidhughhenrymack
Copy link
Contributor

davidhughhenrymack commented Oct 8, 2018 via email

@prashanthkolaneru
Copy link
Author

prashanthkolaneru commented Oct 8, 2018

i am using anaconda terminal and doing in virtual environment
i downloaded file and copied in home directory

C:\Users\User>english2cypher-master\english2cypher-master\e2c\predict.py
Traceback (most recent call last):
File "english2cypher-master\english2cypher-master\e2c\predict.py", line 23, in
from db import *
ModuleNotFoundError: No module named 'db'
got this problem

@davidhughhenrymack
Copy link
Contributor

davidhughhenrymack commented Oct 8, 2018 via email

@prashanthkolaneru
Copy link
Author

hi

(english2cypher) C:\Users\User>git clone https://github.com/Octavian-ai/english2cypher.git
Cloning into 'english2cypher'...
remote: Enumerating objects: 437, done.
remote: Total 437 (delta 0), reused 0 (delta 0), pack-reused 437
Receiving objects: 100% (437/437), 10.70 MiB | 591.00 KiB/s, done.
Resolving deltas: 100% (300/300), done.

(english2cypher) C:\Users\User>python -m e2c.predict
C:\Users\User\Anaconda3\envs\english2cypher\python.exe: Error while finding module specification for 'e2c.predict' (ModuleNotFoundError: No module named 'e2c')

(english2cypher) C:\Users\User>
this is the problem i am facing

@davidhughhenrymack
Copy link
Contributor

davidhughhenrymack commented Oct 9, 2018 via email

@prashanthkolaneru
Copy link
Author

C:\Users\User>cd C:\Users\User\english2cypher

C:\Users\User\english2cypher>python -m e2c.predict
C:\Users\User\Anaconda3\python.exe: No module named e2c.predict

i am not sure python -m e2c.predict is not python command

@davidhughhenrymack
Copy link
Contributor

davidhughhenrymack commented Oct 9, 2018 via email

@prashanthkolaneru
Copy link
Author

prashanthkolaneru commented Oct 9, 2018

image this error

2)i had set of questions and answers in a csv file
where i should put that file in your code
to generate english2cypher and give answer as output.

@davidsketchdeck
Copy link
Contributor

  1. Make sure you're running the right version of tensorflow (check the pipfile)
  2. Either follow the YAML format in /data or write some code to load your CSV directly :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants