Conda-pack: CondaPackError: files managed by conda were
See original GitHub issueSo, I have a python project where all my tests run but then I do:
conda install -y conda-pack
which succeeds and when I run:
conda-pack
I get a lengthy complaint:
`Collecting packages… CondaPackError: Files managed by conda were found to have been deleted/overwritten in the following packages:
- conda-pack 0.6.0:
lib/python3.1/site-packages/conda_pack-0.6.0.dist-info/INSTALLER
lib/python3.1/site-packages/conda_pack-0.6.0.dist-info/LICENSE.txt
lib/python3.1/site-packages/conda_pack-0.6.0.dist-info/METADATA
- 19 others
- types-requests 2.26.0:
lib/python3.1/site-packages/requests-stubs/METADATA.toml
lib/python3.1/site-packages/requests-stubs/init.pyi
lib/python3.1/site-packages/requests-stubs/adapters.pyi
- 41 others
- jsonschema 4.2.1:
lib/python3.1/site-packages/jsonschema-4.2.1.dist-info/COPYING
lib/python3.1/site-packages/jsonschema-4.2.1.dist-info/INSTALLER
lib/python3.1/site-packages/jsonschema-4.2.1.dist-info/METADATA
- 39 others
- types-setuptools 57.4.2:
lib/python3.1/site-packages/pkg_resources-stubs/METADATA.toml
lib/python3.1/site-packages/pkg_resources-stubs/init.pyi
lib/python3.1/site-packages/pkg_resources-stubs/py31compat.pyi
- 56 others <snip>`
I see no issues in conda list and I can still run my tests. I see no issues with my environment.
Any Ideas?
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Files managed by conda were found to have been deleted ...
Hi, I have seen some of conda-pack updates regarding this issues and I have upgraded my conda-pack to the latest version but the...
Read more >Conda-pack: CondaPackError: files managed by conda were
CondaPackError: Files managed by conda were found to have been deleted/overwritten in the following packages: - conda-pack 0.6.0: ...
Read more >conda-pack 0.7.0 documentation - GitHub Pages
conda-pack is a command line tool for creating archives of conda environments that can be installed on other systems and locations.
Read more >How to fix conda-pack error - Nine
How to fix conda-pack error ... CondaPackError : Files managed by conda were found to have been deleted/overwritten
Read more >conda-pack - PyPI
conda-pack is a command line tool for creating relocatable conda environments. This is useful for deploying code in a consistent environment, potentially in ......
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
Wow! I think I finally nailed it. The
lib/python3.1
was actually symlinked to alib/python3.10
, so the whole python3.1 was a red herring. If I addedpython=3.9
to my environment, it works as designed. Almost too much for a conda newbie, but I did learn a lot on the journey.I still think there is something wrong above.
Hello!
I still have the same bug. Simple check with @dbast’s cmd:
conda create --name testenv -c conda-forge conda-pack fastapi -y && conda activate testenv && conda-pack
got me the error:conda-pack --version
conda-pack 0.7.0
UPD simple modification cmd to
conda create -y -n testenv -c conda-forge conda-pack fastapi python=3.9 && conda activate testenv && conda-pack
helped, but looks like fix doesn’t handle the bug