-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CondaPackError: Files managed by conda were found to have been deleted/overwritten in the following packages: #197
Comments
@PolarisRisingWar Can you provide some reproducible commands to reproduce this? e.g.: `conda install conda-forge::conda-pack && conda create --name testenv packageA packageB && conda-pack --name testenv -o testenv.tar.gz`` Thanks |
I used |
I'm having a similar issue with Python 3.10 and conda-pack 0.7.0. It listed conda-pack, pip, and wheel as the offending packages. For now I worked around it with |
I observe this on 3.9 as well |
it looks like upgrading to the latest version of conda fixes the issue |
Hi there, thank you for your contribution! This issue has been automatically marked as stale because it has not had recent activity. It will be closed automatically if no further activity occurs. If you would like this issue to remain open please:
NOTE: If this issue was closed prematurely, please leave a comment. Thanks! |
I also have this issue with following yaml file: name: test_env
channels:
- pytorch
- conda-forge
- defaults
- anaconda
dependencies:
- pip=22.1.2
- python=3.10
- cudatoolkit=11.6.0
- numpy=1.22.4
- pytorch=1.12.1=py3.10_cuda11.6_cudnn8_0
- torchaudio=0.12.1=py310_cu116
- torchvision=0.13.1=py310_cu116
- conda-pack==0.7.0
- six=1.15.0
- pillow=9.4.0
- urllib3=1.26.15
- pip:
- PyYAML==6.0
- grpcio==1.49.1
- grpcio-tools==1.49.1
- grpcio-health-checking==1.49.1
- grpcio-reflection==1.49.1
- onnx==1.14.0
- onnx-simplifier>=0.4.13
- onnxruntime-gpu==1.14.0
- opencv-python==4.6.0.66
- pandas==1.3.5
- pythonnet==3.0.1
- scikit-learn==1.0.2
- scipy==1.7.3
- shapely==1.8.4
- tensorboard==2.12.0
- tqdm==4.64.0
- tensorflow==2.12.0
- segmentation-models==1.0.1
- Nuitka==0.6.19
- numba==0.55.2
- cupy-cuda11x
- tf2onnx==1.14.0
- seaborn==0.12.0
- matplotlib==3.5.3
- pystray==0.19.4
- customtkinter==5.1.2
- tabulate==0.9.0
- ultralytics==8.0.145
- black==23.3.0
- pytest==7.3.1 Create env with conda env create -f "environment.yaml" Then activate the environment and try to pack it conda activate test_env
conda-pack -p "C:\Users\XXXYourUserXXX\Miniconda3\envs\test_env" -o test_env.tar.gz --n-threads -1 --compress-level 6 --force When I add the --ignore-missing-files flag, it works, but the resulting .tar.gz is roughly 100 MB smaller. Edit: I can confirm now, that the smaller .tar.gz is missing files, resulting in a not correctly working application. Edit 2: If I run following before I try to package the environment it seems to work more reliably. conda install numpy=1.22.4 -c conda-forge |
I've using this command:
conda pack -n envesca -o (mypath)/condapacks/envesca.tar.gz
And I met this error message:
Python 3.6.13
Ubuntu
This is my conda list:
And this is my pip list:
I wonder how could I solve this bug? Should I use conda or pip to uninstall and install numpy?
The text was updated successfully, but these errors were encountered: