Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation script error #3

Open
newuser202201 opened this issue Dec 28, 2022 · 7 comments
Open

Installation script error #3

newuser202201 opened this issue Dec 28, 2022 · 7 comments
Labels
documentation Improvements or additions to documentation

Comments

@newuser202201
Copy link

I can install using pip, but when running the installation script I get this error.
By the way, assuming it is installed correctly, how is the wine jupyter server started ?

python -m wenvkernel.install
Traceback (most recent call last):
File "/root/anaconda3/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/root/anaconda3/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/root/anaconda3/lib/python3.8/site-packages/wenvkernel/install.py", line 38, in
_setup_kernels()
File "/root/anaconda3/lib/python3.8/site-packages/wenvkernel/_core.py", line 61, in setup_kernels
setup_kernel(bits)
File "/root/anaconda3/lib/python3.8/site-packages/wenvkernel/_core.py", line 73, in setup_kernel
_wenv_pip(bits, "install", "ipykernel")
File "/root/anaconda3/lib/python3.8/site-packages/wenvkernel/_core.py", line 125, in _wenv_pip
raise SystemError("wenv pip failed", out, err)
SystemError: ('wenv pip failed', '', 'Unknown command or script: "pip"\n')

@s-m-e
Copy link
Member

s-m-e commented Dec 28, 2022

wenv-kernel is built on top of wenv which must be initialized beforehand, see its documentation. This was not required earlier, the instructions in this repo need updating.

Once the kernel is installed, you can start Jupyter Lab just like you usually are. You should see two new kernels appearing in the launcher.

@s-m-e s-m-e added the documentation Improvements or additions to documentation label Dec 28, 2022
@newuser202201
Copy link
Author

Hi, thanks. I run the initialization script "wenv init" , but when running "python -m wenvkernel.install" I still the errors reported above.

@newuser202201
Copy link
Author

I have installed jupyter in wine and I can run it directly from wine. I can open win32 kernel from wenv, but not win64 kernel.
I have installed a package in wine python 64, so I cannot see it in win 32 kernel. Correct? The init problems above mentioned persist

@s-m-e
Copy link
Member

s-m-e commented Jan 3, 2023

The init problems above mentioned persist

On my todo list - need to reproduce this.

I have installed jupyter in wine and I can run it directly from wine.

That's also a solution, yes.

I can open win32 kernel from wenv, but not win64 kernel.

Not in the above mentioned way, correct.

I have installed a package in wine python 64, so I cannot see it in win 32 kernel. Correct?

Yes.

@newuser202201
Copy link
Author

I think using the win64 kernel with wenv would take less memory than using jupyter directly from wine, so hopefully the init will be resolved, thanks

@newuser202201
Copy link
Author

Hi, did you check if win64 works now?

@newuser202201
Copy link
Author

Giving up ..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants