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
Unable to use resources.get_controller() function #226
Comments
Hello @Tama-sha, The reason of this error is that your operating system's default character encoding is code page 1252, while the |
About your other question, I checked the current state of license parameters in pypath, and I filled a few gaps to make it better usable in the database build process. Due to these recent developments, you'll need to update pypath from the git master branch (version should be |
|
Hi @deeenes i also tried to see the default encoding |
I'll look into this soon, but just as a quick note, your screenshots are so small that I can not read them. You could instead just copy-paste the error and traceback as text, directly into your comments here. You can enclose it between triple backticks for proper formatting: About the encodings: apparently Python uses
Then you can see if it fails, and you can check the encoding of fp:
Also, you could try to set the
Or set the variable in Cygwin Bash and start Python:
However, we can also explicitly enforce the UTF-8 encoding in pypath, I will soon commit a patch for that. This will likely resolve your issue. |
Hi @deeenes
|
Steps used:
from pypath import resources
rc = resources.get_controller()
rc
Error:
UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 40814: character maps to
Complete snapshot:
Additional query:
I wanted to create a network from resources available for commercial use but i am not able to obtain the correct function either
The text was updated successfully, but these errors were encountered: