Comments (8)
Update: Just got a chance to pull in @technillogue's latest fix #137... worked like a charm.
Hellobot is up and running! 🥂
from forest.
I thought I had installed all the dependencies at the beginning? Hmm maybe I forgot... will try again with:
pipenv install --dev
And then again trying:
pipenv run python -m sample_bots.hellobot
Now getting:
Traceback (most recent call last):
File "/usr/local/Cellar/[email protected]/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/local/Cellar/[email protected]/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/Users/dsernst/Documents/forest/sample_bots/hellobot.py", line 5, in <module>
from forest.core import Bot, Message, run_bot
File "/Users/dsernst/Documents/forest/forest/core.py", line 33, in <module>
import aiohttp
File "/Users/dsernst/.local/share/virtualenvs/forest-RQF5VO1v/lib/python3.9/site-packages/aiohttp/__init__.py", line 5, in <module>
from . import hdrs as hdrs
File "/Users/dsernst/.local/share/virtualenvs/forest-RQF5VO1v/lib/python3.9/site-packages/aiohttp/hdrs.py", line 8, in <module>
from multidict import istr
ModuleNotFoundError: No module named 'multidict'
from forest.
I'm making progress by manually pip install X
the different No module named X
errors it's giving me.
from forest.
So manually running
pip install aioprocessing asyncpg base58 phonenumberslite prometheus_async prometheus_client protobuf termcolor ulid2 pycryptodome
(from all the deps listed in Pipfile
)
worked up until errors about Missing module libfuse
.
Eventually realized from seeing it in all the Dockerfiles that one is not a python lib.
Found https://github.com/libfuse/libfuse/, which pointed me to https://osxfuse.github.io since I'm trying to run this from OS X. Installed, which then required a restart and now we're past all the dependency errors....
So I'm personally unblocked from that particular class of errors now.
Seems like I did something wrong w/ my pipenv
/ virtualenv
config. I tried looking into the virtualenv docs to figure out what but didn't have much luck.
Happy to close this issue now, maybe it can be helpful to others who get stuck in a similar way, or maybe there's something missing from the install instructions to prevent it in the future. I don't feel qualified to say, but since I'm unblocked, I will close.
from forest.
This is an issue I'd encountered before but didn't know how to fix or reproduce. This might end up being really helpful, so thank you!
from forest.
@dsernst in the end, did you fall back on running without using pipenv?
I would like to be able to fix this pipenv issue so I can provide better guideance to people, but I'm also unsure about where exactly the breakdown in dependency management is happening. It might even be a bug with Pipenv.
Reopening for now I guess, since I'm having this issue too, and it'll be good to keep that in mind. Might close again if we... change the way we're handling dependencies or something, but it's a known bug right now. I just don't know exactly how to reproduce it.
from forest.
Hard to say... I haven't gotten it all working yet. Had to stop for the night and haven't had a chance to come back to it yet — hopefully later today if I can finish some other work 🙂
I believe running:
pip install aioprocessing asyncpg base58 phonenumberslite prometheus_async prometheus_client protobuf termcolor ulid2 pycryptodome
fixed the dependency issues. Because then running
pipenv run python -m sample_bots.hellobot
would show new, different errors. Making progress 😄
But my recollection was the newest error I got stuck on was along the lines of Can't find /etc/hostnames
. Haven't opened an issue for it yet.
Hope this helps
from forest.
I'm sure this issue will come up again with poetry but I can't current reproduce anything so
from forest.
Related Issues (20)
- [docs] Note slow install command: curl signalcaptchas.org HOT 1
- ModuleNotFoundError using pdictng HOT 1
- mobfriend.py failing checks on Github Actions HOT 1
- How to @ tag a user? HOT 2
- what to call the payments demo. HOT 3
- use precompiled signal clients binaries HOT 3
- add clarifying comment HOT 1
- questionbotting / add ask_multiplechoice_question
- Hotline: Blast admins of a list regardless if they're a list member or not
- Unexpected behavior when sending reaction in groups HOT 3
- use build_transaction instead of build_split_txo_transaction in split_txos_slow and use multiple inputs
- don't default to duplicating thank you for payment message in handle_payment + payment_response HOT 1
- strict mode where bots ignore messages in groups that don't mention the bot
- allow ADMINS to be editable at runtime HOT 1
- "Unable to find libfuse" in MacOS HOT 3
- Build Auxin-cli Error: failed to select a version for the requirement `curve25519-dalek = "^2.0.0"` HOT 5
- Compatibility with latest Signal-CLI datastore broken HOT 1
- Sending attachment/images
- mc_utils obsolete / bots no longer can correctly decode receiver_receipt objs
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 forest.