So, I’m trying to run a fairly simple code, but I am continually running into errors. This is the code I’m having trouble with:
conda create -n get3d python=3.8
conda activate get3d
pip install torch==1.9.0+cu111 torchvision==0.10.0+cu111 torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.html
pip install ninja xatlas gdown
pip install git+https://github.com/NVlabs/nvdiffrast/
pip install meshzoo ipdb imageio gputil h5py point-cloud-utils imageio imageio-ffmpeg==0.4.4 pyspng==0.1.0
pip install urllib3
pip install scipy
pip install click
pip install tqdm
pip install opencv-python==4.5.4.58
When I go to open the prompt, I get this message (Not I emitted my username and replaced it with Username) “Unable to create process using 'C:\Users\Username\anaconda3\python.exe “C:\Users\Username\anaconda3\Scripts\conda-script.py” shell.cmd.exe activate “C:\Users\Username\anaconda3” '”. This appears on every launch of the prompt. I have tried both miniconda and anaconda and ran into the issue both times. Following this error “conda” isn’t recognized, preventing the environment from forming. I also receive this error when using the powershell form:
Unable to create process using 'C:\Users\Username\anaconda3\python.exe "C:\Users\Username\anaconda3\Scripts\conda-script.py" shell.powershell activate "C:\Users\Username\anaconda3"'
Invoke-Expression : Cannot bind argument to parameter 'Command' because it is an empty string.
At C:\Users\JR Cross\anaconda3\shell\condabin\Conda.psm1:76 char:36
+ Invoke-Expression -Command $activateCommand;
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (:) [Invoke-Expression], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyStringNotAllowed,Microsoft.PowerShell.Commands.Invo
keExpressionCommand
In addition to this, earlier, I was able to run the software up to here:
conda create -n get3d python=3.8
conda activate get3d
pip install torch==1.9.0+cu111 torchvision==0.10.0+cu111 torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.html
pip install ninja xatlas gdown
pip install git+https://github.com/NVlabs/nvdiffrast/
pip install meshzoo ipdb imageio gputil h5py point-cloud-utils imageio imageio-ffmpeg==0.4.4 pyspng==0.1.0
But it was cut off by psypng, requiring me to download the c++ build tools; which I did. Following that, the miniconda software I was using at the time started giving me two error messages being “Failed building wheel for pyspng” and then “Could not build wheels for psypng, which is required to install pyproject.toml-based projects.” I tried to debug it for a while, but eventually gave up and reinstalled the software. After that, it fully stopped working and I was unable to get anywhere besides reinstalling, restarting, changing the PATH, and trying my best to figure out what I could. I know this is quite lengthy, but if anyone has any suggestions I would greatly appreciate that. Also, if any more information is needed, I’d be happy to provide. Thanks again