Problemas con Jupyter y SAS-DLPy

estamos teniendo problemas al haber reinstalado Jupyter en una ruta distinta dentro del servidor por problemas de espacio. Hemos reinstalado todos los paquetes necesarios (o eso espero) para correr el código (sas-dlpy, etc), pero el código no funciona.

El código no ha sido tocado y es el mismo que funcionaba en la anterior instalación, simplemente probado en la nueva instalación.

El problema viene con el método fit de la API de sas-dlpy, otros métodos funcionan bien, pero al llegar a ese nos da el siguiente error: Imagen del error

How to chain unix commands in jupyter notebooks while on windows 10?

My Os is windows 10 and I am using a jupyter notebook from anaconda prompt.

When I type !pwd it works, When I type !ls -l it works, But when I want to chain the commands and output them to an output file e.g. !(pwd; ls-l) > out.txt it says: “pwd: unknown option — l Try ‘pwd –help’ for more information.”

Does anyone know how to chain these commands and output them to a file?

Thank you in advance

Importing a python file into JupyterLab which was exported from another Jupyter Notebook

I have a JupyterLab Notebook. It has been exported as a python file. Now, I need to import the saved python file again into the JupyterLab with the same codeblocks.

Is it possible to do that?

I am doing this because the developers are sharing this Notebook for analysis. Is there a way of sharing through git? I found the jupyterlab-git extension. However, it isn’t supported for Python2.

Is there anyway to do that?

Thanks.

Некорректная установка jupyter notebook

Началось всё после установки библиотеки pandas_profiling. На работе встала без проблем, правда устанавливал варварски – просто клал в папку с библиотеками. Дома установил через консольный запрос. После этого юпитер завис. И при запуске тут же закрывался. Удалил. Скачал новый, свежий. Поставил. Установился, но в панели пуск нет ссылок на исполняемые файлы . Попробовал поставить через командную строку. С тем же результатом. Командная строка выдаёт следующую ошибку:

C:\Users\User>jupyter notebook Traceback (most recent call last):   File "C:\Users\User\Anaconda3\Scripts\jupyter-script.py", line 10, in <module>     sys.exit(main())   File "C:\Users\User\AppData\Roaming\Python\Python37\site-packages\jupyter_core\command.py", line 230, in main     command = _jupyter_abspath(subcommand)   File "C:\Users\User\AppData\Roaming\Python\Python37\site-packages\jupyter_core\command.py", line 133, in _jupyter_abspath     'Jupyter command `{}` not found.'.format(jupyter_subcommand) Exception: Jupyter command `jupyter-notebook` not found. 

Как можно вернуть ноутбук? ОС – Windows10.

AWS CloudFormation Template for Jupyter

When reading the instructions for setting up a CloudFormation Template in Creating and Using a Jupyter Instance on AWS, I find the following modification difficult.

"AWSRegionArch2AMI" : {   "ap-southeast-2" : {"HVM64" : "ami-58facb3b", "HVMG2" : "ami-6cfdcc0f"} } 

I’ve set up an AMI running on Amazon Linux 2 with instance type “c5d.2xlarge”. Which HVM (HVM64, HVMG2, HVMP2) should be chosen?

I’ve read How do I specify in an AWS Cloudformation template that my t1.micro instances are 64-bit architecture, and I’ve tried searching the sample CloudFormation template in the linked PDF, but there’s no c5d.2xlarge in AWSInstanceType2Arch. The official docs simply say that it’s related to the AMI’s architechture without further explanations.

When I enter %matplotlib inline in jupyter notebook it shows error [WinError 193] %1 is not a valid Win32 application

I use Jupyter notebook. And in need %matplotlib inline so I can plot some functions. It showed this mistake [WinError 193] %1 is not a valid Win32 application. I have fixed paths in Environment Variables. Reinstalled Anaconda Navigator. Nothing helps and I need to fix the issue ASAP.