Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pybind11 not installed error #24

Closed
PetarMilevski opened this issue Aug 23, 2022 · 10 comments
Closed

pybind11 not installed error #24

PetarMilevski opened this issue Aug 23, 2022 · 10 comments

Comments

@PetarMilevski
Copy link

PetarMilevski commented Aug 23, 2022

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)
@stoiver
Copy link

stoiver commented Aug 23, 2022 via email

@stoiver
Copy link

stoiver commented Aug 24, 2022 via email

@PetarMilevski
Copy link
Author

PetarMilevski commented Aug 24, 2022 via email

@stoiver
Copy link

stoiver commented Aug 24, 2022

Hi @PetarMilevski ,

Just updated the install_ubuntu_20_04.sh script.

Could you try it again.

Thanks
Steve

@PetarMilevski
Copy link
Author

PetarMilevski commented Oct 11, 2022 via email

@stoiver
Copy link

stoiver commented Oct 11, 2022 via email

@PetarMilevski
Copy link
Author

PetarMilevski commented Oct 11, 2022 via email

@stoiver
Copy link

stoiver commented Oct 11, 2022

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

@PetarMilevski
Copy link
Author

PetarMilevski commented Oct 11, 2022 via email

@stoiver
Copy link

stoiver commented Dec 4, 2022

Seems the installation is now working for 22.04

@stoiver stoiver closed this as completed Dec 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants