Comments (5)
There is no such issue when installing the library for standard use. I'm trying to reproduce it in development mode.
from gt4sd-core.
Thanks for reporting.
Here it would be great to have a stack/error trace to understand what errors exactly.
I tried a build both on Ubuntu and Mac OS X and it went through without pinning the requirements.
from gt4sd-core.
Installing in development mode pip install --no-deps -e .
we have a problem related to the wheel
version:
gt4sd-core git:(main) ✗ gt4sd-inference --algorithm_name PaccMannRL --algorithm_application PaccMannRLProteinBasedGenerator --target MVLSPADKTNVKAAWGKVGAHAGEYGAEALERMFLSFPTT --number_of_samples 10
Traceback (most recent call last):
File "/opt/anaconda3/envs/gt4sd_tmp/lib/python3.7/site-packages/pkg_resources/init.py", line 579, in _build_master
ws.require(requires)
File "/opt/anaconda3/envs/gt4sd_tmp/lib/python3.7/site-packages/pkg_resources/init.py", line 897, in require
needed = self.resolve(parse_requirements(requirements))
File "/opt/anaconda3/envs/gt4sd_tmp/lib/python3.7/site-packages/pkg_resources/init.py", line 788, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (protobuf 3.20.1 (/opt/anaconda3/envs/gt4sd_tmp/lib/python3.7/site-packages), Requirement.parse('protobuf<3.20,>=3.9.2'), {'tensorboard'})
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/anaconda3/envs/gt4sd_tmp/bin/gt4sd-inference", line 33, in
sys.exit(load_entry_point('gt4sd', 'console_scripts', 'gt4sd-inference')())
File "/opt/anaconda3/envs/gt4sd_tmp/bin/gt4sd-inference", line 25, in importlib_load_entry_point
return next(matches).load()
File "/opt/anaconda3/envs/gt4sd_tmp/lib/python3.7/site-packages/importlib_metadata/init.py", line 203, in load
module = import_module(match.group('module'))
File "/opt/anaconda3/envs/gt4sd_tmp/lib/python3.7/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "/Users/ggi/_otehr/gt4sd-core/src/gt4sd/cli/inference.py", line 35, in
from ..algorithms.registry import ApplicationsRegistry
File "/Users/ggi/_otehr/gt4sd-core/src/gt4sd/algorithms/init.py", line 28, in
from .conditional_generation.guacamol.core import ( # noqa: F401
File "/Users/ggi/_otehr/gt4sd-core/src/gt4sd/algorithms/conditional_generation/guacamol/init.py", line 26, in
from .core import (
File "/Users/ggi/_otehr/gt4sd-core/src/gt4sd/algorithms/conditional_generation/guacamol/core.py", line 28, in
from ....training_pipelines.core import TrainingPipelineArguments
File "/Users/ggi/_otehr/gt4sd-core/src/gt4sd/training_pipelines/init.py", line 30, in
import pkg_resources
File "/opt/anaconda3/envs/gt4sd_tmp/lib/python3.7/site-packages/pkg_resources/init.py", line 3246, in
@_call_aside
File "/opt/anaconda3/envs/gt4sd_tmp/lib/python3.7/site-packages/pkg_resources/init.py", line 3221, in _call_aside
f(*args, **kwargs)
File "/opt/anaconda3/envs/gt4sd_tmp/lib/python3.7/site-packages/pkg_resources/init.py", line 3259, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/opt/anaconda3/envs/gt4sd_tmp/lib/python3.7/site-packages/pkg_resources/init.py", line 581, in _build_master
return cls._build_from_requirements(requires)
File "/opt/anaconda3/envs/gt4sd_tmp/lib/python3.7/site-packages/pkg_resources/init.py", line 594, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/opt/anaconda3/envs/gt4sd_tmp/lib/python3.7/site-packages/pkg_resources/init.py", line 783, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'wheel>=0.26' distribution was not found and is required by tensorboard
from gt4sd-core.
Setting pip install wheel==0.26
and pip install protobuf==3.9.2
we can run inference.
from gt4sd-core.
Setting
pip install wheel==0.26
andpip install protobuf==3.9.2
we can run inference.
Probably here, it's just about:
- changing the
<=
to a<
in this line - adding
wheel>=0.26
inrequirements.txt
from gt4sd-core.
Related Issues (20)
- CLA signature HOT 1
- CLA signature HOT 1
- Installation on M1 Macs HOT 3
- CLA signature HOT 1
- CLA signature HOT 1
- Installation Error HOT 9
- Test data 'qm9.h5' and files could not be found HOT 2
- Is there a demo of "Multitask Text and Chemistry T5"? HOT 6
- Bug with random seed in paccman generator HOT 18
- issue when running jupyter visum-2022-handson-generative-models in GPU HOT 3
- Bug/unexpected behaviour in the regression transformer hugging face demo HOT 1
- Problem of Chem+Text T5 HOT 2
- Problem of the weights of text-and-chemistry-t5-base-augm HOT 3
- Can't install the package with conda or from source HOT 1
- Training on custom dataset fails HOT 3
- Enzeptional No Unmasking model loaded. HOT 4
- CLA signature
- CLA signature
- CLA signature
- CLA signature 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 gt4sd-core.