nest_asyncio is not added in pyproject.toml
See original GitHub issue🐛 Bug
Hi all,
my installation from source throws the following Error:
Current Behavior
Traceback (most recent call last):
File "playground.py", line 3, in <module>
from pyrdf2vec import RDF2VecTransformer
File "/home/mblum/anaconda3/envs/rdf2vec/lib/python3.8/site-packages/pyrdf2vec/__init__.py", line 1, in <module>
import nest_asyncio
ModuleNotFoundError: No module named 'nest_asyncio'
Steps to Reproduce
- conda create --name rdf2vec python=3.8
- conda activate rdf2vec
- git clone https://github.com/IBCNServices/pyRDF2Vec.git
- cd pyRDF2Vec/
- pip install .
- pip install pandas
- python playground.py (getting started example)
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
nest_asyncio is not added in pyproject.toml - Issues Antenna
It's weird that you have to install nest_asyncio , because the nest-asyncio package is already specified as a dependency with pyRDF2Vec. To ...
Read more >erdewit/nest_asyncio: Patch asyncio to allow nested event loops
By design asyncio does not allow its event loop to be nested. This presents a practical problem: When in an environment where the...
Read more >nest-asyncio - PyPI
Introduction. By design asyncio does not allow its event loop to be nested. This presents a practical problem: When in an environment where...
Read more >PIP Failure to satisfy dependencies that are listed as available
1 Answer 1 ; # Done with fresh Python env, installs latest > pip install "ipykernel != 6.9.*, != 6.10.*, != 6.11.*, !=...
Read more >error: could not build wheels for scikit-image, which is required ...
PinApp is added to “For Me” ... error error: subprocess-exited-with-error × Building wheel for slycot (pyproject.toml) did not run successfully.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thank you so much @rememberYou ❤️ ! This is greatly appreciated.
It’s weird that you have to install
nest_asyncio
, because thenest-asyncio
package is already specified as a dependency with pyRDF2Vec. To prevent this problem from happening again, I also specifiednest_asyncio
, as suggested (cf. b95f6dc5420bed2b94e12ddb3d4ee1cb11c2cb05), which likenest-asyncio
is in itself a temporary package that can be removed in the future.I also created a
docker-compose
and aDockerfile
file for installing these dependencies withpoetry
and otherwise facilitating pyRDF2Vec contributions (cf. 2ea1af9af50f61e0d851ee08fe1f94073e33122c). With a simple command, a Jupyter notebook with the dependencies already installed can now be used 😃