conda-unpack failed
See original GitHub issueSteps to reproduce on the new machine:
$ mkdir antlr37
$ tar xzf antlr37.tar.gz -C antlr37
$ source antlr37/bin/activate
(antlr37) $ conda-unpack
Traceback (most recent call last):
File "/users/certik/scratch1/pack/antlr37/bin/conda-unpack", line 408, in <module>
placeholder, mode=mode)
File "/users/certik/scratch1/pack/antlr37/bin/conda-unpack", line 66, in update_prefix
with open(path, 'rb+') as fh:
OSError: [Errno 26] Text file busy: '/users/certik/scratch1/pack/antlr37/bin/python3.7'
I used the latest conda-pack
available on conda forge.
I didn’t install Python nor conda on the target machine.
Issue Analytics
- State:
- Created 5 years ago
- Comments:10
Top Results From Across the Web
conda-pack 0.7.0 documentation - GitHub Pages
Once an environment is unpacked and conda-unpack has been executed, it cannot be relocated. Re-applying conda-pack is unlikely to work. conda-pack is not...
Read more >Troubleshooting — conda 22.11.1.post16+ce4e810c9 ...
Occasionally, an installed package becomes corrupted. Conda works by unpacking the packages in the pkgs directory and then hard-linking them to the environment....
Read more >conda returns 'Solving environment: failed' - Stack Overflow
Navigate to your conda base environment, as given by conda info. Open the file lib/pythonX.Y/site-packages/conda/gateways/connection/init.py.
Read more >PyCharm - Configure a conda virtual environment - JetBrains
Press Ctrl+Alt+S to open Settings/Preferences and go to Project: <project name> | Python Interpreter. Click the Add Interpreter link next to the list...
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...
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 Free
Top 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
Apologies, I thought I’d already released those fixes. Up on pypi, will be on conda-forge once the build finishes. Thanks for the reminder!
Odd. I have no issues running this on mac, but do on linux.
Environment created as
conda create -n test python=3.7 toolz -y
.I see a few options forward: