-
Notifications
You must be signed in to change notification settings - Fork 65
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
Package with pip dep fails with Jupyter notebook on Windows #226
Comments
Running a JupyterLab notebook on Windows 11 with the following code worked for me: import Pkg
Pkg.activate(temp=true)
Pkg.add(url="https://github.com/madhavkrishnan/TestPkg.jl")
using TestPkg
TestPkg.scipy |
I tried again in a VSCode notebook (since it appears that's what you're using) and that worked too. |
Anyway you should use the conda |
Thanks for the response @cjdoris. The |
OK cool. Environments shouldn't get messed up - if it happens again and you suspect this package is to blame, please open another issue. |
I am writing a package with a pip depencency which works correctly in the REPL but fails in a Jupyter notebook on Windows. However, it works correctly on Ubuntu using WSL.
OS : Win 10
Julia 1.8.1
PythonCall 0.9.6
The error message I get from CondaPkg is
I've made MWE here https://github.com/madhavkrishnan/TestPkg.jl. Adding relavant files here for ease.
src/TestPkg.jl
CondaPkg.toml
Failing notebook - https://github.com/madhavkrishnan/TestPkg.jl/blob/main/debug/test.ipynb
Working script
debug/test.jl
Could someone check if this is reproducable or if it is a problem with my system?
The text was updated successfully, but these errors were encountered: