You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "script-1.py", line 1, in <module>
import openml
File "/Users/enzo/.pyenv/versions/miniconda3-4.3.30/lib/python3.6/site-packages/openml-0.6.0-py3.6.egg/openml/__init__.py", line 17, in <module>
from . import config
File "/Users/enzo/.pyenv/versions/miniconda3-4.3.30/lib/python3.6/site-packages/openml-0.6.0-py3.6.egg/openml/config.py", line 131, in <module>
_setup()
File "/Users/enzo/.pyenv/versions/miniconda3-4.3.30/lib/python3.6/site-packages/openml-0.6.0-py3.6.egg/openml/config.py", line 47, in _setup
set_cache_directory(cache_dir)
File "/Users/enzo/.pyenv/versions/miniconda3-4.3.30/lib/python3.6/site-packages/openml-0.6.0-py3.6.egg/openml/config.py", line 78, in set_cache_directory
os.mkdir(dir_)
FileNotFoundError: [Errno 2] No such file or directory: "'/Users/enzo/.openml/cache/'"
Activity
mfeurer commentedon Mar 5, 2018
Could you please try if it work if you replace
os.mkdirwithos.makedirs?enzolutions commentedon Mar 5, 2018
I wasn't using anything in my code, to be able to use cache I have to add the following line in my script
mfeurer commentedon Mar 19, 2018
Thanks for reporting, this indeed seems to be a bug. We'll have a look into this.
mfeurer commentedon Apr 13, 2018
We added the
expandusercommand and this should work now (on the development branch). Thanks again for reporting this issue.