predict-idlab / plotly-resampler

Visualize large time series data with plotly.py
https://predict-idlab.github.io/plotly-resampler/latest
MIT License
990 stars 67 forks source link

whl install issue in kaggle #267

Closed ddoron9 closed 8 months ago

ddoron9 commented 8 months ago

Describe the bug :crayon:

A clear and concise description of what the bug is.

hi. I'm setting up plotly-resampler in kaggle with offline. due to install in offline, I'm trying to build it with whl extension. but it shows errors. is there any way to install it offline in notebook environment?

Processing /kaggle/input/neuralprophet/plotly_resampler-0.8.3.2.tar.gz Installing build dependencies: started Installing build dependencies: still running... Installing build dependencies: still running... Installing build dependencies: finished with status 'error' error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [7 lines of output] WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x78ac7fdfe9e0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools/ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x78ac7fdfed10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools/ WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x78ac7fdfefb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools/ WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x78ac7fdff160>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools/ WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x78ac7fdff310>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools/ ERROR: Could not find a version that satisfies the requirement setuptools (from versions: none) ERROR: No matching distribution found for setuptools [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip. 19%|█▉ | 21/111 [10:38<45:36, 30.40s/it]

CalledProcessError Traceback (most recent call last) Cell In[5], line 11 9 subprocess.check_call([sys.executable,'-m', 'pip', 'install', i, '--upgrade', '--ignore-installed', '--no-deps']) 10 elif i.endswith("tar.gz"): ---> 11 subprocess.check_call([sys.executable,'-m', 'pip', 'install', i])

File /opt/conda/lib/python3.10/subprocess.py:369, in check_call(*popenargs, **kwargs) 367 if cmd is None: 368 cmd = popenargs[0] --> 369 raise CalledProcessError(retcode, cmd) 370 return 0

CalledProcessError: Command '['/opt/conda/bin/python3.10', '-m', 'pip', 'install', '/kaggle/input/neuralprophet/plotly_resampler-0.8.3.2.tar.gz']' returned non-zero exit status 1.

Environment information: (please complete the following information)

Additional context Add any other context about the problem here.

jonasvdd commented 8 months ago

Hi @ddoron9, I just tried installing plotly-resampler>=0.9.1 in kaggle and it worked! Could you try this with a more recent version of plotly-resampler?