Open prince-mishra opened 7 years ago
I've been bitten by this many times in the past. It's a major support headache.
@kalefranz Should we fix this by adding --no-cache-dir
to
https://github.com/conda/conda/blob/4.3.x/conda_env/installers/pip.py#L8 (4.3.x) or https://github.com/conda/conda/blob/4.4.x/conda_env/installers/pip.py#L40 (4.4.x)
and optionally, make it controllable via a CLI parameter?
See https://github.com/conda/conda/pull/3969, which is merged into 4.4.x.
Sounds like the root cause of the problem here relates to https://github.com/conda/conda/issues/6079. The network of issues linked off that is also an interesting read.
I know conda-forge has a uwsgi package. I know because it's one I contributed.
Not sure if this is the correct location for package requests, but can we please get uwsgi in defaults?
Since this package was not available on the defaults channel, I tried to install it using pip, which was successful, but this creates problems when the same package is installed in a separate environment and the previous environment is deleted.
Steps to reproduce:
This problem goes away if I use:
pip install --no-cache-dir
for all pip packages. However, I wanted to leverage the use ofconda env create -f /path/to/env.yaml
, which seems to honor the cache. Is there an option to tell pip to not use cache while creating a new environment using aenv.yml
?