Springbok icon indicating copy to clipboard operation
Springbok copied to clipboard

Error call os in function on PC windows 10

Open ququant opened this issue 5 years ago • 0 comments

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!

ququant avatar Mar 04 '20 11:03 ququant