Open helmutkaufmann opened 1 year ago
Same error with Mac M2
same error:
If I remove the hashes after the version, the list becomes smaller... Then, there are only 17 out of 64 that throw an error; presumably, these packages are not available on Windows.
Still Buged: ResolvePackageNotFound:
same error:
conda env create -f pytorch18.yml Collecting package metadata (repodata.json): \ WARNING conda.models.version:get_matcher(556): Using . with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 1.9.0., but conda is ignoring the . and treating it as 1.9.0 WARNING conda.models.version:get_matcher(556): Using . with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 1.8.0., but conda is ignoring the . and treating it as 1.8.0 WARNING conda.models.version:get_matcher(556): Using . with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 1.7.1., but conda is ignoring the . and treating it as 1.7.1 WARNING conda.models.version:get_matcher(556): Using . with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 1.6.0., but conda is ignoring the . and treating it as 1.6.0 done Solving environment: failed
ResolvePackageNotFound:
same error:
- Windows 11
- Python 3.10.6 (because Stable Diffusion)
- pip 23.2
- miniConda ...
If you are not on Linux you should ignore the pytorch18.yml.
When I wanted to run the net on Windows I got a simliar error that a lot of the packages were not available. With WSL I could install everything from the yml and run the code. But when you look into the packages almost all are not needed and are only Linux dependencies. So to run the code with Windows 11, in a new Anaconda environment I only needed to install the following packages manually: scikit-image, tqdm, matplotlib
pytorch and torchvision were already there via: conda install pytorch torchvision torchaudio pytorch-cuda=11.7 -c pytorch -c nvidia but even if something were not there just try to run the "train_valid_inference_main.py" and it will tell you what packages it really needs.
This way you can not only run the code on Windows 11 but also use an up-to-date version like python 3.10.12 in my case. Though I got a few deprecation warnings, they didn’t affect the results but are easily fixable. Just replacing older lines like: bce_loss = nn.BCELoss(size_average=True) with bce_loss = nn.BCELoss(reduce='mean')
I have the same issue. I did the steps you suggested @chrbruckmann , but still experiencing issues.
same issue in my windows: Channels:
PackagesNotFoundError: The following packages are not available from current channels:
Current channels:
To search for alternate channels that may provide the conda package you're looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
I have cloned the repository locally and ran
conda env create -f pytorch18.yml
on a M1 MacBook with Ventura OS. This fails though with the following Solving environment: failedIs this repository at all running with a non-Intel chipset?