Comments (4)
Yep! 👍 that works. Thanks very much.
from omikuji.
Seems like the library was not installed correctly. Can you provide the exact command you used for installation, as well as everything it prints out?
from omikuji.
Absolutely. Here is the pip output
$ pip install git+https://github.com/tomtung/parabel-rs.git#subdirectory=python -v
Collecting git+https://github.com/tomtung/parabel-rs.git#subdirectory=python
Cloning https://github.com/tomtung/parabel-rs.git to /private/var/folders/n1/fsscqfrd5fg8mybxkv2hl5t0m5v75k/T/pip-uvwby40d-build
Running command git clone -q https://github.com/tomtung/parabel-rs.git /private/var/folders/n1/fsscqfrd5fg8mybxkv2hl5t0m5v75k/T/pip-uvwby40d-build
Running setup.py (path:/private/var/folders/n1/fsscqfrd5fg8mybxkv2hl5t0m5v75k/T/pip-uvwby40d-build/python/setup.py) egg_info for package from git+https://github.com/tomtung/parabel-rs.git#subdirectory=python
Running command python setup.py egg_info
warning: no previously-included files found matching 'setup.pyc'
warning: no previously-included files matching 'yacctab.*' found under directory 'tests'
warning: no previously-included files matching 'lextab.*' found under directory 'tests'
warning: no previously-included files matching 'yacctab.*' found under directory 'examples'
warning: no previously-included files matching 'lextab.*' found under directory 'examples'
zip_safe flag not set; analyzing archive contents...
pycparser.ply.__pycache__.lex.cpython-36: module references __file__
pycparser.ply.__pycache__.lex.cpython-36: module MAY be using inspect.getsourcefile
pycparser.ply.__pycache__.yacc.cpython-36: module references __file__
pycparser.ply.__pycache__.yacc.cpython-36: module MAY be using inspect.getsourcefile
pycparser.ply.__pycache__.yacc.cpython-36: module MAY be using inspect.stack
pycparser.ply.__pycache__.ygen.cpython-36: module references __file__
Installed /private/var/folders/n1/fsscqfrd5fg8mybxkv2hl5t0m5v75k/T/pip-uvwby40d-build/python/.eggs/pycparser-2.19-py3.6.egg
running egg_info
creating pip-egg-info/parabel.egg-info
writing pip-egg-info/parabel.egg-info/PKG-INFO
writing dependency_links to pip-egg-info/parabel.egg-info/dependency_links.txt
writing top-level names to pip-egg-info/parabel.egg-info/top_level.txt
writing manifest file 'pip-egg-info/parabel.egg-info/SOURCES.txt'
reading manifest file 'pip-egg-info/parabel.egg-info/SOURCES.txt'
writing manifest file 'pip-egg-info/parabel.egg-info/SOURCES.txt'
Source in /private/var/folders/n1/fsscqfrd5fg8mybxkv2hl5t0m5v75k/T/pip-uvwby40d-build has version 0.0.1, which satisfies requirement parabel==0.0.1 from git+https://github.com/tomtung/parabel-rs.git#subdirectory=python
Installing collected packages: parabel
Running setup.py install for parabel ... Running command /Users/tbrady/.pyenv/versions/3.6.5/envs/venv365/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/n1/fsscqfrd5fg8mybxkv2hl5t0m5v75k/T/pip-uvwby40d-build/python/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /var/folders/n1/fsscqfrd5fg8mybxkv2hl5t0m5v75k/T/pip-lm93jckv-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/tbrady/.pyenv/versions/3.6.5/envs/venv365/include/site/python3.6/parabel
running install
running build
running build_py
creating build/lib
creating build/lib/parabel
copying parabel/__init__.py -> build/lib/parabel
Downloading crates ...
Downloaded cbindgen v0.8.2
Downloaded serde_json v1.0.39
Downloaded tempfile v3.0.7
Downloaded remove_dir_all v0.5.1
Downloaded toml v0.4.10
Compiling proc-macro2 v0.4.27
Compiling unicode-xid v0.1.0
Compiling libc v0.2.50
Compiling autocfg v0.1.2
Compiling syn v0.15.29
Compiling arrayvec v0.4.10
Compiling rand_core v0.4.0
Compiling cfg-if v0.1.7
Compiling ident_case v1.0.0
Compiling ryu v0.2.7
Compiling num-traits v0.2.6
Compiling fnv v1.0.6
Compiling serde v1.0.89
Compiling nodrop v0.1.13
Compiling unicode-width v0.1.5
Compiling memoffset v0.2.1
Compiling scopeguard v0.3.3
Compiling lazy_static v1.3.0
Compiling num-complex v0.2.1
Compiling matrixmultiply v0.1.15
Compiling ansi_term v0.11.0
Compiling strsim v0.7.0
Compiling rustc-serialize v0.3.24
Compiling vec_map v0.8.1
Compiling bitflags v1.0.4
Compiling itoa v0.4.3
Compiling rayon-core v1.4.1
Compiling either v1.5.1
Compiling byteorder v1.3.1
Compiling rawpointer v0.1.0
Compiling ndarray v0.12.1
Compiling remove_dir_all v0.5.1
Compiling approx v0.1.1
Compiling rayon v1.0.3
Compiling derive_builder v0.7.1
Compiling bit-vec v0.5.0
Compiling order-stat v0.1.3
Compiling crossbeam-utils v0.2.2
Compiling log v0.4.6
Compiling rand_core v0.3.1
Compiling rand_chacha v0.1.1
Compiling rand_pcg v0.1.2
Compiling rand v0.6.5
Compiling bincode v1.1.2
Compiling textwrap v0.10.0
Compiling itertools v0.7.11
Compiling bit-set v0.5.0
Compiling rand_xorshift v0.1.1
Compiling rand_hc v0.1.0
Compiling rand_isaac v0.1.1
Compiling num_cpus v1.10.0
Compiling rand_jitter v0.1.3
Compiling rand_os v0.1.3
Compiling time v0.1.42
Compiling atty v0.2.11
Compiling crossbeam-epoch v0.3.1
Compiling hashbrown v0.1.8
Compiling num-traits v0.1.43
Compiling num-complex v0.1.43
Compiling quote v0.6.11
Compiling clap v2.32.0
Compiling pbr v1.0.1
Compiling simple_logger v0.5.0
Compiling crossbeam-deque v0.2.0
Compiling alga v0.5.4
Compiling tempfile v3.0.7
Compiling serde_derive v1.0.89
Compiling darling_core v0.8.5
Compiling darling_macro v0.8.5
Compiling darling v0.8.5
Compiling derive_builder_core v0.4.1
Compiling serde_json v1.0.39
Compiling toml v0.4.10
Compiling cbindgen v0.8.2
Compiling sprs v0.6.4
Compiling parabel v0.0.1 (/private/var/folders/n1/fsscqfrd5fg8mybxkv2hl5t0m5v75k/T/pip-uvwby40d-build)
Compiling parabel_c-api v0.0.1 (/private/var/folders/n1/fsscqfrd5fg8mybxkv2hl5t0m5v75k/T/pip-uvwby40d-build/c-api)
Finished release [optimized] target(s) in 2m 37s
copying dylib libparabel.dylib
generating cffi module for 'parabel._libparabel'
generating wrapper for 'parabel._libparabel'
running build_ext
building 'parabel._libparabel__lib' extension
creating build/temp.macosx-10.12-x86_64-3.6/build
creating build/temp.macosx-10.12-x86_64-3.6/build/temp.macosx-10.12-x86_64-3.6
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/tbrady/.pyenv/versions/3.6.5/envs/venv365/include -I/Users/tbrady/.pyenv/versions/3.6.5/include/python3.6m -c build/temp.macosx-10.12-x86_64-3.6/empty.c -o build/temp.macosx-10.12-x86_64-3.6/build/temp.macosx-10.12-x86_64-3.6/empty.o
clang -bundle -undefined dynamic_lookup -L/usr/local/opt/readline/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/openssl/lib -L/Users/tbrady/.pyenv/versions/3.6.5/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/openssl/lib -L/Users/tbrady/.pyenv/versions/3.6.5/lib build/temp.macosx-10.12-x86_64-3.6/build/temp.macosx-10.12-x86_64-3.6/empty.o -o /private/var/folders/n1/fsscqfrd5fg8mybxkv2hl5t0m5v75k/T/pip-uvwby40d-build/python/parabel/_libparabel__lib.so
running install_lib
creating /Users/tbrady/.pyenv/versions/3.6.5/envs/venv365/lib/python3.6/site-packages/parabel
copying build/lib/parabel/__init__.py -> /Users/tbrady/.pyenv/versions/3.6.5/envs/venv365/lib/python3.6/site-packages/parabel
copying build/lib/parabel/_libparabel.py -> /Users/tbrady/.pyenv/versions/3.6.5/envs/venv365/lib/python3.6/site-packages/parabel
copying build/lib/parabel/_libparabel__ffi.py -> /Users/tbrady/.pyenv/versions/3.6.5/envs/venv365/lib/python3.6/site-packages/parabel
copying build/lib/parabel/_libparabel__lib.so -> /Users/tbrady/.pyenv/versions/3.6.5/envs/venv365/lib/python3.6/site-packages/parabel
byte-compiling /Users/tbrady/.pyenv/versions/3.6.5/envs/venv365/lib/python3.6/site-packages/parabel/__init__.py to __init__.cpython-36.pyc
byte-compiling /Users/tbrady/.pyenv/versions/3.6.5/envs/venv365/lib/python3.6/site-packages/parabel/_libparabel.py to _libparabel.cpython-36.pyc
byte-compiling /Users/tbrady/.pyenv/versions/3.6.5/envs/venv365/lib/python3.6/site-packages/parabel/_libparabel__ffi.py to _libparabel__ffi.cpython-36.pyc
running install_egg_info
running egg_info
creating parabel.egg-info
writing parabel.egg-info/PKG-INFO
writing dependency_links to parabel.egg-info/dependency_links.txt
writing top-level names to parabel.egg-info/top_level.txt
writing manifest file 'parabel.egg-info/SOURCES.txt'
reading manifest file 'parabel.egg-info/SOURCES.txt'
writing manifest file 'parabel.egg-info/SOURCES.txt'
Copying parabel.egg-info to /Users/tbrady/.pyenv/versions/3.6.5/envs/venv365/lib/python3.6/site-packages/parabel-0.0.1-py3.6.egg-info
running install_scripts
writing list of installed files to '/var/folders/n1/fsscqfrd5fg8mybxkv2hl5t0m5v75k/T/pip-lm93jckv-record/install-record.txt'
done
Removing source in /private/var/folders/n1/fsscqfrd5fg8mybxkv2hl5t0m5v75k/T/pip-uvwby40d-build
Successfully installed parabel-0.0.1
Cleaning up...
You are using pip version 9.0.3, however version 19.0.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
from omikuji.
Attempted a fix; can you try again?
from omikuji.
Related Issues (20)
- Cannot set collapse_every_n_layers via Python bindings HOT 2
- Installation issues HOT 2
- golang binding via c-api possible? HOT 3
- Issues when training on a large dataset HOT 6
- Explainability HOT 6
- n_features == n_labels ? HOT 1
- performance measures HOT 1
- Predefined tree architecture HOT 6
- Slow prediction problem HOT 3
- Different models (and results) while training on the same data HOT 1
- unbalanced cluster with python binding
- Wheel for Python 3.9? HOT 2
- thread 'main' panicked at 'Could not determine the UTC offset on this system HOT 2
- Cannot load model if model directory contains symlinks HOT 3
- Wheel for Python 3.10 HOT 3
- Cargo Installation issues HOT 1
- Installation problem and wheels for Python 3.11 and 3.12 HOT 3
- Possible errors in the eurlex_train.txt and eurlex_test.txt - missing labels?
- Bypassing writing to disk with python wrapper
- regarding code HOT 1
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 omikuji.