I'm trying to install a new module in a virtual environment I've created. I installed python with anaconda on my ubuntu server. I created an environment called env_zipline. now I'm trying to pip install a module called deepdow because it's not available through conda. When I tried the code below I get the errors below. Does anyone see what the issue might be and suggest how I can fix it?
code:
pip install deepdow
error:
Traceback (most recent call last):
File "/home/username/anaconda3/envs/env_zipline/bin/pip", line 7, in <module>
from pip._internal import main
File "/home/username/anaconda3/envs/env_zipline/lib/python3.5/site-packages/pip/_internal/__init__.py", line 42, in <module>
from pip._internal import cmdoptions
File "/home/username/anaconda3/envs/env_zipline/lib/python3.5/site-packages/pip/_internal/cmdoptions.py", line 16, in <module>
from pip._internal.index import (
ImportError: cannot import name 'FormatControl'
also tried:
conda install python pip3
error:
Collecting package metadata: done
Solving environment: failed
PackagesNotFoundError: The following packages are not available from current channels:
- pip3
Current channels:
- https://repo.anaconda.com/pkgs/main/linux-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/free/linux-64
- https://repo.anaconda.com/pkgs/free/noarch
- https://repo.anaconda.com/pkgs/r/linux-64
- https://repo.anaconda.com/pkgs/r/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
code:
/home/username/anaconda3/envs/env_zipline/bin/pip install deepdow
error:
Traceback (most recent call last):
File "/home/username/anaconda3/envs/env_zipline/bin/pip", line 7, in <module>
from pip._internal import main
File "/home/username/anaconda3/envs/env_zipline/lib/python3.5/site-packages/pip/_internal/__init__.py", line 42, in <module>
from pip._internal import cmdoptions
File "/home/username/anaconda3/envs/env_zipline/lib/python3.5/site-packages/pip/_internal/cmdoptions.py", line 16, in <module>
from pip._internal.index import (
ImportError: cannot import name 'FormatControl'