Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to specify path #27

Open
jbussemaker opened this issue Sep 13, 2017 · 2 comments
Open

Option to specify path #27

jbussemaker opened this issue Sep 13, 2017 · 2 comments

Comments

@jbussemaker
Copy link

First of all, thank you for your package! Apart from 2 issues I found (of which this is one), everything works very well!

I was getting a IOError when generating an optimal LHC sampling plan using the samplingplan class, because it was trying to write the LHC pickled cache to its installation directory (I'm running Anaconda2 on Windows), to which I didn't have writing rights. I think that in general it can be assumed, especially for large corporate system architectures, that Python has no admin rights and thus cannot write to the installation directory of the package. It would be nice if the path could be supplied as a parameter to the init function to solve this issue.

@capaulson
Copy link
Owner

@jbussemaker yeah, I've thought about ways to solve this. So far I've come up short with a fully general solution. This needs to work on Mac, Linux and Windows. It needs to build from source, install from pip and things like Anaconda. I would appriciate any guidence from the comunity on how best to address this.

@jbussemaker
Copy link
Author

@capaulson what about appdirs (https://pypi.org/project/appdirs/)? That one should offer the cross-platform user-directory approach that you need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants