Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[WIP] PythonHome Path is correctly set#279

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
den-run-ai wants to merge2 commits intopythonnet:masterfromleomeuk:develop
Closed

[WIP] PythonHome Path is correctly set#279

den-run-ai wants to merge2 commits intopythonnet:masterfromleomeuk:develop

Conversation

den-run-ai
Copy link
Contributor

@den-run-aiden-run-ai commentedOct 30, 2016
edited by vmuriart
Loading

Blank Description


Pending for merge:

  • Generalize/Improve Unittests (has to be able to run in Appveyor, Local (travis could wait since embdded tests arent working there)

  • Rebase and fix merge conflicts. (@vmuriart)

@den-run-aiden-run-ai changed the title{WIP] PythonHome Path is correctly set[WIP] PythonHome Path is correctly setOct 30, 2016
@filmor
Copy link
Member

What problem does this fix? Is it still valid?

@den-run-ai
Copy link
ContributorAuthor

Here is the original pull request, I think it is valid fix and the leak is unavoidable and non-essential.

#186

@vmuriart
Copy link
Contributor

@filmor this is probably the issue they were trying to solve

http://stackoverflow.com/questions/5694706/py-initialize-fails-unable-to-load-the-file-system-codec

I'm having that issue right now trying to run python3 locally...

@den-run-ai
Copy link
ContributorAuthor

Exactly!

@vmuriart
Copy link
Contributor

@denfromufa are you/have you had that issue before? I normally pawn off all my Python3 testing to appveyor/travis so never really encountered this before

@den-run-ai
Copy link
ContributorAuthor

den-run-ai commentedFeb 2, 2017 via email

This is quite common on Linux when 2-3 Python runtimes are in the path.
On Thu, Feb 2, 2017, 12:31 AM Victor Uriarte ***@***.***> wrote: @denfromufa <https://github.com/denfromufa> are you/have you had that issue before? I normally pawn off all my Python3 testing to appveyor/travis so never really encountered this before — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#279 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AHgZ5Z_q7gV_5y4Y8Y4fD57qyzrSZTUBks5rYXhMgaJpZM4KkSSr> .

@vmuriart
Copy link
Contributor

vmuriart commentedFeb 7, 2017
edited
Loading

@denfromufa@filmor Anything missing or needed to close/merge thispr? I'll do the rebase and fix the merge conflicts if we are good to merge this in.

We should probably update the other openpull requests as well with current status/pending items.
I can similarly take care of the rebase/merge once they are ready to merge.

@den-run-ai
Copy link
ContributorAuthor

den-run-ai commentedFeb 7, 2017
edited
Loading

The unit test definitely needs to be improved

@vmuriart
Copy link
Contributor

yup I can see that now. Going to be tricky figuring out how to generalize that one so that it works onAppveyor (could use enviroment variables) & Local.

hm... that reminds me, where in the code do we search for the python dll's? I couldn't find it when I posted thatSO question a few comments back. I couldn't get Python3 to run embedded test no matter way environment variable i update.

@den-run-ai
Copy link
ContributorAuthor

@vmuriart you mean that Python 3 embedded tests are not working when you have multiple Python runtimes installed on your Windows machine?

@den-run-ai
Copy link
ContributorAuthor

Is nPython working?

@vmuriart
Copy link
Contributor

That was actually the first time I usednPythonand it didn't work either. The embedded tests weren't working onpython36 whenpython27 was my default python (and original) python install. I updated all references to python27 in my enviroment varialbles and added new ones but nothing worked.

I got it working finally by uninstalling Anaconda Python2.7 and deleting all my python installations. I reinstalled Anaconda Python, but 3.6 this time around as the default. I reinstalled all my python interpreters (including 27) and everything is working now.

I can test on Python 3.6 by default with no issues, and I can test Python 2.7 after updatingPATH. I have no idea why it didn't work the other way around though.

@vmuriartvmuriart mentioned this pull requestMar 3, 2017
2 tasks
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@den-run-ai@filmor@vmuriart@leomeuk

[8]ページ先頭

©2009-2025 Movatter.jp