-
Notifications
You must be signed in to change notification settings - Fork 293
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
Installing additional python packages in running container is no longer recognised by vscode jupyter #9953
Comments
Thanks for filing this issue, however I'm unable to test this at my end without the |
Hi Don, You can find the Please let me know if there is anything else I can do :)
Edit: @DonJayamanne I removed |
Does this mean you're unable to import packages after installing them with |
I believe it may be the same or a very similar issue you faced. Installing packages via terminal gives me a ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: '/opt/conda/lib/python3.8/site-packages/itsdangerous'
Consider using the `--user` option or check the permissions. |
Actually, that error is different and expected. Running it again with Edit: submitted #9995 |
@derekschinke @knoriy Please could you try re-installing using Here's a link to our WIKI with bit more information https://github.com/microsoft/vscode-jupyter/wiki/Installing-Python-packages-in-Jupyter-Notebooks & https://jakevdp.github.io/blog/2017/12/05/installing-python-packages-from-jupyter/ |
Closing this issue as its been over 4 weeks, since the information was requested. |
Applies To
What happened?
Steps
Remote - Containers
pip install package
(package used wastorchaudio
andtgt
)ModuleNotFoundError: No module named 'tgt'
expectation and result
The package should be available in the notebook session after notebook restart but gets an error that the module is not found.
(I have used these exact steps in the past without any issue)
I have tested this in a normal notebook session (running in the same container instance) via
jupyter lab --ip 0.0.0.0 --no-browser
, the package is installed and is seen by python as expected.dockerfile
VS Code Version
Version: 1.67.0 Commit: 57fd6d0195bb9b9d1b49f6da5db789060795de47 Date: 2022-05-04T12:08:42.978Z Electron: 17.4.1 Chromium: 98.0.4758.141 Node.js: 16.13.0 V8: 9.8.177.13-electron.0 OS: Linux x64 5.16.19-76051619-generic
Jupyter Extension Version
v2022.4.1011282140
Jupyter logs
Coding Language and Runtime Version
Python 3.8
Language Extension Version (if applicable)
Pylance v2022.4.3
Anaconda Version (if applicable)
conda 4.11.0
Running Jupyter locally or remotely?
Remote
The text was updated successfully, but these errors were encountered: