Categories
Mastering Development

Max retries exceeded with url, Failed to establish a new connect Errno 60] Operation timed out’

I used nginx to build mlflow server with its proxy_pass and integrated simple HTTP auth in nginx. However, when I ran the experiment for a while, the mlflow client met this exception. And I have no idea how to fix it. Here is the error messages: Traceback (most recent call last): File “/usr/local/opt/python/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/urllib3/connection.py”, line 159, […]

Categories
Mastering Development

Error in running the Sebal model in the Grass GIS 7.8

I was running the Sebal model in the Grass GIS 7.8 software environment (you can find code here: https://github.com/rafatieppo/sebal). It gave following errors. Error processing line 1 of C:\Program Files\GRASS GIS 7.8\Python37\lib\site- packages\matplotlib-3.0.0-py3.7-nspkg.pth: Traceback (most recent call last): File “C:\Program Files\GRASS GIS 7.8\Python37\lib\site.py”, line 168, in addpackage exec(line) File “<string>”, line 1, in <module> File […]

Categories
Mastering Development

Jupyter Notebook [Errno 24] Too many open files

I started running into the following errors after opening approximately six files: Traceback (most recent call last): File “/Users/yifanwu/anaconda3/lib/python3.7/site-packages/tornado/web.py”, line 1699, in _execute File “/Users/yifanwu/anaconda3/lib/python3.7/site-packages/tornado/gen.py”, line 742, in run File “/Users/yifanwu/anaconda3/lib/python3.7/site-packages/notebook/services/sessions/handlers.py”, line 72, in post File “/Users/yifanwu/anaconda3/lib/python3.7/site-packages/tornado/gen.py”, line 735, in run File “/Users/yifanwu/anaconda3/lib/python3.7/site-packages/tornado/gen.py”, line 742, in run File “/Users/yifanwu/anaconda3/lib/python3.7/site-packages/notebook/services/sessions/sessionmanager.py”, line 88, in create_session File “/Users/yifanwu/anaconda3/lib/python3.7/site-packages/tornado/gen.py”, […]

Categories
Development

TypeError: List of Tensors when single Tensor expected when using tf.reshape()

I’m getting a “TypeError: List of Tensors when single Tensor expected” when trying to use tf.reshape() after using tf.transpose in Tensorflow. My data is just a list of numbers in a 1D array: [[3,0,5.6,5], [0,0,4.566,8], [1,4,6.544,0]] Input place holder shape is: Tensor(“Placeholders/Placeholder:0”, shape=(?, 22000, 1), dtype=float32) After using tf.transpose it’s: x= tf.transpose(input_dims,[1,0,2]) Tensor(“transpose:0”, shape=(22000, ?, […]

Categories
Development Python

trouble using python 3 because of kernel error

I just installed anaconda 3 and tried to use Jupyter Notebook for Python 3. However, it did not work because of the kernel error on the top right coner and the error message was Traceback (most recent call last): File “C:\Users\jiyoon\Anaconda3\lib\site-packages\tornado\web.py”, line 1699, in _execute result = await result File “C:\Users\jiyoon\Anaconda3\lib\site-packages\tornado\gen.py”, line 742, in run […]

Categories
Development

Fix spotdl error FileNotFoundError: [Errno 2] No such file or directory: ‘/Users/kyrillhuet/Desktop/song.mp3’

I am currently making a script to easily download songs with spotdl. Here is my work so far. Kind of messy, but it’s my first time programming. echo “EASY SPOTDL” echo “———————————-” echo “” echo “Copy your song link and paste it into here:” read link echo “?: OK! Preparing to download $link” echo”” echo […]

Categories
Development

AttributeError: ‘NoneType’ object has no attribute ‘loader’ when starting Anaconda Powershell Prompt

When I open the Anaconda 3 Powershell Prompt it is giving this on startup (see below). Some similar problems have received various answers which I find confusing to implement, could someone offer a step-by-step solution to this? (I believe it has something to do with matplotlib.) Thanks! Error processing line 1 of C:\ProgramData\Anaconda3\lib\site-packages\matplotlib-3.1.1-py3.7-nspkg.pth: Traceback (most […]

Categories
Development Windows

Kernel error (Errno 13 Permission denied) in Jupyter Notebook, Windows 10

I have installed Jupyter Notebook on Windows 10. I can execute jupyter notebook command. It opens and shows a list of current path directories. I also can create or open a notebook. But when I do it I get Kernel error in the top right corner. After clicking on it this window appears: Failed to […]

Categories
Development

I am new in machine learning .please help how to solve this error

return deserialize(config, custom_objects=custom_objects) File “C:\ProgramData\Anaconda3\lib\site-packages\keras\layers\__init__.py”, line 168, in deserialize printable_module_name=’layer’) File “C:\ProgramData\Anaconda3\lib\site-packages\keras\utils\generic_utils.py”, line 147, in deserialize_keras_object list(custom_objects.items()))) File “C:\ProgramData\Anaconda3\lib\site-packages\keras\engine\network.py”, line 1062, in from_config process_node(layer, node_data) File “C:\ProgramData\Anaconda3\lib\site-packages\keras\engine\network.py”, line 1012, in process_node layer(unpack_singleton(input_tensors), **kwargs) File “C:\ProgramData\Anaconda3\lib\site-packages\keras\engine\base_layer.py”, line 451, in __call__ output = self.call(inputs, **kwargs) File “C:\ProgramData\Anaconda3\lib\site-packages\keras\layers\convolutional.py”, line 163, in call dilation_rate=self.dilation_rate[0]) File “C:\ProgramData\Anaconda3\lib\site-packages\keras\backend\theano_backend.py”, line 2120, in […]

Categories
Development

Jupyter Notebook Dead Kernel after reinstalling pycharm

I had to reset my Windows 10 PC, reinstall python, jupyter and Pycharm, but kept my notebooks. When I run the jupyter server, it shows the notebook but the kernel is dead and the console shows the following error. How can I make the kernel work? Traceback (most recent call last): File “c:\users\dianacarolina\google drive\clases\particulares\venv\lib\site-packages\tornado\web.py”, line […]