Hi Samuel, cc the Scikit-HEP forum,
Thanks very much for getting in touch. Glad you’re interested in our tools.
I added the forum list so that others can comment and help. That’s even more relevant as I’m not at all the main developer of the package and I see you have a Mac, which I don’t.
I did a quick search online and it seems that setting an environment variable might be the solution? I cannot test myself as very different on a Windows laptop ... I looked at https://github.com/pytorch/pytorch/issues/1434 for example.
I will be more than happy to meet with you and discuss a bit about Scikit-HEP stuff ... Just drop a line when at CERN ...
Thanks,
Eduardo
| Eduardo Rodrigues | University of Cincinnati | LHCb Experiment @ CERN & DIANA/HEP | Tel. +41 (0) 22 76 72097 |
From: Samuel Meehan
Sent: 18 March 2019 21:33
To: eduardo....@cern.ch
Subject: numpythia Setup
Hi Eduardo,
My name is Sam Meehan. I am a postdoc working on ATLAS and for a project, I would like to begin testing things with numpythia - https://github.com/scikit-hep/numpythia. It seems like a great tool and I think it has great potential to augment a number of educational projects that I work to develop. I am running into issues with the pip installation, and not being a pip expert myself, was hoping you could help see debug the issue.
I have included the full output of the running of ```pip install -v numpythia``` running but think that the error really results first at the point when it tries to compile internally the hepmc and pythia libraries
```
In file included from numpythia/src/_libnumpythia.cpp:764:
numpythia/src/extern/hepmc3.0.0/include/HepMC/Data/SmartPointer.h:17:16: error: no member named 'weak_ptr' in namespace 'std'
using std::weak_ptr;
~~~~~^
```
but I am not sure of how to mitigate this when performing a pip install.
Thanks for any help you can provide! I should also say that I will be at CERN in 1.5 weeks as well and we could meet in person. I'd love to understand more about this effort for making pythia (and I recently discovered pyjet) and so many other tools accessible via pip.
Cheers,
Sam
--
University of Washington
Office (Cern) : Building 26 - Office 2-014
Phone (Cern) : +41 22 767 89 61
Email : smee...@gmail.com
Skype : smeehan12
Hi Eduardo, allThank you for the fast feedback. That seemed to work and now things are up and moving! Thank you very much.I have opened a very minor PR to add this guidance for future people. I could not see a clear "this is how you contribute" set of directions, so I hope that such PRs are welcome. If not, I apologize for the noise and would suggest that this be documented elsewhere.Again, I'm very happy to see these tools being developed. They are very very helpful and particularly powerful for testing new ideas when leveraged with Jupyter. I hope to contribute more in the future.Cheers,Sam