Closed BhuvaneshBhatt closed 4 years ago
Yes, but this will take some time. Is this critical for you?
Yes, but this will take some time. Is this critical for you?
Not in the least. I'm just interested in trying it out; I'm not using it for a project (yet).
I would also appreciate support for pip, if at all possible.
I've noticed that the library installation via pip install smurff
works, but importing it later on gives me the following error:
Traceback (most recent call last): File "
", line 1, in File "/home/ojeunen/.local/lib/python3.6/site-packages/smurff/init.py", line 1, in from .smurff import * File "/home/ojeunen/.local/lib/python3.6/site-packages/smurff/smurff.py", line 1, in from .wrapper import TrainSession ModuleNotFoundError: No module named 'smurff.wrapper'
Hi all, I just looked into adding support for Python wheels, and things are complicated:
https://packaging.python.org/guides/installing-scientific-packages/
Is there any reason you cannot use conda?
Hi, I've made a set of packages for Linux and MacOS. They still have to be tested further, but I'd be happy if some if you could test them out.
@tvandera Happy to help with testing on macOS 10.15.
@suchow Cool, can you try
pip install smurff
(using python 3.5/3.6/3.7 or 3.8)import smurff
as a first testpython -m unittest
in python/smurff/test
. Make sure to checkout the correct branch from GitHub (release-0.15
).@tvandera
Both worked.
Log showing a successful install using pip on macOS 10.15 and Python 3.7.7: https://gist.github.com/suchow/e3729e9949f8e33f00503d0395cffeb6
And then:
(smurff) (base) ➜ test git:(release-0.15) python3 -m unittest
.....................................................................................................
----------------------------------------------------------------------
Ran 101 tests in 3.131s
OK
Starting from v0.16.0, there are now official pip packages for smurff on linux and macOS: https://pypi.org/project/smurff
Could you please add support for installing the Python API for SMURFF via pip?