Comments (7)
I'm having huge troubles right now to get PyCall working with my system installs.
It therefore looks to me more like a setup and/or PyCall issue than a Queryverse or ExcelReader one.
I'm sticking to the Conda version for now.
from queryverse.jl.
The issue seems to come from the ExcelReaders package
julia> using ExcelReaders
INFO: Precompiling module ExcelReaders.
ImportError: No module named site
ERROR: Failed to precompile ExcelReaders to /Users/schelm/.julia/lib/v0.6/ExcelReaders.ji.
Stacktrace:
[1] compilecache(::String) at ./loading.jl:710
[2] _require(::Symbol) at ./loading.jl:497
[3] require(::Symbol) at ./loading.jl:405
from queryverse.jl.
Hm... Does the PyCall package generally work on your system?
from queryverse.jl.
Yes, IJulia for example works fine.
Strange, now I'm just getting the ExcelReaders precompile LoadError but the shell doesn't crash anymore.
But I found the cause of the issue:
I changed the python exe to a system wide one.
I just switched back to the Conda default, rebuilt PyCall and voila: using Queryverse
worked fine, no errors.
That other python version was 3.6.6, Condas default seems to be 2.7.
Just to be sure, I tested it with a system wide python version of 2.7.15
That didn't work either:
julia> using Queryverse
INFO: Precompiling module ExcelReaders.
ERROR: LoadError: InitError:
signal (11): Segmentation fault: 11
while loading no file, in expression starting on line 0
PyObject_Call at /usr/lib/libpython2.7.dylib (unknown line)
macro expansion at /Users/schelm/.julia/v0.6/PyCall/src/exception.jl:81 [inlined]
__pycall! at /Users/schelm/.julia/v0.6/PyCall/src/pyfncall.jl:44
_pycall! at /Users/schelm/.julia/v0.6/PyCall/src/pyfncall.jl:29
unknown function (ip: 0x120953068)
...
It seems to me that there's something different between the Conda python version and other ones.
Any interest in the full error message for the system wide 2.7.15 test?
from queryverse.jl.
I think the issue is that you need the Python package xlrd installed. When you use a conda managed Python, that happens automatically, but with the system wide it probably doesn't. Could you try to install xlrd (via pip, I think) for the system wide Python and check whether that works?
from queryverse.jl.
The xlrd package was not installed on the system wide versions, as you guessed.
I installed it for both python 2.7.15 and 3.6.6 and verified the installations.
Unfortunately it didn't really help:
For the 2.7.15 version, I'm getting an init error due to a segfault.
Whereas for the 3.6.6, I'm getting the original error:
ImportError: No module named site
ERROR: LoadError: LoadError: Failed to precompile ExcelReaders to /Users/schelm/.julia/lib/v0.6/ExcelReaders.ji.
Both during precompile of the ExcelReaders.ji package.
Is there another py module that's needed for ExcelReaders?
from queryverse.jl.
Interesting.
When I check the packages in the Condo install with ./python pip freeze
at ~/.julia/v0.6/Conda/deps/usr/bin
, xlrd does not show up.
I'll have a look at the package diffs.
from queryverse.jl.
Related Issues (20)
- Other plotting packages HOT 3
- Queryverse fails to compile on Julia 1.0.0 HOT 4
- loading small data takes a long time. HOT 1
- JuliaPro Failed to Precompile HOT 6
- Problem pre compiling on mac Mojave due to Cairo (I think) HOT 2
- Should the readme link to the website rather than to the unfinished book? HOT 1
- @groupby and @map(_.key) issue HOT 1
- Atom with Julia 1.2: Pkg.add("Queryverse") not working HOT 2
- Error after "using Queryverse" HOT 1
- Queryverse isn't currently usable. HOT 3
- Query v1.0 not being compatible with Queryverse v0.6.1 on Project.toml HOT 1
- Does not load on Julia 1.5.1
- Helps to reorder packages, saves almost two sec. HOT 2
- Queryverse is using an old version of Parquet.jl
- Cannot `add Queryverse` on new environment HOT 1
- Question: How to @group_by multiple columns? HOT 1
- TagBot trigger issue HOT 1
- Could not write `.dta` file HOT 2
- load might support a cache mechanism HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from queryverse.jl.