basnijholt / unidep

Single source of truth with requirements for pip and conda
https://unidep.readthedocs.io
BSD 3-Clause "New" or "Revised" License
221 stars 6 forks source link

unidep install with --conda-env-name refers to prefix environment instead named environment #144

Closed ArneBachmannDLR closed 10 months ago

ArneBachmannDLR commented 10 months ago

unidep install requirements.yaml --conda-env-name 311

ValueError: Could not find conda prefix with name `311`. Available prefixes:
👉 C:\ProgramData\mambaforge_22.9.0.2
👉 C:\Users\login\.conda\envs\310
👉 C:\Users\login\.conda\envs\311
👉 C:\Users\login\.conda\envs\312
👉 C:\Users\login\.conda\envs\39

It seems the named-environments fall back to computing prefix-environments but don't find them (?), despite 311 existing. I'm running unidep from a pipx install.

basnijholt commented 10 months ago

Thank you so much for your patience while we debug this!

Could you try: python -c 'import unidep._cli; print(unidep._cli._conda_root_prefix("conda"))'

and tell me what the output is.

I might have made some incorrect assumptions about where conda puts its envs on Windows.

basnijholt commented 10 months ago

Or that doesn't actually uses the pipx python. Use:

❯ unidep version
unidep version: 0.49.1
unidep location: /Users/bas.nijholt/.local/pipx/venvs/unidep/lib/python3.12/site-packages/unidep
Python version: 3.12.1 (main, Dec  7 2023, 20:45:44) [Clang 15.0.0 (clang-1500.1.0.2.5)]
Python executable: /Users/bas.nijholt/.local/pipx/venvs/unidep/bin/python

That prints the python executable, for me here /Users/bas.nijholt/.local/pipx/venvs/unidep/bin/python

Then replace python by that in this command:

python -c 'import unidep._cli; print(unidep._cli._conda_root_prefix("conda"))'

so for me that becomes

/Users/bas.nijholt/.local/pipx/venvs/unidep/bin/python -c 'import unidep._cli; print(unidep._cli._conda_root_prefix("conda"))'

for me this prints: /Users/bas.nijholt/micromamba. Now unidep assumes that all named envs live in /Users/bas.nijholt/micromamba/envs/{NAME HERE}.

For you I expect that the command will print something else than C:\Users\login\.conda.

basnijholt commented 10 months ago

The output of conda info --json would also really be helpful!

basnijholt commented 10 months ago

