Comments (7)
More info would help, because the given example doesn't work for other reasons for me:
AttributeError: Can't get attribute 'foo' on <module '__main__' (built-in)>
but if I change it to p = Process(target=print, args=(42,))
to avoid looking up foo
in nonexistent __main__
, then I see:
[stdout:0] 42
and no errors.
Can you share the output of pip freeze
and Python version, OS?
from ipyparallel.
Thanks for reply!
Process(target=print, args=(42, ))
also gives me the same error msg.
Also, I tested it in non-interactive environment, the problem still occured.
Python version: 3.8.10 (GCC 9.4.0)
OS: Ubuntu 20.04.4 LTS
Due to the network limitation, I can't show you the full output of pip freeze
but some maybe revelant.
ipyparallel==8.6.1
jupyter==1.0.0
jupyter-client==7.3.5
jupyter-core==4.11.1
from ipyparallel.
The most relevant additional packages are ipython
and ipykernel
.
from ipyparallel.
When I run this in an empty ubuntu 20:04 container, I don't get the captured output, but I also don't get any errors:
# pip freeze
asttokens==2.4.0
backcall==0.2.0
comm==0.1.4
debugpy==1.7.0
decorator==5.1.1
entrypoints==0.4
executing==1.2.0
importlib-metadata==6.8.0
ipykernel==6.25.2
ipyparallel==8.6.1
ipython==8.12.2
jedi==0.19.0
jupyter_client==8.3.1
jupyter_core==5.3.1
matplotlib-inline==0.1.6
nest-asyncio==1.5.7
packaging==23.1
parso==0.8.3
pexpect==4.8.0
pickleshare==0.7.5
platformdirs==3.10.0
prompt-toolkit==3.0.39
psutil==5.9.5
ptyprocess==0.7.0
pure-eval==0.2.2
Pygments==2.16.1
python-dateutil==2.8.2
pyzmq==25.1.1
six==1.16.0
stack-data==0.6.2
tornado==6.3.3
tqdm==4.66.1
traitlets==5.9.0
typing_extensions==4.7.1
wcwidth==0.2.6
zipp==3.16.2
from ipyparallel.
ipykernel==6.16.0
ipyparallel==8.6.1
ipython==8.5.0
ipython-genutils==0.2.0
ipywidgets==8.0.2
Hope this help
from ipyparallel.
Try upgrading ipykernel and ipython. ipykernel is the package most likely to be relevant.
from ipyparallel.
Upgrading ipykernel and ipython doesn't work, but upgrading pyzmq does fix this problem. 24.0.1 -> 25.1.1
Since it's not a issue of ipyparallel, I'll close it. Thanks for your patience.
from ipyparallel.
Related Issues (20)
- No module named 'jupyter_server' HOT 2
- How to make it work with torch DDP HOT 4
- Transition from `CompositeError` to builtin `ExceptionGroup` HOT 1
- ipcluster nbextension enable not working after notebook upgrade HOT 2
- Windows ssh support by ipcluster HOT 39
- map_sync with pandas operation function does not finish. HOT 1
- Py3.10 code serialization does not work on PyPy3.10
- sync_imports not working as intended HOT 9
- ipyparallel and pymoo doesn't work HOT 2
- AsyncResult.join doesn't work
- AsyncResult.abort() call hangs if not all jobs can be stopped HOT 1
- Question: engines and databases HOT 1
- BroadcastView map Not Implemented HOT 3
- Cannot run ipythonparallel with openmpi HOT 7
- 60s timeout on get_connection_info() is not configurable HOT 1
- please release/tag/pypi the current version as it supports JupyterLab 4.x HOT 2
- SSHEngineLauncher does not work as expected HOT 2
- Outstanding task on client but hub says completed when using broadcast view
- Entrypoints should be phased out 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 ipyparallel.