Unable to start using pip install
See original GitHub issueI’ve followed the instructions for installation but I am unable to run the program due to this error:
➜ bot marketmaker XBTUSD
Traceback (most recent call last):
File "/Users/dimitri/.pyenv/versions/3.5.0/bin/marketmaker", line 9, in <module>
load_entry_point('bitmex-market-maker==1.3', 'console_scripts', 'marketmaker')()
File "/Users/dimitri/.pyenv/versions/3.5.0/lib/python3.5/site-packages/market_maker/__init__.py", line 21, in run
from market_maker import market_maker
File "/Users/dimitri/.pyenv/versions/3.5.0/lib/python3.5/site-packages/market_maker/market_maker.py", line 11, in <module>
from market_maker import bitmex
File "/Users/dimitri/.pyenv/versions/3.5.0/lib/python3.5/site-packages/market_maker/bitmex.py", line 12, in <module>
from market_maker.ws.ws_thread import BitMEXWebsocket
File "/Users/dimitri/.pyenv/versions/3.5.0/lib/python3.5/site-packages/market_maker/ws/ws_thread.py", line 10, in <module>
from market_maker.settings import settings
File "/Users/dimitri/.pyenv/versions/3.5.0/lib/python3.5/site-packages/market_maker/settings.py", line 25, in <module>
userSettings = import_path(os.path.join('.', 'settings'))
File "/Users/dimitri/.pyenv/versions/3.5.0/lib/python3.5/site-packages/market_maker/settings.py", line 19, in import_path
module = importlib.import_module(filename, path)
File "/Users/dimitri/.pyenv/versions/3.5.0/lib/python3.5/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 981, in _gcd_import
File "<frozen importlib._bootstrap>", line 931, in _sanity_check
SystemError: Parent module '.' not loaded, cannot perform relative import
Issue Analytics
- State:
- Created 6 years ago
- Comments:14
Top Results From Across the Web
I can't use pip (Windows)
Run the command python get-pip.py from a command prompt with admin privileges (possibly not needed, but just to make sure).
Read more >How to Install Pip on Windows
Open up the Control Panel and navigate to System and Security -> System; Click on the Advanced system settings link on the left...
Read more >How to Fix 'Pip' is Not Recognized as an Internal or ...
Fix 1: Ensure 'Pip' is Added to Your PATH Variable · Fix 2: Add Pip to the PATH Environment Variable · Fix 3:...
Read more >How to install modules with PIP (and fix it when it fails)
Assuming that, the first thing to do is to check if the module exists. The main way to do this is to go...
Read more >Fix: 'pip' is not recognized as an internal or external ...
Method 2: Adding PIP to the PATH environment variable using the Windows GUI · Press Windows key + R to open up a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The README has step by step instructions: https://github.com/BitMEX/sample-market-maker#getting-started
Followed exactly these instructions but seems to miss some important thing. Uninstalled and reinstalled a lot of times, with and without venv. Always same (stupid) error…