@ArneBachmannDLR I now mirrored the implementation in Conda itself (PR #145).

I just released https://github.com/basnijholt/unidep/releases/tag/v0.50.0. Could you try that version?

ArneBachmannDLR commented 10 months ago

Got it:

C:\Users\login\.local\pipx\venvs\unidep\Scripts\python.exe  -c "import unidep._cli; print(unidep._cli._conda_root_prefix('conda'))"
C:\ProgramData\mambaforge_22.9.0.2

Which is correct, this is the "base" environment of my mambaforge installation.

conda info --json
{
  "active_prefix": null,
  "active_prefix_name": null,
  "av_data_dir": "C:\\ProgramData\\mambaforge_22.9.0.2\\etc\\conda",
  "av_metadata_url_base": null,
  "channels": [
    "https://conda.anaconda.org/dlr-sc/win-64",
    "https://conda.anaconda.org/dlr-sc/noarch",
    "https://conda.anaconda.org/conda-forge/win-64",
    "https://conda.anaconda.org/conda-forge/noarch"
  ],
  "conda_build_version": "not installed",
  "conda_env_version": "23.10.0",
  "conda_location": "C:\\ProgramData\\mambaforge_22.9.0.2\\lib\\site-packages\\conda",
  "conda_prefix": "C:\\ProgramData\\mambaforge_22.9.0.2",
  "conda_shlvl": 0,
  "conda_version": "23.10.0",
  "config_files": [
    "C:\\ProgramData\\mambaforge_22.9.0.2\\.condarc",
    "C:\\Users\\login\\.condarc"
  ],
  "default_prefix": "C:\\ProgramData\\mambaforge_22.9.0.2",
  "env_vars": {
    "AC_TEST_PATH": "D:\\apps",
    "CIO_TEST": "<not set>",
    "CONDA_EXE": "C:\\ProgramData\\mambaforge_22.9.0.2\\condabin\\..\\Scripts\\conda.exe",
    "CONDA_EXES": "\"C:\\ProgramData\\mambaforge_22.9.0.2\\condabin\\..\\Scripts\\conda.exe\"  ",
    "CONDA_PYTHON_EXE": "C:\\Users\\login\\.conda\\envs\\311\\python.exe",
    "CONDA_ROOT": "C:\\ProgramData\\mambaforge_22.9.0.2",
    "CONDA_SHLVL": "0",
    "CUDA_PATH": "\"\"",
    "CURL_CA_BUNDLE": "<not set>",
    "HOMEPATH": "\\",
    "LD_PRELOAD": "<not set>",
    "PATH": "C:\\ProgramData\\mambaforge_22.9.0.2\\condabin;C:\\Program Files\\Eclipse Adoptium\\jre-11.0.20.8-hotspot\\bin;C:\\Program Files\\Temurin\\bin;C:\\ProgramData\\mambaforge_22.9.0.2;C:\\ProgramData\\mambaforge_22.9.0.2\\Library\\mingw-w64\\bin;C:\\ProgramData\\mambaforge_22.9.0.2\\Library\\usr\\bin;C:\\ProgramData\\mambaforge_22.9.0.2\\Library\\bin;C:\\ProgramData\\mambaforge_22.9.0.2\\Scripts;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0;C:\\WINDOWS\\System32\\OpenSSH;C:\\Program Files\\SafeNet\\Authentication\\SAC\\x64;C:\\Program Files\\SafeNet\\Authentication\\SAC\\x32;C:\\Program Files\\smimesign;C:\\Program Files\\dotnet;C:\\Program Files\\PuTTY;C:\\Program Files\\TortoiseGit\\bin;C:\\Program Files (x86)\\Windows Kits\\10\\Windows Performance Toolkit;C:\\Program Files\\Pandoc;C:\\Program Files\\TortoiseSVN\\bin;C:\\Program Files\\Git\\cmd;C:\\Users\\login\\.cargo\\bin;C:\\Users\\login\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\login\\AppData\\Roaming\\Python\\Python310\\Scripts;c:\\users\\login\\.local\\bin;C:\\Program Files\\Graphviz\\bin;C:\\Users\\login\\AppData\\Local\\Programs\\MiKTeX\\miktex\\bin\\x64;D:\\apps\\cygwin\\bin;C:\\Users\\login\\.rye\\shims;C:\\Users\\login\\AppData\\Local\\Microsoft\\WinGet\\Packages\\dandavison.delta_Microsoft.Winget.Source_8wekyb3d8bbwe\\delta-0.16.5-x86_64-pc-windows-msvc;D:\\apps;C:\\Program Files\\docker;C:\\Users\\login\\AppData\\Local\\Microsoft\\WinGet\\Packages\\FujiApple.Trippy_Microsoft.Winget.Source_8wekyb3d8bbwe\\trippy-0.9.0-x86_64-pc-windows-msvc;C:\\Users\\login\\AppData\\Local\\Microsoft\\WinGet\\Packages\\FujiApple.Trippy_Microsoft.Winget.Source_8wekyb3d8bbwe\\trippy-0.9.0-x86_64-pc-windows-msvc;C:\\Users\\login\\AppData\\Local\\Microsoft\\WinGet\\Packages\\magic-wormhole.magic-wormhole_Microsoft.Winget.Source_8wekyb3d8bbwe;.",
    "PSMODULEPATH": "C:\\Program Files\\WindowsPowerShell\\Modules;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules",
    "PYTHONDEVMODE": "1",
    "PYTHONTRACEMALLOC": "1",
    "REQUESTS_CA_BUNDLE": "<not set>",
    "SSL_CERT_FILE": "<not set>"
  },
  "envs": [
    "C:\\ProgramData\\mambaforge_22.9.0.2",
    "C:\\Users\\login\\.conda\\envs\\310",
    "C:\\Users\\login\\.conda\\envs\\311",
    "C:\\Users\\login\\.conda\\envs\\312",
    "C:\\Users\\login\\.conda\\envs\\39"
  ],
  "envs_dirs": [
    "C:\\Users\\login\\.conda\\envs",
    "C:\\ProgramData\\mambaforge_22.9.0.2\\envs",
    "C:\\Users\\login\\AppData\\Local\\conda\\conda\\envs"
  ],
  "is_windows_admin": false,
  "netrc_file": null,
  "offline": false,
  "pkgs_dirs": [
    "C:\\ProgramData\\mambaforge_22.9.0.2\\pkgs",
    "C:\\Users\\login\\.conda\\pkgs",
    "C:\\Users\\login\\AppData\\Local\\conda\\conda\\pkgs"
  ],
  "platform": "win-64",
  "python_version": "3.10.6.final.0",
  "rc_path": "C:\\Users\\login\\.condarc",
  "requests_version": "2.28.1",
  "root_prefix": "C:\\ProgramData\\mambaforge_22.9.0.2",
  "root_writable": false,
  "site_dirs": [
    "C:\\Users\\login\\AppData\\Roaming\\Python\\Python310"
  ],
  "sys.executable": "C:\\ProgramData\\mambaforge_22.9.0.2\\python.exe",
  "sys.prefix": "C:\\ProgramData\\mambaforge_22.9.0.2",
  "sys.version": "3.10.6 | packaged by conda-forge | (main, Aug 22 2022, 20:29:51) [MSC v.1929 64 bit (AMD64)]",
  "sys_rc_path": "C:\\ProgramData\\mambaforge_22.9.0.2\\.condarc",
  "user_agent": "conda/23.10.0 requests/2.28.1 CPython/3.10.6 Windows/10 Windows/10.0.19045 solver/libmamba conda-libmamba-solver/23.11.1 libmambapy/1.5.3",
  "user_rc_path": "C:\\Users\\login\\.condarc",
  "virtual_pkgs": [
    [
      "__archspec",
      "1",
      "x86_64"
    ],
    [
      "__win",
      "0",
      "0"
    ]
  ]
}

Seems to work better now:

...>pipx upgrade unidep
⚠️  Overwriting file C:\Users\login\.local\bin\unidep.exe with C:\Users\login\.local\pipx\venvs\unidep\Scripts\unidep.exe
upgraded package unidep from 0.49.1 to 0.50.0 (location: C:\Users\login\.local\pipx\venvs\unidep)

...>unidep conda
certifi >=2023 python-graphviz >=0.20.1 lxml >=4.6.3 psutil >=5.9.5 ruamel.yaml >=0.17.33 questionary >=2.0.1 requests >=2.31 strictyaml >=1.7.3 mkdocs mkdocs-material hatch pip beartype >=0.16 frozendict keyring requests-kerberos setproctitle pywin32 tomli-w typing_extensions coverage lxml-stubs mypy >=1.7 pycln pymdown-extensions ruff twine types-certifi types-requests types-psutil types-pywin32

...>unidep pip
beartype >=0.16 certifi >=2023 comtypes coverage frozendict frozenlist2 git_of_theseus graphviz >=0.20.1 hatch keyring; sys_platform == 'win32' and platform_machine == 'AMD64' logsetup >=1.202401 lxml >=4.6.3 lxml-stubs mkdocs mkdocs-material mkdocstrings [python] mypy >=1.7 oscrypto >=1.3 perflint pip psutil >=5.9.5 pycln pymdown-extensions questionary >=2.0.1 refurb ; python_version>='3.10' requests >=2.31 requests-kerberos ruamel.yaml >=0.17.33 ruff setproctitle strictyaml >=1.7.3 tomli ; python_version<'3.11' tomli-w twine types-certifi types-psutil types-pywin32 types-requests typing_extensions winshell >=0.6

...>unidep version
unidep version: 0.50.0
unidep location: C:\Users\login\.local\pipx\venvs\unidep\lib\site-packages\unidep
Python version: 3.10.6 | packaged by conda-forge | (main, Aug 22 2022, 20:29:51) [MSC v.1929 64 bit (AMD64)]
Python executable: C:\Users\login\.local\pipx\venvs\unidep\Scripts\python.exe

...>unidep install requirements.yaml --conda-env-name hello

📦 Installing conda dependencies with `mamba.exe install --yes --override-channels --channel conda-forge --name hello certifi">=2023" python-graphviz">=0.20.1" lxml">=4.6.3" psutil">=5.9.5" ruamel.yaml">=0.17.33" questionary">=2.0.1" requests">=2.31" strictyaml">=1.7.3" mkdocs mkdocs-material hatch pip beartype">=0.16" frozendict keyring requests-kerberos setproctitle pywin32 tomli-w typing_extensions coverage lxml-stubs mypy">=1.7" pycln pymdown-extensions ruff twine types-certifi types-requests types-psutil types-pywin32`

C:\ProgramData\mambaforge_22.9.0.2\lib\site-packages\conda\cli\install.py:48: PendingDeprecationWarning: conda.cli.python_api is pending deprecation and will be removed in 24.9. Use `conda.testing.conda_cli` instead.
  from .python_api import Commands, run_command
C:\ProgramData\mambaforge_22.9.0.2\lib\site-packages\mamba\mamba.py:883: PendingDeprecationWarning: conda.cli.main.generate_parser is pending deprecation and will be removed in 24.9. Use `conda.cli.conda_argparse.generate_parser` instead.
  p = generate_parser()
C:\ProgramData\mambaforge_22.9.0.2\lib\site-packages\conda\cli\install.py:48: PendingDeprecationWarning: conda.cli.python_api is pending deprecation and will be removed in 24.9. Use `conda.testing.conda_cli` instead.
  from .python_api import Commands, run_command

Looking for: ["certifi[version='>=2023']", "python-graphviz[version='>=0.20.1']", "lxml[version='>=4.6.3']", "psutil[version='>=5.9.5']", "ruamel.yaml[version='>=0.17.33']", "questionary[version='>=2.0.1']", "requests[version='>=2.31']", "strictyaml[version='>=1.7.3']", 'mkdocs', 'mkdocs-material', 'hatch', 'pip', "beartype[version='>=0.16']", 'frozendict', 'keyring', 'requests-kerberos', 'setproctitle', 'pywin32', 'tomli-w', 'typing_extensions', 'coverage', 'lxml-stubs', "mypy[version='>=1.7']", 'pycln', 'pymdown-extensions', 'ruff', 'twine', 'types-certifi', 'types-requests', 'types-psutil', 'types-pywin32']

conda-forge/noarch                                  13.3MB @   1.6MB/s  8.3s
conda-forge/win-64                                  20.6MB @   1.9MB/s 10.9s

Pinned packages:
  - python 3.9.*

📦 Installing pip dependencies with `C:\Users\login\.conda\envs\hello\python.exe -m pip install oscrypto >=1.3 mkdocstrings [python] comtypes frozenlist2 git_of_theseus tomli ; python_version<'3.11' winshell >=0.6 logsetup >=1.202401 perflint refurb ; python_version>='3.10'`

Looking in indexes: http://pypi.org/simple, https://pypi:****@gitlab.dlr.de/api/v4/projects/8670/packages/pypi/simple
Ignoring refurb: markers 'python_version >= "3.10"' don't match your environment
Requirement already satisfied: oscrypto>=1.3 in c:\users\login\.conda\envs\hello\lib\site-packages (1.3.0)
Requirement already satisfied: comtypes in c:\users\login\.conda\envs\hello\lib\site-packages (1.2.1)
Requirement already satisfied: frozenlist2 in c:\users\login\.conda\envs\hello\lib\site-packages (1.0.0)
Requirement already satisfied: git_of_theseus in c:\users\login\.conda\envs\hello\lib\site-packages (0.3.4)
Requirement already satisfied: tomli in c:\users\login\.conda\envs\hello\lib\site-packages (2.0.1)
Requirement already satisfied: winshell>=0.6 in c:\users\login\.conda\envs\hello\lib\site-packages (0.6)
Requirement already satisfied: logsetup>=1.202401 in c:\users\login\.conda\envs\hello\lib\site-packages (1.202401.91310)
Requirement already satisfied: perflint in c:\users\login\.conda\envs\hello\lib\site-packages (0.8.1)
Requirement already satisfied: mkdocstrings[python] in c:\users\login\.conda\envs\hello\lib\site-packages (0.24.0)
Requirement already satisfied: asn1crypto>=1.5.1 in c:\users\login\.conda\envs\hello\lib\site-packages (from oscrypto>=1.3) (1.5.1)
Requirement already satisfied: click>=7.0 in c:\users\login\.conda\envs\hello\lib\site-packages (from mkdocstrings[python]) (8.1.7)
Requirement already satisfied: Jinja2>=2.11.1 in c:\users\login\.conda\envs\hello\lib\site-packages (from mkdocstrings[python]) (3.1.3)
Requirement already satisfied: Markdown>=3.3 in c:\users\login\.conda\envs\hello\lib\site-packages (from mkdocstrings[python]) (3.5.2)
Requirement already satisfied: MarkupSafe>=1.1 in c:\users\login\.conda\envs\hello\lib\site-packages (from mkdocstrings[python]) (2.1.3)
Requirement already satisfied: mkdocs>=1.4 in c:\users\login\.conda\envs\hello\lib\site-packages (from mkdocstrings[python]) (1.5.3)
Requirement already satisfied: mkdocs-autorefs>=0.3.1 in c:\users\login\.conda\envs\hello\lib\site-packages (from mkdocstrings[python]) (0.5.0)
Requirement already satisfied: platformdirs>=2.2.0 in c:\users\login\.conda\envs\hello\lib\site-packages (from mkdocstrings[python]) (4.1.0)
Requirement already satisfied: pymdown-extensions>=6.3 in c:\users\login\.conda\envs\hello\lib\site-packages (from mkdocstrings[python]) (10.7)
Requirement already satisfied: importlib-metadata>=4.6 in c:\users\login\.conda\envs\hello\lib\site-packages (from mkdocstrings[python]) (7.0.1)
Requirement already satisfied: typing-extensions>=4.1 in c:\users\login\.conda\envs\hello\lib\site-packages (from mkdocstrings[python]) (4.9.0)
Requirement already satisfied: mkdocstrings-python>=0.5.2 in c:\users\login\.conda\envs\hello\lib\site-packages (from mkdocstrings[python]) (1.8.0)
Requirement already satisfied: gitpython in c:\users\login\.conda\envs\hello\lib\site-packages (from git_of_theseus) (3.1.41)
Requirement already satisfied: numpy in c:\users\login\.conda\envs\hello\lib\site-packages (from git_of_theseus) (1.26.3)
Requirement already satisfied: tqdm in c:\users\login\.conda\envs\hello\lib\site-packages (from git_of_theseus) (4.66.1)
Requirement already satisfied: wcmatch in c:\users\login\.conda\envs\hello\lib\site-packages (from git_of_theseus) (8.5)
Requirement already satisfied: pygments in c:\users\login\.conda\envs\hello\lib\site-packages (from git_of_theseus) (2.17.2)
Requirement already satisfied: matplotlib in c:\users\login\.conda\envs\hello\lib\site-packages (from git_of_theseus) (3.8.2)
Requirement already satisfied: beartype>=0.16.4 in c:\users\login\.conda\envs\hello\lib\site-packages (from logsetup>=1.202401) (0.16.4)
Requirement already satisfied: pylint<4.0.0,>=3.0.0 in c:\users\login\.conda\envs\hello\lib\site-packages (from perflint) (3.0.3)
Requirement already satisfied: colorama in c:\users\login\.conda\envs\hello\lib\site-packages (from click>=7.0->mkdocstrings[python]) (0.4.6)
Requirement already satisfied: zipp>=0.5 in c:\users\login\.conda\envs\hello\lib\site-packages (from importlib-metadata>=4.6->mkdocstrings[python]) (3.17.0)
Requirement already satisfied: ghp-import>=1.0 in c:\users\login\.conda\envs\hello\lib\site-packages (from mkdocs>=1.4->mkdocstrings[python]) (2.1.0)
Requirement already satisfied: mergedeep>=1.3.4 in c:\users\login\.conda\envs\hello\lib\site-packages (from mkdocs>=1.4->mkdocstrings[python]) (1.3.4)
Requirement already satisfied: packaging>=20.5 in c:\users\login\.conda\envs\hello\lib\site-packages (from mkdocs>=1.4->mkdocstrings[python]) (23.2)
Requirement already satisfied: pathspec>=0.11.1 in c:\users\login\.conda\envs\hello\lib\site-packages (from mkdocs>=1.4->mkdocstrings[python]) (0.12.1)
Requirement already satisfied: pyyaml-env-tag>=0.1 in c:\users\login\.conda\envs\hello\lib\site-packages (from mkdocs>=1.4->mkdocstrings[python]) (0.1)
Requirement already satisfied: pyyaml>=5.1 in c:\users\login\.conda\envs\hello\lib\site-packages (from mkdocs>=1.4->mkdocstrings[python]) (6.0.1)
Requirement already satisfied: watchdog>=2.0 in c:\users\login\.conda\envs\hello\lib\site-packages (from mkdocs>=1.4->mkdocstrings[python]) (3.0.0)
Requirement already satisfied: griffe>=0.37 in c:\users\login\.conda\envs\hello\lib\site-packages (from mkdocstrings-python>=0.5.2->mkdocstrings[python]) (0.38.1)
Requirement already satisfied: astroid<=3.1.0-dev0,>=3.0.1 in c:\users\login\.conda\envs\hello\lib\site-packages (from pylint<4.0.0,>=3.0.0->perflint) (3.0.2)
Requirement already satisfied: isort!=5.13.0,<6,>=4.2.5 in c:\users\login\.conda\envs\hello\lib\site-packages (from pylint<4.0.0,>=3.0.0->perflint) (5.13.2)
Requirement already satisfied: mccabe<0.8,>=0.6 in c:\users\login\.conda\envs\hello\lib\site-packages (from pylint<4.0.0,>=3.0.0->perflint) (0.7.0)
Requirement already satisfied: tomlkit>=0.10.1 in c:\users\login\.conda\envs\hello\lib\site-packages (from pylint<4.0.0,>=3.0.0->perflint) (0.12.3)
Requirement already satisfied: dill>=0.2 in c:\users\login\.conda\envs\hello\lib\site-packages (from pylint<4.0.0,>=3.0.0->perflint) (0.3.7)
Requirement already satisfied: gitdb<5,>=4.0.1 in c:\users\login\.conda\envs\hello\lib\site-packages (from gitpython->git_of_theseus) (4.0.11)
Requirement already satisfied: contourpy>=1.0.1 in c:\users\login\.conda\envs\hello\lib\site-packages (from matplotlib->git_of_theseus) (1.2.0)
Requirement already satisfied: cycler>=0.10 in c:\users\login\.conda\envs\hello\lib\site-packages (from matplotlib->git_of_theseus) (0.12.1)
Requirement already satisfied: fonttools>=4.22.0 in c:\users\login\.conda\envs\hello\lib\site-packages (from matplotlib->git_of_theseus) (4.47.2)
Requirement already satisfied: kiwisolver>=1.3.1 in c:\users\login\.conda\envs\hello\lib\site-packages (from matplotlib->git_of_theseus) (1.4.5)
Requirement already satisfied: pillow>=8 in c:\users\login\.conda\envs\hello\lib\site-packages (from matplotlib->git_of_theseus) (10.2.0)
Requirement already satisfied: pyparsing>=2.3.1 in c:\users\login\.conda\envs\hello\lib\site-packages (from matplotlib->git_of_theseus) (3.1.1)
Requirement already satisfied: python-dateutil>=2.7 in c:\users\login\.conda\envs\hello\lib\site-packages (from matplotlib->git_of_theseus) (2.8.2)
Requirement already satisfied: importlib-resources>=3.2.0 in c:\users\login\.conda\envs\hello\lib\site-packages (from matplotlib->git_of_theseus) (6.1.1)
Requirement already satisfied: bracex>=2.1.1 in c:\users\login\.conda\envs\hello\lib\site-packages (from wcmatch->git_of_theseus) (2.4)
Requirement already satisfied: smmap<6,>=3.0.1 in c:\users\login\.conda\envs\hello\lib\site-packages (from gitdb<5,>=4.0.1->gitpython->git_of_theseus) (5.0.1)
Requirement already satisfied: six>=1.5 in c:\users\login\.conda\envs\hello\lib\site-packages (from python-dateutil>=2.7->matplotlib->git_of_theseus) (1.16.0)
📝 Found local dependencies: {}

📦 Installing project with `C:\Users\login\.conda\envs\hello\python.exe -m pip install --no-dependencies .\.`

Looking in indexes: http://pypi.org/simple, https://pypi:****@gitlab.dlr.de/api/v4/projects/8670/packages/pypi/simple
Processing d:\...
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: autocook
  Building wheel for autocook (pyproject.toml) ... done
  Created wheel for autocook: filename=autocook-1.202309.191356-py3-none-any.whl size=11335714 sha256=3c54e94b65b28e15e60bed88e2be4ce47f27965b125c2b3d40ca01daad514a02
  Stored in directory: C:\Users\login\AppData\Local\Temp\pip-ephem-wheel-cache-a2qf6ub0\wheels\76\92\62\69dace0485484baebf1de251425734fc992ec49d0ab6fe8109
Successfully built autocook
Installing collected packages: autocook
  Attempting uninstall: autocook
    Found existing installation: autocook 1.202309.191356
    Uninstalling autocook-1.202309.191356:
      Successfully uninstalled autocook-1.202309.191356
  WARNING: The script autocook.exe is installed in 'C:\Users\login\.conda\envs\hello\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed autocook-1.202309.191356
✅ All dependencies installed successfully.
basnijholt commented 10 months ago

Awesome! Thanks for sharing the command outputs, I am more confident about that new conda env name to conda prefix code.

Looks like we can close this one.

Please let me know whether you are experiencing any more issues; I hope to solve them promptly if they arrive ;)