Closed ghost closed 2 years ago
You need to be in the root directory of the repository. The file setup.py (https://github.com/deepmind/ferminet/blob/master/setup.py) should be in the working directory.
Also prefer to use the JAX branch over the TF branch, unless you have compelling reasons not to.
I did what you said and it worked. Thank you. Now I am getting a new error could you please help me solve this as well.
ERROR: Command errored out with exit status 1: /home/pray/myproject/ferminet/bin/python3.7 -c 'import io, os, sys, se tuptools, tokenize; sys.argv[0] = '"'"'/home/pray/myproject/setup.py'"'"'; file='"'"'/home/pray/myproject/setup.p y'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from s etuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(co de, file, '"'"'exec'"'"'))' develop --no-deps Check the logs for full command output.
I am also getting this error.
ERROR: optax 0.1.0 has requirement typing-extensions~=3.10.0, but you'll have typing-extensions 4.0.1 which is incompatible.
I think there is a compatibility issue that is causing installation problems.
bin/ferminet
(relative to the repository root) certainly does exist (https://github.com/deepmind/ferminet/blob/jax/bin/ferminet)I was able to resolve optax error by installing it from HEAD. I am still getting the 'directory not found' error. The command I am using to install ferminet from JAX branch is pip install -e .
This comes up before the error shows up: Running setup.py develop for ferminet
Below is the screenshot of my file layout in Windows Subsystem Linux.
I am using python 3.7.12 on Linux.
Is there a different approach that I should use for installing Ferminet?
It appears you just downloaded the setup.py file -- where are all the other files in the ferminet repository? You need to clone the entire repository to your local disk first and then follow the installation commands given in the README for inside the ferminet repository.
I thought the command pulls ferminet from the git hub repository, anyway I downloaded the repository into my working directory as you said and it worked.
Thank you for helping me out.
Hello, I am trying to install ferminet in Windows Subsystem Linux using command pip install -e '.[tensorflow-gpu]' and I am getting this error: ERROR: File "setup.py" not found. Directory cannot be installed in editable mode.
Please help to solve this error!