anuga-community / anuga_core

ANUGA for the simulation of the shallow water equation

Home Page:https://anuga.anu.edu.au

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pybind11 not installed error

PetarMilevski opened this issue · comments

Hi Steve, how are you going?

I cloned the latest anuga on my ubuntu 20.04lts box and did sudo bash anuga_core/tools/install_ubuntu_20_04.sh to install and this error occurred. Tried this python -m pip install pybind11, it says its installed but i keep getting the error.

Any ideas??

  Building wheel for meshpy (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/petar/anuga_env/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-wm9zkzsj/meshpy/setup.py'"'"'; __file__='"'"'/tmp/pip-install-wm9zkzsj/meshpy/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-gqp4dbqn
       cwd: /tmp/pip-install-wm9zkzsj/meshpy/
  Complete output (20 lines):
  ---------------------------------------------------------------------------
  Pybind11 is not installed.
  ---------------------------------------------------------------------------
  Very likely, the build process after this message will fail.
  
  Simply press Ctrl+C and type
  python -m pip install pybind11
  to fix this. If you don't, the build will continue
  in a few seconds.
  
  [1] https://pybind11.readthedocs.io/en/stable/
  ---------------------------------------------------------------------------
  Continuing in 1 seconds...    
  WARNING: The wheel package is not available.
  usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: setup.py --help [cmd1 cmd2 ...]
     or: setup.py --help-commands
     or: setup.py cmd --help
  
  error: invalid command 'bdist_wheel'
  ----------------------------------------
  ERROR: Failed building wheel for meshpy
  Running setup.py clean for meshpy
^CERROR: Operation cancelled by user
petar@petar:~$ python -m pip install pybind11
Requirement already satisfied: pybind11 in ./.local/lib/python3.8/site-packages (2.10.0)

Hi @PetarMilevski ,

Just updated the install_ubuntu_20_04.sh script.

Could you try it again.

Thanks
Steve

@PetarMilevski is the lots of printout during the install procedure or when you run your own script?

Seems the installation is now working for 22.04