Springbok
Springbok copied to clipboard
Error call os in function on PC windows 10
I follow the steps until I reach the python process_data.py
Then I got this error.
Process Process-1:
Traceback (most recent call last):
File "C:\Users\pursu\Anaconda3\envs\env_zipline\lib\multiprocessing\process.py", line 252, in _bootstrap
self.run()
File "C:\Users\pursu\Anaconda3\envs\env_zipline\lib\multiprocessing\process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\pursu\Springbok-master\process_data.py", line 6, in bundle_prep
tickers = OrderedDict()
NameError: name 'OrderedDict' is not defined
Process Process-2:
Traceback (most recent call last):
File "C:\Users\pursu\Anaconda3\envs\env_zipline\lib\multiprocessing\process.py", line 252, in _bootstrap
self.run()
File "C:\Users\pursu\Anaconda3\envs\env_zipline\lib\multiprocessing\process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\pursu\Springbok-master\process_data.py", line 68, in fundamentals_prep
for root, dirs, files in os.walk(downloads_directory): # Lets get all of our tickers
NameError: name 'os' is not defined
Done!