-
Notifications
You must be signed in to change notification settings - Fork 151
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
ImportError: No module named config #62
Comments
Same issue here on osx. |
I'm also having this issue on macOS 10.12 |
Couldn't the "config" library just be added to the |
@sillysam |
refs #62 move util.py and config.py into modules
@whitebarry @drugones @jonsn0w @sillysam |
I forked, cloned, and followed the steps of making the venv and installing requirements with pip. There were no errors reported during the installation of requirements. When I run yoda I get an ImportError stating that there is no config module. I had to copy config.py(c) from the project root into the
site-packages\modules
folder. I then had the same issue with util.py(c). After that I was able to run yoda successfully.As an aside, I find it unusual to see a package like this where you install the 'production' code and execute it i.e.
pip install .
I think it would be an improvement to move the dependencies to requirements.txt and have the instructions simply call outpip install -r requirements.txt
. The problem this causes for me anyway, maybe I'm missing something obvious, is that when i make a change to the project code, I do not see that reflected by runningyoda
. It is also not obvious to me where the entry point of the app is if, for example, i wanted to run it from within my IDE or from the command line withpython <filename>.py
.What are the steps to reproduce this issue?
pip install .
yoda
What happens?
File "c:\users\barry\pycharmprojects\yoda\venv\yoda\lib\site-packages\modules\setup.py", line 13, in <module> from config import get_config_file_paths ImportError: No module named config
What were you expecting to happen?
For yoda to run normally
What versions of software are you using?
Operating System: Windows 7 Ultimate 64 bit
Python version: 2.7
The text was updated successfully, but these errors were encountered: