JuliaPy / JuliaPy/PyCall.jl

better error message for loading 32-bit Python from 64-bit Julia

Open
#148 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
1.5k
Forks
186
PR merge metrics
No merged PRs in 30d

Description

Executing

```
> using PyCall
> @pyimport math
```

within the Julia console interpreter crashes it immediately (i.e., makes the console quit and disappear immediately with no time to see any warnings or error messages).

Relevant software versions:
- OS: Windows 7
- julia: Version 0.3.8 (2015-04-30 23:40 UTC), x86_64-w64-mingw32
- PyCall: v0.8.1
- Python: Python 2.7.8 |Anaconda 2.1.0 (32-bit)| (default, Jul 2 2014, 15:13:35) [MSC v.1500 32 bit (Intel)] on win32

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the Julia console commands `using PyCall` and `@pyimport math` with the Windows, Julia, PyCall, and 32-bit Python versions listed. Trace PyCall's handling of Python startup and architecture mismatches; done means the console stays open and presents a clear error instead of exiting without a message.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia, python
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.