First of all, I’d like to apologize in advance for the fact that my question will undoubtedly seem very basic to those who are used to it.
As I want to implement an application using semantic proximity, I’d like to install pandas. As I’ve read elsewhere, I’m using Replit’s built-in functionality to install packages. I get the following result:
Replit: Updating package configuration
--> poetry add 'pandas 2.0.2'
Updating dependencies
Resolving dependencies...
Writing lock file
Package operations: 4 installs, 0 updates, 0 removals
• Installing six (1.16.0)
• Installing python-dateutil (2.8.2)
• Installing tzdata (2023.3)
• Installing pandas (2.0.2)
/home/runner/TriviaLite/venv/lib/python3.8/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
^C
The console gets stuck at this point (the warning parenthesis never closes), so I exit the console with Ctrl+C. Then, when I want to run my python script using pandas, I get the following result
python3 test.py
Traceback (most recent call last):
File "test.py", line 16, in <module>
import pandas as pd
File "/home/runner/TriviaLite/venv/lib/python3.8/site-packages/pandas/__init__.py", line 48, in <module>
from pandas.core.api import (
File "/home/runner/TriviaLite/venv/lib/python3.8/site-packages/pandas/core/api.py", line 47, in <module>
from pandas.core.groupby import (
File "/home/runner/TriviaLite/venv/lib/python3.8/site-packages/pandas/core/groupby/__init__.py", line 1, in <module>
from pandas.core.groupby.generic import (
File "/home/runner/TriviaLite/venv/lib/python3.8/site-packages/pandas/core/groupby/generic.py", line 77, in <module>
from pandas.core.frame import DataFrame
File "/home/runner/TriviaLite/venv/lib/python3.8/site-packages/pandas/core/frame.py", line 182, in <module>
from pandas.core.generic import NDFrame
File "/home/runner/TriviaLite/venv/lib/python3.8/site-packages/pandas/core/generic.py", line 179, in <module>
from pandas.core.window import (
File "/home/runner/TriviaLite/venv/lib/python3.8/site-packages/pandas/core/window/__init__.py", line 1, in <module>
from pandas.core.window.ewm import (
File "/home/runner/TriviaLite/venv/lib/python3.8/site-packages/pandas/core/window/ewm.py", line 11, in <module>
import pandas._libs.window.aggregations as window_aggregations
ImportError: libstdc++.so.6: cannot open shared object file: No such file or directory
I have exactly the same problem with the scipy package
Thanks in advance !