Closed arashgmn closed 4 years ago
I was unable to replicate this error. It is working just fine for me.
Thanks, S
It occurs rigth after importing for me:
import lhsmdu
import pandas as pd
import numpy as np
lhsmdu.setRandomSeed(None)
I'm working with Mac and here is my env packages:
# Name Version Build Channel
appnope 0.1.0 py37_0
attrs 19.3.0 py_0
backcall 0.2.0 py_0
blas 1.0 mkl
bleach 3.1.5 py_0
ca-certificates 2020.1.1 0
certifi 2020.4.5.2 py37_0
cffi 1.14.0 py37hc512035_1
chardet 3.0.4 py37_1003
conda 4.8.3 py37_0
conda-package-handling 1.6.1 py37h1de35cc_0
cryptography 2.9.2 py37ha12b0ac_0
cycler 0.10.0 py37_0
dbus 1.13.14 h517e14e_0
decorator 4.4.2 py_0
defusedxml 0.6.0 py_0
entrypoints 0.3 py37_0
expat 2.2.6 h0a44026_0
freetype 2.9.1 hb4e5f40_0
gettext 0.19.8.1 hb0f4f8b_2
glib 2.63.1 h70d4741_1
icu 58.2 h0a44026_3
idna 2.9 py_1
importlib-metadata 1.6.1 py37_0
importlib_metadata 1.6.1 0
intel-openmp 2019.4 233
ipykernel 5.3.0 py37h5ca1d4c_0
ipython 7.15.0 py37_0
ipython_genutils 0.2.0 py37_0
ipywidgets 7.5.1 py_0
jedi 0.17.0 py37_0
jinja2 2.11.2 py_0
jpeg 9b he5867d9_2
jsonschema 3.2.0 py37_0
jupyter 1.0.0 py37_7
jupyter_client 6.1.3 py_0
jupyter_console 6.1.0 py_0
jupyter_core 4.6.3 py37_0
kiwisolver 1.2.0 py37h04f5b5a_0
lhsmdu 0.1 pypi_0 pypi
libcxx 10.0.0 1
libedit 3.1.20181209 hb402a30_0
libffi 3.3 h0a44026_1
libgfortran 3.0.1 h93005f0_2
libiconv 1.16 h1de35cc_0
libpng 1.6.37 ha441bb4_0
libsodium 1.0.16 h3efe00b_0
markupsafe 1.1.1 py37h1de35cc_0
matplotlib 3.2.1 0
matplotlib-base 3.2.1 py37h5670ca0_0
mistune 0.8.4 py37h1de35cc_0
mkl 2019.4 233
mkl-service 2.3.0 py37hfbe908c_0
mkl_fft 1.1.0 py37hc64f4ea_0
mkl_random 1.1.1 py37h959d312_0
nbconvert 5.6.1 py37_0
nbformat 5.0.7 py_0
ncurses 6.2 h0a44026_1
notebook 6.0.3 py37_0
numpy 1.18.1 py37h7241aed_0
numpy-base 1.18.1 py37h3304bdc_1
openssl 1.1.1g h1de35cc_0
packaging 20.4 py_0
pandas 1.0.4 py37h959d312_0
pandoc 2.2.3.2 0
pandocfilters 1.4.2 py37_1
parso 0.7.0 py_0
pcre 8.43 h0a44026_0
pexpect 4.8.0 py37_0
pickleshare 0.7.5 py37_0
pip 20.0.2 py37_3
prometheus_client 0.8.0 py_0
prompt-toolkit 3.0.5 py_0
prompt_toolkit 3.0.5 0
ptyprocess 0.6.0 py37_0
pycosat 0.6.3 py37h1de35cc_0
pycparser 2.20 py_0
pygments 2.6.1 py_0
pyopenssl 19.1.0 py37_0
pyparsing 2.4.7 py_0
pyqt 5.9.2 py37h655552a_2
pyrsistent 0.16.0 py37h1de35cc_0
pysocks 1.7.1 py37_0
python 3.7.7 hf48f09d_4
python-dateutil 2.8.1 py_0
python.app 2 py37_10
pytz 2020.1 py_0
pyzmq 18.1.1 py37h0a44026_0
qt 5.9.7 h468cd18_1
qtconsole 4.7.4 py_0
qtpy 1.9.0 py_0
readline 8.0 h1de35cc_0
requests 2.23.0 py37_0
ruamel_yaml 0.15.87 py37h1de35cc_0
scipy 1.4.1 py37h9fa6033_0
seaborn 0.10.1 py_0
send2trash 1.5.0 py37_0
setuptools 46.4.0 py37_0
sip 4.19.8 py37h0a44026_0
six 1.14.0 py37_0
sqlite 3.31.1 h5c1f38d_1
terminado 0.8.3 py37_0
testpath 0.4.4 py_0
tk 8.6.8 ha441bb4_0
tornado 6.0.4 py37h1de35cc_1
tqdm 4.46.0 py_0
traitlets 4.3.3 py37_0
urllib3 1.25.8 py37_0
wcwidth 0.2.4 py_0
webencodings 0.5.1 py37_1
wheel 0.34.2 py37_0
widgetsnbextension 3.5.1 py37_0
xz 5.2.5 h1de35cc_0
yaml 0.1.7 hc338f04_2
zeromq 4.3.1 h0a44026_3
zipp 3.1.0 py_0
zlib 1.2.11 h1de35cc_3
This MWE works fine for me on Ubuntu 16.04. Could you confirm that you have the latest update?
I used pip (with pypi I guess) for installation, and apparently it installs version 0.1 whereas the latest version (as indicated insetup.py
) is 1.1. I'm one version behind. I'll try with the newest one and let you know if it fixed my problem.
Works perfectly. Tnx
Great! I have updated the repo on PyPI also. So now the release should be accessible via pip.
lhsmdu.setRandomSeed(None)
leads toin python 3.