stanfordnmbl / osim-rl

Reinforcement learning environments with musculoskeletal models
http://osim-rl.stanford.edu/
MIT License
877 stars 248 forks source link

Problem with the setup #190

Open AmrMKayid opened 5 years ago

AmrMKayid commented 5 years ago

System information

Describe the problem

I tried to followe the instructions on Getting Started and I have created the conda environments and install all the required packages. But when I tried python -c "import opensim" it aborted python with fatal error as shown in logs

logs

$ python -c "import opensim"
Fatal Python error: PyThreadState_Get: no current thread

[1]    7514 abort      python -c "import opensim"
kidzik commented 5 years ago

Which python are you using? Can you send us the output of conda list?

AmrMKayid commented 5 years ago

I am using python 3.6.2 as there is no conda version for 3.6.1 on mac.

here is a screenshot for a new environment setup I have made now and still receive the same error.

Screen Shot 2019-07-17 at 12 50 17 PM

Here is the output for conda list:


(opensim-rl) amrmkayid at KayidmacOS in ~/Desktop
$ conda list
# packages in environment at /Users/amrmkayid/anaconda3/envs/opensim-rl:
#
# Name                    Version                   Build  Channel
ca-certificates           2019.6.16            hecc5488_0    conda-forge
certifi                   2019.6.16                py36_1    conda-forge
cloudpickle               1.2.1                    pypi_0    pypi
curl                      7.63.0            heae2a1f_1000    conda-forge
cycler                    0.10.0                   pypi_0    pypi
expat                     2.2.5             h6de7cb9_1003    conda-forge
future                    0.17.1                   pypi_0    pypi
gettext                   0.19.8.1          h46ab8bc_1002    conda-forge
git                       2.19.1          pl526h28b1069_1001    conda-forge
gym                       0.13.1                   pypi_0    pypi
kiwisolver                1.1.0                    pypi_0    pypi
krb5                      1.16.2            h24a3359_1000    conda-forge
lapack                    3.6.1                ha44fe06_2    conda-forge
libcurl                   7.63.0            h76de61e_1000    conda-forge
libcxx                    4.0.1                hcfea43d_1
libcxxabi                 4.0.1                hcfea43d_1
libedit                   3.1.20181209         hb402a30_0
libffi                    3.2.1                h475c297_4
libgfortran               3.0.1                h93005f0_2
libiconv                  1.15              h01d97ff_1005    conda-forge
libssh2                   1.8.0             hf30b1f0_1003    conda-forge
matplotlib                3.1.1                    pypi_0    pypi
ncurses                   6.1                  h0a44026_1
numpy                     1.16.4                   pypi_0    pypi
openblas                  0.2.19                        0    kidzik
opensim                   4.0.0                   py36_17    kidzik
openssl                   1.0.2r               h1de35cc_0    conda-forge
osim-rl                   3.0.2                    pypi_0    pypi
perl                      5.26.2            haec8ef5_1006    conda-forge
pip                       19.1.1                   py36_0
pyglet                    1.3.2                    pypi_0    pypi
pyparsing                 2.4.0                    pypi_0    pypi
python                    3.6.2               hd04bb42_19
python-dateutil           2.8.0                    pypi_0    pypi
readline                  7.0                  h1de35cc_5
redis                     3.2.1                    pypi_0    pypi
scipy                     1.3.0                    pypi_0    pypi
setuptools                41.0.1                   py36_0
six                       1.12.0                   pypi_0    pypi
sqlite                    3.29.0               ha441bb4_0
timeout-decorator         0.4.1                    pypi_0    pypi
tk                        8.6.8                ha441bb4_0
wheel                     0.33.4                   py36_0
xz                        5.2.4                h1de35cc_4
zlib                      1.2.11               h1de35cc_3
vittorione94 commented 4 years ago

Is there any update on this? I have the exact same issue (I'm using MacOS Catalina tho)

(opensim-rl) Vittorios-MBP:OpenSimChallenge vittorio$ conda list
# packages in environment at /Users/vittorio/opt/anaconda3/envs/opensim-rl:
#
# Name                    Version                   Build  Channel
ca-certificates           2019.11.27                    0  
certifi                   2019.11.28               py36_0  
cloudpickle               1.2.2                    pypi_0    pypi
cycler                    0.10.0                   pypi_0    pypi
expat                     2.2.6                h0a44026_0  
future                    0.18.2                   pypi_0    pypi
git                       2.23.0          pl526h6951d83_0  
gym                       0.15.4                   pypi_0    pypi
kiwisolver                1.1.0                    pypi_0    pypi
krb5                      1.16.4               hddcf347_0  
lapack                    3.6.1                ha44fe06_2    conda-forge
libcurl                   7.67.0               h051b688_0  
libcxx                    4.0.1                hcfea43d_1  
libcxxabi                 4.0.1                hcfea43d_1  
libedit                   3.1.20181209         hb402a30_0  
libffi                    3.2.1                h475c297_4  
libgfortran               3.0.1                h93005f0_2  
libiconv                  1.15              h01d97ff_1005    conda-forge
libssh2                   1.8.2                ha12b0ac_0  
matplotlib                3.1.2                    pypi_0    pypi
ncurses                   6.1                  h0a44026_1  
numpy                     1.18.1                   pypi_0    pypi
openblas                  0.2.19                        0    kidzik
opencv-python             4.1.2.30                 pypi_0    pypi
opensim                   4.0.0                   py36_17    kidzik
openssl                   1.1.1d               h1de35cc_3  
osim-rl                   3.0.11                   pypi_0    pypi
pcre                      8.43                 h0a44026_0  
perl                      5.26.2            haec8ef5_1006    conda-forge
pip                       19.3.1                   py36_0  
pyglet                    1.3.2                    pypi_0    pypi
pyparsing                 2.4.6                    pypi_0    pypi
python                    3.6.10               h359304d_0  
python-dateutil           2.8.1                    pypi_0    pypi
readline                  7.0                  h1de35cc_5  
redis                     3.3.11                   pypi_0    pypi
scipy                     1.4.1                    pypi_0    pypi
setuptools                44.0.0                   py36_0  
six                       1.13.0                   pypi_0    pypi
sqlite                    3.30.1               ha441bb4_0  
timeout-decorator         0.4.1                    pypi_0    pypi
tk                        8.6.8                ha441bb4_0  
wheel                     0.33.6                   py36_0  
xz                        5.2.4                h1de35cc_4  
zlib                      1.2.11               h1de35cc_3