Comments (12)
Same issue here:
(base) λ conda pack -n test_env
Collecting packages...
CondaPackError:
Files managed by conda were found to have been deleted/overwritten in the
following packages:
- appdirs='1.4.3'
- attrs='19.1.0'
- black='19.3b0'
- click='7.0'
- toml='0.10.0'
This is usually due to `pip` uninstalling or clobbering conda managed files,
resulting in an inconsistent environment. Please check your environment for
conda/pip conflicts using `conda list`, and fix the environment by ensuring
only one version of each package is installed (conda preferred).
The environment I was trying to pack is just python + black:
(base) λ conda list -n test_env
# packages in environment at C:\Users\angelo.peronio\AppData\Local\Continuum\miniconda3\envs\test_env:
#
# Name Version Build Channel
appdirs 1.4.3 py_1 conda-forge
attrs 19.1.0 py_0 conda-forge
black 19.3b0 py_0 conda-forge
ca-certificates 2019.6.16 hecc5488_0 conda-forge
certifi 2019.6.16 py37_0 conda-forge
click 7.0 py_0 conda-forge
openssl 1.1.1c hfa6e2cd_0 conda-forge
pip 19.1.1 py37_0 conda-forge
python 3.7.3 h510b542_1 conda-forge
setuptools 41.0.1 py37_0 conda-forge
sqlite 3.29.0 hfa6e2cd_0 conda-forge
toml 0.10.0 py_0 conda-forge
vc 14.1 h0510ff6_4 defaults
vs2015_runtime 14.15.26706 h3a45250_4 defaults
wheel 0.33.4 py37_0 conda-forge
wincertstore 0.2 py37_1002 conda-forge
My conda installation:
(base) λ conda info
active environment : base
active env location : C:\Users\angelo.peronio\AppData\Local\Continuum\miniconda3
shell level : 1
user config file : C:\Users\angelo.peronio\.condarc
populated config files : C:\Users\angelo.peronio\.condarc
conda version : 4.7.5
conda-build version : not installed
python version : 3.7.3.final.0
virtual packages : __cuda=10.2
base environment : C:\Users\angelo.peronio\AppData\Local\Continuum\miniconda3 (writable)
channel URLs : https://conda.anaconda.org/conda-forge/win-64
https://conda.anaconda.org/conda-forge/noarch
https://repo.anaconda.com/pkgs/main/win-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/win-64
https://repo.anaconda.com/pkgs/r/noarch
https://repo.anaconda.com/pkgs/msys2/win-64
https://repo.anaconda.com/pkgs/msys2/noarch
package cache : C:\Users\angelo.peronio\AppData\Local\Continuum\miniconda3\pkgs
C:\Users\angelo.peronio\.conda\pkgs
C:\Users\angelo.peronio\AppData\Local\conda\conda\pkgs
envs directories : C:\Users\angelo.peronio\AppData\Local\Continuum\miniconda3\envs
C:\Users\angelo.peronio\.conda\envs
C:\Users\angelo.peronio\AppData\Local\conda\conda\envs
platform : win-64
user-agent : conda/4.7.5 requests/2.22.0 CPython/3.7.3 Windows/10 Windows/10.0.17763
administrator : False
netrc file : None
offline mode : False
λ conda list conda-pack
# packages in environment at C:\Users\angelo.peronio\AppData\Local\Continuum\miniconda3:
# Name Version Build Channel
conda-pack 0.3.1 py_0 conda-forge
[...]
In another, less minimal environment, I had the same problem involving the packages:
- appdirs='1.4.3'
- asteval='0.9.14'
- attrs='19.1.0'
- backcall='0.1.0'
- black='19.3b0'
- click='7.0'
- cloudpickle='1.2.1'
- colorama='0.4.1'
- cycler='0.10.0'
- decorator='4.4.0'
- flake8-docstrings='1.3.0'
- flake8-polyfill='1.0.2'
- ipython_genutils='0.2.0'
- jupyter_client='5.3.1'
- jupyter_core='4.4.0'
- lmfit='0.9.13'
- mccabe='0.6.1'
[...]
- parso='0.5.0'
- prompt_toolkit='2.0.9'
- pycodestyle='2.5.0'
- pyflakes='2.1.1'
- pygments='2.4.2'
- pyparsing='2.4.0'
- python-dateutil='2.8.0'
- pytz='2019.1'
- rope='0.14.0'
- snowballstemmer='1.9.0'
- toml='0.10.0'
- wcwidth='0.1.7'
from conda-pack.
Apologies for the delay here. I'm unable to reproduce either of these on osx, I wonder if this is a windows specific issue. I'll try to spin up a VM and debug further.
from conda-pack.
Hi,
This be similar to #63 (which is closed)
We are running on OS :
openSUSE Leap 42.3
setting up environment with
conda create -n test-pack python=3.6 -y -c conda-forge
conda activate test-pack
conda install -c conda-forge pandas-profiling
We get an error
conda pack
CondaPackError:
Files managed by conda were found to have been deleted/overwritten in the
following packages:
- statsmodels='0.10.0'
from conda-pack.
@jcrist , thank you. Let me know if I can help.
from conda-pack.
With #82 and #81 the following environments now work:
- The one with tomopy posted here: #78 (comment). Tomopy packages its LICENSE file in the root directory for some reason, which was causing issues.
- The one with black posted here: #78 (comment). This was due to an issue with conda and
.nonadmin
files.
The one posted by @sephib above doesn't fail for me on osx, but I can't currently test on linux. If it still fails after the next release, please raise a new issue.
I'm going to finish a few cleanups and push a release out today. Thanks everyone for being patient. Closing.
from conda-pack.
Thanks, @jcrist.
from conda-pack.
@jcrist , thank you! It works perfectly.
from conda-pack.
@jcrist - I've updated to version 0.4.0
but still getting the same error
Collecting packages...
CondaPackError:
Files managed by conda were found to have been deleted/overwritten in the
following packages:
- statsmodels='0.10.1'
Is there any log that I can supply ?
from conda-pack.
I spun up a linux env to debug, and am unable to reproduce:
$ conda create -n test-pack python=3.6 pandas-profiling conda-pack -y -c conda-forge
...
$ conda activate test-pack
$ conda pack --version
conda-pack 0.4.0
$ conda pack
Collecting packages...
Packing environment at '/opt/miniconda/envs/test-pack' to 'test-pack.tar.gz'
[########################################] | 100% Completed | 33.9s
If you could reproduce, then create a new issue with the results of conda list --export
for the failing environment that would be helpful.
from conda-pack.
Hi,
I ran the code again with --force-reinstall
and still got an error.
Here is the results of conda list --export
:
I won't be able to recheck until next week.
Thx for all your time and great work!
from conda-pack.
Can you please open a new issue with that information?
from conda-pack.
Hi there, thank you for your contribution!
This issue has been automatically locked because it has not had recent activity after being closed.
Please open a new issue if needed.
Thanks!
from conda-pack.
Related Issues (20)
- Wrong libcurl CA info after packing/unpacking environment HOT 2
- Python crashes in unpacked environment on osx-arm64 HOT 4
- qt.conf keeps the absolute path HOT 1
- permission error in conda-unpack on windows 10 HOT 5
- CondaPackError: Files managed by conda were found to have been deleted/overwritten in the following packages HOT 2
- Conda pack does not work with Python 3.10 or 3.11 HOT 13
- `conda-unpack` cleanup prefixes not working HOT 1
- R/etc/ldpaths: No such file or directory HOT 3
- Permission error when packing to squashfs file on Linux HOT 2
- Lost my maintainer rights HOT 6
- Is it needed to run `conda-unpack` with squashfs ? HOT 2
- Deactivate script is deprecated and not available on mamba environments HOT 1
- Fix environment clobbered by pip by repairing conda-meta
- Add support for alternative compressors for mksquashfs
- [Governance] Access to Settings in this repo HOT 2
- conda-pack documentation is outdated
- Support for incremental migration of conda environments
- Conda-Managed Files Deleted or Overwritten HOT 2
- Absorb in `constructor` HOT 8
- Unversioned python in conda-unpack script shebang
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from conda-pack.