Open tomsnick opened 5 years ago
This is actually a problem with python/pip on certain linux distributions. There's more details on this issue thread that might help you get it working. There's a few different things to try depending on your distro, specific python version, whether pip has been modified since installing by your package manager, etc.
Thank you.
I think I successfully loaded ccgains on my Linux machine but cannot get pip to work: tomf@tomVaio:/ccgains/ccgains$ pip install . Traceback (most recent call last): File "/usr/bin/pip", line 9, in
from pip import main
ImportError: cannot import name main
I get the same error with
tomf@tomVaio:/ccgains/ccgains$ pip install --user .
as well as in one directory up:
tomf@tomVaio:/ccgains$ pip install --user .
To help figure out the problem here are the directory contents:
tomf@tomVaio:/ccgains$ dir
ccgains COPYING data examples README.md setup.py
contributors.txt COPYING.LESSER docs MANIFEST.in run_tests.sh tests
tomf@tomVaio:/ccgains/ccgains$ dir
bags.py historic_data.py relations.py templates
binance_util.py init.py reports.py trades.py
I removed the ccgains directories and "git cloned" again but got the same error message with pip. There are no obvious errors that I can see during "git clone" but here is confirmation, in case that helps determine the problem:
tomf@tomVaio:$ git clone https://github.com/probstj/ccgains.git
Cloning into 'ccgains'...
remote: Enumerating objects: 94, done.
remote: Counting objects: 100% (94/94), done.
remote: Compressing objects: 100% (37/37), done.
remote: Total 564 (delta 57), reused 94 (delta 57), pack-reused 470
Receiving objects: 100% (564/564), 1.16 MiB | 0 bytes/s, done.
Resolving deltas: 100% (362/362), done.
Checking connectivity... done.