You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tried adding the python package torchreg but it fails in every attempt.
beginusing CondaPkg
CondaPkg.add_pip("torchreg", version ="@https://github.com/codingfisch/torchreg")
end
Which shows
CondaPkg Found dependencies: C:\Users\jntruon5\AppData\Local\Temp\jl_vGcx8V\CondaPkg.toml
CondaPkg Resolving changes
+ pip
+ torchreg
+ torchreg (pip)
CondaPkg Creating environment
│ C:\Users\jntruon5\.julia\artifacts\cba433181fa6470b206db49415f1b7593a9d25ff\bin\micromamba.exe
│ -r C:\Users\jntruon5\.julia\scratchspaces\0b3b1443-0f03-428d-bdfb-f27f9c1191ea\root
│ create
│ -y
│ -p C:\Users\jntruon5\AppData\Local\Temp\jl_vGcx8V\.CondaPkg\env
│ --override-channels
│ --no-channel-priority
│ pip[version='>=22.0.0']
│ torchreg[version='*',build='yes']
└ -c conda-forge
conda-forge/win-64 Using cache
conda-forge/noarch Using cache
error libmamba Could not solve for environment specs
The following package could not be installed
└─ torchreg * yes does not exist (perhaps a typo or a missing channel).
critical libmamba Could not solve for environment specs
Or
beginusing CondaPkg
CondaPkg.add("torchreg")
end
which shows the same error
CondaPkg Found dependencies: C:\Users\jntruon5\AppData\Local\Temp\jl_vGcx8V\CondaPkg.toml
CondaPkg Resolving changes
+ pip
+ torchreg
+ torchreg (pip)
CondaPkg Creating environment
│ C:\Users\jntruon5\.julia\artifacts\cba433181fa6470b206db49415f1b7593a9d25ff\bin\micromamba.exe
│ -r C:\Users\jntruon5\.julia\scratchspaces\0b3b1443-0f03-428d-bdfb-f27f9c1191ea\root
│ create
│ -y
│ -p C:\Users\jntruon5\AppData\Local\Temp\jl_vGcx8V\.CondaPkg\env
│ --override-channels
│ --no-channel-priority
│ pip[version='>=22.0.0']
│ torchreg[version='*']
└ -c conda-forge
conda-forge/win-64 Using cache
conda-forge/noarch Using cache
error libmamba Could not solve for environment specs
The following package could not be installed
└─ torchreg * does not exist (perhaps a typo or a missing channel).
critical libmamba Could not solve for environment specs
As an aside, I am getting the exact same type of errors for the python package antspyx
Do you see anything I am doing wrong?
The text was updated successfully, but these errors were encountered:
I think you need to remove torchreg from your conda deps. Both error messages are when resolving the conda environment, which happens before installing pip packages. Also, I had to modify the version for add_pip with torchreg. The following commands worked for me when using a fresh environment.
using CondaPkg
CondaPkg.add("python", version="=3.12", resolve=false)
CondaPkg.add_pip("torchreg", version ="@git+https://github.com/codingfisch/torchreg.git")
Fantastic, that seems to work for me as well. Not sure why, but still great
I think that torchreg was still in your CondaPkg.toml file under the conda deps, so it would fail to resolve the conda environment. CondaPkg.jl wouldn't get to the pip installs.
I have tried adding the python package
torchreg
but it fails in every attempt.Which shows
Or
which shows the same error
As an aside, I am getting the exact same type of errors for the python package
antspyx
Do you see anything I am doing wrong?
The text was updated successfully, but these errors were encountered: