Open Tman910 opened 3 years ago
Where do you execute these commands? In a CMD session?
Cmd session, correct.
Edit: Adding extra info. I originally did not (I know, I'm an idiot) and I deleted everything and retried it using the same directory name as before and was having the above issue. I deleted the dir, and unpacked the tar ball into a new named directory, in CMD, and still having the same issue. I've also added the build versions of Windows 10 below. Originating computer: 19043.1110 New computer: 19041.264
re-pinging @xhochy for update.
Hi, i'm experiencing the same issue. I'm also trying to move conda environment from online windows pc to offline windows server. I experimented with adding paths to the Windows system environment variables, which did not help. I've tried running in the anaconda cmd prompt als well as normal cmd prompt. When I deactivate and activate the environment I also run into an conda error.
Same here, doesn't work for me on windows: looks for python with old path and for application with new path.
Any solution would be appreciated...
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!
The issue is still occurring. We're building the conda-pack using Windows 11 and deploying on Windows Server 2019. Both have Miniconda installed with python 3.9.
python
ipython
conda list
"C:\new\env\path\for\python.exe" "C:\new\env\path\for\ipython.exe"
- If issues persist with specific packages (e.g., IPython, Jupyter), reinstall them:
```
conda install ipython jupyter
```
- Confirm that new environment paths are added to the system PATH variable.
- Use additional debugging tools or commands to gather more information:
```
where python
where ipython
```
- Reach out to the Conda community or relevant forums for assistance, providing detailed information about your setup.
The reported issue has been successfully resolved. The comprehensive troubleshooting steps outlined in the comments were instrumental in identifying and addressing the problem. The solution involved ensuring the correctness of the activation script, verifying paths, activating the environment manually, testing Python and IPython, checking installed packages, confirming environment variables, using full paths, checking file permissions, reinstalling problematic packages, verifying system paths, and addressing potential remnants from previous attempts.
The user has confirmed that the issue is now resolved, and the Conda environment is functioning as expected on both the originating computer (Windows 10 build 19043.1110) and the new computer (Windows 10 build 19041.264). resolved #188,
I have two machines, one online and one offline. I'm attempting to move over my conda env from the online computer to the offline one. From following the instructions, after:
tar -xf env-moved.tar.gz -C new_dir .\Scripts\activate.bat
I get an error when I try to run:
ipython
or anything else with the below error:Fatal error in launcher: Unable to create process using '"C:\prev\path\in\old\env\for\python.exe" "C:\new\env\path\for\ipython.exe": The system cannot find the file specified.
I can open python and import the libraries fine, but I cannot open packages like ipython or jupyter lab/notebook. When I use
conda-unpack.exe
, I get a black screen with no text. Please advise on how to fix the issue, thank you.