Download the project from GitHub, then open Anaconda Prompt, cd all the way to the directory where environment.yml is located, and
conda env create -f environment.yml
Next reported error.
WARNING: A space was detected in your requested environment path
‘D:\Program Files\miniconda3\envs\nerf’
Spaces in paths can sometimes be problematic.
Collecting package metadata (repodata.json): done
Solving environment: failed
ResolvePackageNotFound: – imagemagick
environment.yml script:
# To run: conda env create -f environment.yml
name: nerf
channels:
- conda-forge
dependencies:
- python=3.7
- pip
- cudatoolkit=10.0
- tensorflow-gpu==1.15
- numpy
- matplotlib
- imageio
- imageio-ffmpeg
- configargparse
- imagemagick
Modify the environment.yml script:
PIP: the following must be indented (Python)
# To run: conda env create -f environment.yml
name: nerf
channels:
- conda-forge
dependencies:
- python=3.7
- pip
- cudatoolkit=10.0
- numpy
- matplotlib
- imageio
- imageio-ffmpeg
- configargparse
- pip:
- imagemagick
- tensorflow-gpu==1.15
Report error again
If there are the following errors, most of them are syntax errors, check environment.yml carefully
>>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
> ruamel_yaml.parser.ParserError: while parsing a block collection
in "<unicode string>", line 6, column 5:
- python=3.7
^ (line: 6)
expected <block end>, but found '?'
in "<unicode string>", line 14, column 5:
-pip:
^ (line: 14)
Solve the problem
Read More:
- [Solved] Environment: failed conda all InvalidVersionSpecError: Invalid version spec: =2.7
- Termux setting path environment variable
- Prompt “entering emergency mode. Exit the shell to continue” if the Linux operating system does not start normally
- Hadoop 3.2.0 idea development environment construction and HDFS read write API operation
- Error Running Context: The server unexpectedly closed the connection
- Running shell script reports an error: “syntax error near unexpected token solution ‘”
- How to Solve No approve protocol error when running kettle on Linux
- Chinese garbled problem when running. C file in Linux
- Configure the node environment under Linux, internal/modules/cjs/loader.js:583 throw err; solution
- Error in Linux running file: bash: $’\r’: command not found
- [Solved] rk3588_buildroot Compile Error: ERROR: Running build_kernel failed!
- Deepin svn Error: svn: E120171: Error running context: An error occurred during SSL communication
- [Solved] Win 10 VS Code Connect to the container of the server error: Cannot connect to the Docker daemon at … Is the docker daemon running
- ERROR conda.core.link:_execute(699): An error occurred while installing package ‘‘Rolling back trans
- [Solved] An unexpected error has occurred. Conda has prepared the above report.
- How to Solve labelme Install Error in Ubuntu
- [Solved] Pointsift Error: – ltensorflow not found_framework
- [Solved] Ubuntu conda ProxyError: Conda cannot proceed due to an error in your proxy configuration
- [Solved] mongod: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No s
- Errors encountered when configuring static ip on Ubuntu 18.04