Skip to content

Odin Security: Unable to run constructor #1

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

Open
gvsrini opened this issue Nov 15, 2020 · 0 comments
Open

Odin Security: Unable to run constructor #1

gvsrini opened this issue Nov 15, 2020 · 0 comments

Comments

@gvsrini
Copy link

gvsrini commented Nov 15, 2020

I am new to Python. Am trying to run constructor and it gives me this error.

Please see log below. I did try to add import quandl in constructor.py, but that gives another error (download_symbols() not defined).

Looks like I am doing something fundamentally wrong. Please help

root@vagrant:~/Projects/Odin-Securities# python3 setup.py install
...
...
creating 'dist/odin_securities-1.0-py3.5.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing odin_securities-1.0-py3.5.egg
Removing /usr/local/lib/python3.5/dist-packages/odin_securities-1.0-py3.5.egg
Copying odin_securities-1.0-py3.5.egg to /usr/local/lib/python3.5/dist-packages
odin-securities 1.0 is already the active version in easy-install.pth

Installed /usr/local/lib/python3.5/dist-packages/odin_securities-1.0-py3.5.egg
Processing dependencies for odin-securities==1.0
Finished processing dependencies for odin-securities==1.0

root@vagrant:/Projects/Odin-Securities# pip3 install quandl
...
...
Requirement already satisfied (use --upgrade to upgrade): quandl in /usr/local/lib/python3.5/dist-packages
...
You are using pip version 8.1.1, however version 20.2.4 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

root@vagrant:/Projects/Odin-Securities# cd constructor/
root@vagrant:/Projects/Odin-Securities/constructor# python3 constructor.py

Traceback (most recent call last):
File "constructor.py", line 15, in
symbols.extend(quandl.download_symbols())
NameError: name 'quandl' is not defined

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

1 participant