Comments (8)
I cannot confirm this. It works fine for me.
from pyhepmc.
Make sure you use a clean fresh clone without any debris left over from a previous build, then it should work. __init__.py
used to import numpy, but not anymore. If you want to hack/test pyhepmc, you should install the requirements.txt, as described in the README.
from pyhepmc.
Hi, i'm using the version from pypi (pyhepmc-ng==0.4.2) installed via pip
. Is there some other version I should be using?
>>> import pyhepmc_ng
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/lukasheinrich/Code/analysis/hepmc/venv/lib/python2.7/site-packages/pyhepmc_ng/__init__.py", line 3, in <module>
import numpy as np
ImportError: No module named numpy
(this does use python 2.7, since it's a constraint from other code I do not have control over, if this is a deal-breaker, probably it should still fail but with another message)
from pyhepmc.
Ah! Thanks for the quick follow up. I need to update the PyPI version then, I will do that. For now you can install directly from github, then it should also work.
from pyhepmc.
pyhepmc_ng works with Python2.7, no problem.
from pyhepmc.
I just uploaded version 0.4.3 to PyPI where this should be fixed. Please let me know whether this works for you.
from pyhepmc.
from pyhepmc.
Thanks for using pyhepmc :)
from pyhepmc.
Related Issues (12)
- Time-like component of four vector apparently in wrong position HOT 1
- ValueError: vector::_M_default_append HOT 7
- Is it deat or alive (or undead?) HOT 1
- fill_genevent_from_hepevt not adding particles HOT 2
- Set up a "hook" for Zenodo to mint DOIs HOT 2
- Add wrapper for Setup C++ class
- Simpler saving of visualizations
- pyiostream improvements
- Reading file using pyhepmc (pythia6_simple.dat) HOT 2
- Make pyhepmc.open wrappable
- Use `open` without `with` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyhepmc.