exchangeproject / exchange

Lykke Blockchain integration for Skycoin (Python)
0 stars 0 forks source link

Revise project setup instructions #58

Closed olemis closed 6 years ago

olemis commented 6 years ago
$ python manage.py runserver
--------------------------------------------------------------------------------
INFO in __init__ [$PATH_REPOS/exchange_app/__init__.py:16]:
Config: Dev
--------------------------------------------------------------------------------
Traceback (most recent call last):
  File "$PATH_VENV/lib/python3.6/site-packages/pymongo/mongo_client.py", line 375, in __init__
    self._ensure_connected(True)
  File "$PATH_VENV/lib/python3.6/site-packages/pymongo/mongo_client.py", line 940, in _ensure_connected
    self.__ensure_member()
  File "$PATH_VENV/lib/python3.6/site-packages/pymongo/mongo_client.py", line 814, in __ensure_member
    member, nodes = self.__find_node()
  File "$PATH_VENV/lib/python3.6/site-packages/pymongo/mongo_client.py", line 905, in __find_node
    raise AutoReconnect(', '.join(errors))
pymongo.errors.AutoReconnect: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "manage.py", line 4, in <module>
    from exchange_app import app
  File "$PATH_REPOS/exchange_app/__init__.py", line 30, in <module>
    mongo = PyMongo(app)
  File "$PATH_VENV/lib/python3.6/site-packages/flask_pymongo/__init__.py", line 97, in __init__
    self.init_app(app, config_prefix)
  File "$PATH_VENV/lib/python3.6/site-packages/flask_pymongo/__init__.py", line 273, in init_app
    cx = connection_cls(*args, **kwargs)
  File "$PATH_VENV/lib/python3.6/site-packages/pymongo/mongo_client.py", line 378, in __init__
    raise ConnectionFailure(str(e))
pymongo.errors.ConnectionFailure: timed out
$ python manage.py runserver
--------------------------------------------------------------------------------
INFO in __init__ [$PATH_REPOS/exchange_app/__init__.py:16]:
Config: Dev
--------------------------------------------------------------------------------
Traceback (most recent call last):
  File "manage.py", line 4, in <module>
    from exchange_app import app
  File "$PATH_REPOS/exchange_app/__init__.py", line 33, in <module>
    from .api_1_0 import api as api_blueprint
  File "$PATH_REPOS/exchange_app/api_1_0/__init__.py", line 5, in <module>
    from . import address, wallets, assets, pending_events, capabilities, isalive, common, balances, history
  File "$PATH_REPOS/exchange_app/api_1_0/wallets.py", line 3, in <module>
    from .blockchain import spend, create_wallet
  File "$PATH_REPOS/exchange_app/api_1_0/blockchain.py", line 1, in <module>
    import requests
ModuleNotFoundError: No module named 'requests'
olemis commented 6 years ago

Some items fixed . @stdevOzkar pls do the rest