Questions tagged [conda-pack]

10 questions
5
votes
3 answers

Conda-pack: CondaPackError: files managed by conda were

So, 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…
Kurt
  • 399
  • 3
  • 14
4
votes
0 answers

Embedding conda environment in C DLL

I’m using conda-pack to create relocatable miniconda environments on Windows (Windows 10, 64 bit, Python 3.8). It works great: I can activate the environment on the target machine using activate base and run python with all the conda goodies…
werner
  • 377
  • 2
  • 10
3
votes
1 answer

Where is conda-unpack script located?

I'm trying to follow the steps at https://conda.github.io/conda-pack/index.html?highlight=conda%20unpack to pack & unpack a conda env. However, I don't see the conda-unpack script. Where should it be located?
user3731622
  • 4,844
  • 8
  • 45
  • 84
3
votes
0 answers

Python - is conda-pack cross platform and to what level

I am using conda-pack to package entire conda env and be able to bundle it with a script. To what level of cross-platform can I except? Any OS? If built on Linux will any Linux work? If built on Ubuntu will any Debian based work? Same kernel version…
thebeancounter
  • 4,261
  • 8
  • 61
  • 109
1
vote
1 answer

What 's the difference between executing conda-unpack and not when transfering environments through conda-pack

From docs of conda-pack: https://conda.github.io/conda-pack/ Questions about code comments below: **Q1:**What do "Cleanup prefixes" and "active environment" mean? **Q2:**What 's the difference between executing conda-unpack and not # Cleanup…
Victor Li
  • 43
  • 5
1
vote
0 answers

Running Python app on Spark with Conda dependencies

I am trying to run a Python script in Spark. I am running Spark in client mode (i.e. single node) with a Python script that has some dependencies (e.g. pandas) installed via Conda. There are various resources which cover this usage case, for…
Boon
  • 1,073
  • 1
  • 16
  • 42
1
vote
1 answer

What could be keeping `conda pack` from picking up monkey patches to the packages?

I am trying to monkey patch a Python package before using conda pack to package up all of the packages for deployment. The script sets up conda: conda install -y --channel conda-forge conda-pack conda create -y --name venv python=3.7 conda install…
Zhao Li
  • 4,936
  • 8
  • 33
  • 51
1
vote
1 answer

Conda packed env does not point to right python after unpack

So, I create a conda env the usual way, but with a slight difference. I copy some extra folders to the env root so I can have them packed. After packing to tar.gz they are there, but when unpacking and activating, it does not point to the right…
SamuelNLP
  • 4,038
  • 9
  • 59
  • 102
0
votes
1 answer

Docker conda multistage image, error with conda-pack

I am trying to create a multistage docker image for a python conda project using conda-pack with the following Dockerfile on MacOS: ### build stage FROM continuumio/miniconda3 AS build COPY environment.yaml . # Create the conda environment and…
user2348684
  • 361
  • 4
  • 17
0
votes
0 answers

Conda pack not placing environment in correct path

I am using conda pack on a windows computer. Using conda pack -n env_name -o \path\env_name.tar.gz does not place the tar file in the correct path. Does anyone have experience with this issue? For image 1 I tried packing the environment from the…
aseeley98
  • 1
  • 1