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

Errors (and solutions) with anaconda on Windows 10 #48

Open
data-dude92 opened this issue Jun 18, 2020 · 1 comment
Open

Errors (and solutions) with anaconda on Windows 10 #48

data-dude92 opened this issue Jun 18, 2020 · 1 comment

Comments

@data-dude92
Copy link

data-dude92 commented Jun 18, 2020

Hello,

Thank you for the package.

Two issues when trying to use this in anaconda on Windows 10:

  • the pip package is outdated and does not (yet) have the score_term_sets_basic function mentioned in the readme as an example. Of course cloning from git solves this.
  • this line
config_directory = os.path.join(os.environ.get('HOME'), f'.{__project__}')

will give an error and should be changed to

config_directory = os.path.join(os.environ.get('CONDA_PREFIX'), f'.{__project__}')

Hope this helps other people!

Many thanks

@data-dude92 data-dude92 changed the title Errors with anaconda Errors (and solutions) with anaconda on Windows 10 Jun 18, 2020
@arvkevi
Copy link
Contributor

arvkevi commented Jun 18, 2020

Hello @data-dude92, thank you for using phenopy! I just cut a new release on PyPI, so it has the score_term_sets_basic method of the scorer class now. This is an important functionality for users who want to use phenopy as a module in their own code (or a notebook). I'm glad you were able to find a workaround for the anaconda issue on windows. We can try to incorporate some logic to config.py to detect a user's OS platform in an upcoming release.

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