Comments (6)
I am having the same problem
from cld3.
Any update on this issue?
from cld3.
Same issue here
from cld3.
I had this error when trying to install gcld3 in a Ubuntu 20.04 image with protobuf 3.20.1 managed by conda. I fixed it by downgrading the protbuf version to 3.6.1
On my machine (WSL Ubuntu 22.04), I had no problem installing gcld3 with protobuf 3.12.4. My guess is that this issue is caused by some kind of mismatch of protobuf versions. This answer suggests that something regarding this file changed after version 3.7 of protobuf.
from cld3.
same issue
from cld3.
(windows, building with visual studio)
- you need protobuf of at least 3.20. You can install it with vcpkg
- locate port_def.inc inside protobuf installation
- set LIBPATH environment variable to a folder, where google/protobuf/port_def.inc located. (not port_def.inc itself)
- if you have issue with protobuf.lib... I guess it's a bug. There is no protobuf.lib file, there is libprotobuf.lib file. Copy libprotobuf.lib to protobuf.lib in the same folder.
-
- set LIB environment variable to a place, where protobuf.lib is located.
from cld3.
Related Issues (20)
- gcld3 compatible with pylint and mypy
- ImportError (Python3.9, protobuf 21.5) HOT 1
- Training set HOT 2
- request for documentation: how to add a new language
- Some of the languages not detected properly if repeats the words multiple times
- Some of the English words detect as different language HOT 4
- Import gcld3 fails
- Train a new model
- Can't install gcld3 on MacOS Ventura 13.2.1 HOT 4
- Could not build wheels for gcld3, which is required to install pyproject.toml-based projects HOT 5
- Cannot build with CMake and Make HOT 1
- documentation issue. HOT 1
- Make a release
- Unable to install gcld3 on python 3.10.12 HOT 1
- Cannot detect the regional variations/ dialects in the Language with gcld3
- Unable to install gcld3 on Apple MacOS M2 HOT 1
- Installing on windows requires 'protobuf.lib' file that does not exist
- Please, update installation instructions for windows.
- Please support Traditional Chinese to return "zh-Hant" code. HOT 1
- Is this project DEAD?
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 cld3.