info-com / econtext-sdk-python Goto Github PK
View Code? Open in Web Editor NEWConnect to the eContext API - classify structured and unstructured text to over 500,000 highly targeted hierarchical categories. http
Home Page: http://www.econtext.ai
Connect to the eContext API - classify structured and unstructured text to over 500,000 highly targeted hierarchical categories. http
Home Page: http://www.econtext.ai
Seems like referencing econtext-sdk-python
library as econtextapi
as a part of dependency in setup.py
file of other libraries is making some issues.
eContext-API-SDK
.econtext-sdk-python
as dependency in another package as below, it still won't install as econtextapi
as the package name at https://github.com/info-com/econtext-sdk-python/blob/master/setup.py is still "eContext API SDK"dependency_links = [
'https://github.com/info-com/econtext-sdk-python/tarball/master#egg=econtextapi-0.1.2'
]
Do you want to change name in setup.py from eContext API SDK
to econtextapi
?
Line 4 in d3980d8
econtext-sdk-python
as we have not defined it in requires
, I was thinking about this because of this:from setuptools import setup, find_packages
requires = []
dependency_links = [
'https://github.com/info-com/econtext-sdk-python/tarball/master#egg=econtextapi-0.1.2',
]
setup(
name='demo',
version="0.0.1",
python_requires='>=3.6',
packages=find_packages('src'),
install_requires=requires,
dependency_links=dependency_links,
zip_safe=False,
description='Demo'
)
econtext-sdk-python
as 'eContext-API-SDK==0.1.2'
, it will give following error:from setuptools import setup, find_packages
requires = ['eContext-API-SDK==0.1.2']
dependency_links = [
'https://github.com/info-com/econtext-sdk-python/tarball/master#egg=econtextapi-0.1.2',
]
setup(
name='demo',
version="0.0.1",
python_requires='>=3.6',
packages=find_packages('src'),
install_requires=requires,
dependency_links=dependency_links,
zip_safe=False,
description='Demo'
)
Error:
Searching for eContext-API-SDK==0.1.2
Reading https://pypi.org/simple/eContext-API-SDK/
Couldn't find index page for 'eContext-API-SDK' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.org/simple/
No local packages or working download links found for eContext-API-SDK==0.1.2
error: Could not find suitable distribution for Requirement.parse('eContext-API-SDK==0.1.2')
requires = ['econtextapi==0.1.2']
in same setup.py
file and running python setup.py install
will install this library.... but when you look at pip list
, econtext-sdk-python
is installed as eContext-API-SDK 0.1.2
and not econtextapi
. It will still work though!Searching for econtextapi==0.1.2
Downloading https://github.com/info-com/econtext-sdk-python/tarball/master#egg=econtextapi-0.1.2
Best match: econtextapi 0.1.2
Processing master
Writing /var/folders/5m/zyglk7xn483d30g7g0180ml00000gn/T/easy_install-h49j7ln8/info-com-econtext-sdk-python-d3980d8/setup.cfg
Running info-com-econtext-sdk-python-d3980d8/setup.py -q bdist_egg --dist-dir /var/folders/5m/zyglk7xn483d30g7g0180ml00000gn/T/easy_install-h49j7ln8/info-com-econtext-sdk-python-d3980d8/egg-dist-tmp-4by_owbz
warning: build_py: byte-compiling is disabled, skipping.
warning: install_lib: byte-compiling is disabled, skipping.
zip_safe flag not set; analyzing archive contents...
Copying eContext_API_SDK-0.1.2-py3.7.egg to /Users/snehal/.local/share/virtualenvs/demo-D5QwD475/lib/python3.7/site-packages
Adding eContext-API-SDK 0.1.2 to easy-install.pth file
Installing econtext-api script to /Users/snehal/.local/share/virtualenvs/demo-D5QwD475/bin
Installing econtext-classify-keywords script to /Users/snehal/.local/share/virtualenvs/demo-D5QwD475/bin
Installing econtext-classify-social script to /Users/snehal/.local/share/virtualenvs/demo-D5QwD475/bin
Installing econtext-classify-url script to /Users/snehal/.local/share/virtualenvs/demo-D5QwD475/bin
Installed /Users/snehal/.local/share/virtualenvs/demo-D5QwD475/lib/python3.7/site-packages/eContext_API_SDK-0.1.2-py3.7.egg
error: The 'econtextapi==0.1.2' distribution was not found and is required by demo
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.