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

PythonCall test works but not using PythonCall on Windows #284

Closed
BoundaryValueProblems opened this issue Mar 19, 2023 · 3 comments
Closed

Comments

@BoundaryValueProblems
Copy link

I installed PythonCall,jl version 0.9.12 under Julia version 1.8.5. On my Windows machine, the usual test of PythonCall passes without any problems. However, when I run using PythonCall, it never returns the prompt and hangs there. This does not happen on my Mac's. I am wondering what's wrong under Windows. I also have PyCall.jl on my Windows, which works perfectly.
Thanks for your help!!

@xiaodaigh
Copy link

This is what I am experiencing too. This happens when I use VSCode

image

But seems fine when I use the Julia repl

@BoundaryValueProblems
Copy link
Author

In my case, regardless of the simple REPL or vscode, it hangs. I found out that the similar things happen for CondaPkg.jl, which I just reported: JuliaPy/CondaPkg.jl#81

@BoundaryValueProblems
Copy link
Author

After removing PythonCall.jl, wiping out ~/.julia/environments/v1.8/.CondaPkg folder and the file CondaPkg.toml in that folder, and finally adding back PythonCall.jl, solved my problem as I also posted at JuliaPy/CondaPkg.jl#81

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