Skip to content
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

Getting several errors running scripts/install-virtualenv.sh #49

Open
ashishchandr70 opened this issue Mar 10, 2023 · 0 comments
Open

Comments

@ashishchandr70
Copy link

I ran install.sh nodocker but that failed because pandas could not be built.

Then I followed the instructions in #21 (comment) but still getting errors running scripts/install-virtualenv.sh

My environment:

$ cat /etc/*release*
ID="ec2"
VERSION="20230124-1270"
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

Output of uname -a

$ uname -a
Linux ip-172-31-44-113 5.10.0-21-cloud-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux

Error trace (some snipping donw by me to fit the github character limit):

$ scripts/install-virtualenv.sh

create chainhammer virtualenv

after possibly removing a whole existing env/ folder !!!

the new virtualenv will be installed below here:
/home/admin/chainhammer

Think twice. Then press enter to continue

++ rm -rf env
++ python3 -m venv env
++ echo

++ set +x
+++ source env/bin/activate
++ echo

++ python3 -m pip install --upgrade pip==18.1
Collecting pip==18.1
  Using cached pip-18.1-py2.py3-none-any.whl (1.3 MB)
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 20.3.4
    Uninstalling pip-20.3.4:
      Successfully uninstalled pip-20.3.4
Successfully installed pip-18.1
++ pip3 install wheel
Collecting wheel
  Using cached https://files.pythonhosted.org/packages/bd/7c/d38a0b30ce22fc26ed7dbc087c6d00851fb3395e9d0dac40bec1f905030c/wheel-0.38.4-py3-none-any.whl
Installing collected packages: wheel
Successfully installed wheel-0.38.4
You are using pip version 18.1, however version 23.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
++ pip3 install --upgrade py-solc==3.2.0 web3==4.8.2 'web3[tester]==4.8.2' rlp==0.6.0 eth-testrpc==1.3.5 requests==2.21.0 pandas==1.1.2 matplotlib==3.3.2 pytest==4.0.2 pytest-cov==2.6.0 jupyter==1.0.0 ipykernel==5.1.0
Collecting py-solc==3.2.0
  Using cached https://files.pythonhosted.org/packages/47/74/d36abca3f36ccdcd04976c50f83502c870623e5beb4a4ec96c7bad4bb9e8/py_solc-3.2.0-py3-none-any.whl
Collecting web3==4.8.2
  Using cached https://files.pythonhosted.org/packages/84/7b/8dfe018c0b94a68f88d98ff39c11471ac55ffbcb22cd7ab41010c1476a75/web3-4.8.2-py3-none-any.whl
Collecting rlp==0.6.0
Collecting eth-testrpc==1.3.5
  Using cached https://files.pythonhosted.org/packages/bc/9a/8a8c90b8ed4db0afc39bc7b67b52aa8cbbc9c08bbd93f7ca92719e3493a3/eth_testrpc-1.3.5-py3-none-any.whl
Collecting requests==2.21.0
  Using cached https://files.pythonhosted.org/packages/7d/e3/20f3d364d6c8e5d2353c72a67778eb189176f08e873c9900e10c0287b84b/requests-2.21.0-py2.py3-none-any.whl
Collecting pandas==1.1.2
  Using cached https://files.pythonhosted.org/packages/64/f1/8fdbd74edfc31625d597717be8c155c6226fc72a7c954c52583ab81a8614/pandas-1.1.2.tar.gz
  Installing build dependencies ... done
Collecting matplotlib==3.3.2
Collecting pytest==4.0.2
  Using cached https://files.pythonhosted.org/packages/19/80/1ac71d332302a89e8637456062186bf397abc5a5b663c1919b73f4d68b1b/pytest-4.0.2-py2.py3-none-any.whl
Collecting pytest-cov==2.6.0
  Using cached https://files.pythonhosted.org/packages/7b/44/4e421b96b67b2daff264473f7465db72fbdf36a07e05494f50300cc7b0c6/rfc3339_validator-0.1.4-py2.py3-none-any.whl
Building wheels for collected packages: pandas, pillow
  Running setup.py bdist_wheel for pandas ... error
  Complete output from command /home/admin/chainhammer/env/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-t6avqa7g/pandas/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-2ez98py3 --python-tag cp39:
  /tmp/pip-install-t6avqa7g/pandas/setup.py:45: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
    _CYTHON_INSTALLED = _CYTHON_VERSION >= LooseVersion(min_cython_ver)
  /tmp/pip-install-t6avqa7g/pandas/setup.py:491: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
    if np.__version__ < LooseVersion("1.16.0"):
  /tmp/pip-build-env-wb4l_khi/lib/python3.9/site-packages/setuptools/__init__.py:85: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`.
    dist.fetch_build_eggs(dist.setup_requires)
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-cpython-39
  creating build/lib.linux-x86_64-cpython-39/pandas
 [...]
  
  UPDATING build/lib.linux-x86_64-cpython-39/pandas/_version.py
  set build/lib.linux-x86_64-cpython-39/pandas/_version.py to '1.1.2'
  running build_ext
  building 'pandas._libs.algos' extension
  creating build/temp.linux-x86_64-cpython-39
  creating build/temp.linux-x86_64-cpython-39/pandas
  creating build/temp.linux-x86_64-cpython-39/pandas/_libs
  [...]
  building 'pandas._libs.writers' extension
  x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-RNBry6/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DNPY_NO_DEPRECATED_API=0 -I/tmp/pip-build-env-wb4l_khi/lib/python3.9/site-packages/numpy/core/include -I/home/admin/chainhammer/env/include -I/usr/include/python3.9 -c pandas/_libs/writers.c -o build/temp.linux-x86_64-cpython-39/pandas/_libs/writers.o -Werror
  pandas/_libs/writers.c: In function ‘__pyx_f_6pandas_5_libs_7writers_word_len’:
  pandas/_libs/writers.c:5099:5: error: ‘_PyUnicode_get_wstr_length’ is deprecated [-Werror=deprecated-declarations]
   5099 |     __pyx_v_l = PyUnicode_GET_SIZE(__pyx_v_val);
        |     ^~~~~~~~~
  In file included from /usr/include/python3.9/unicodeobject.h:1026,
                   from /usr/include/python3.9/Python.h:97,
                   from pandas/_libs/writers.c:35:
  /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
    446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
        |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
  pandas/_libs/writers.c:5099:5: error: ‘PyUnicode_AsUnicode’ is deprecated [-Werror=deprecated-declarations]
   5099 |     __pyx_v_l = PyUnicode_GET_SIZE(__pyx_v_val);
        |     ^~~~~~~~~
  In file included from /usr/include/python3.9/unicodeobject.h:1026,
                   from /usr/include/python3.9/Python.h:97,
                   from pandas/_libs/writers.c:35:
  /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
    580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
        |                                             ^~~~~~~~~~~~~~~~~~~
  pandas/_libs/writers.c:5099:5: error: ‘_PyUnicode_get_wstr_length’ is deprecated [-Werror=deprecated-declarations]
   5099 |     __pyx_v_l = PyUnicode_GET_SIZE(__pyx_v_val);
        |     ^~~~~~~~~
  In file included from /usr/include/python3.9/unicodeobject.h:1026,
                   from /usr/include/python3.9/Python.h:97,
                   from pandas/_libs/writers.c:35:
  /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
    446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
        |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
  cc1: all warnings being treated as errors
  error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
  
  ----------------------------------------
  Failed building wheel for pandas
  Running setup.py clean for pandas
  Running setup.py bdist_wheel for pillow ... error
  Complete output from command /home/admin/chainhammer/env/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-t6avqa7g/pillow/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-svlivdp3 --python-tag cp39:
  running bdist_wheel
  running build
  running build_py
  Generating grammar tables from /usr/lib/python3.9/lib2to3/Grammar.txt
  Generating grammar tables from /usr/lib/python3.9/lib2to3/PatternGrammar.txt
  creating build
  creating build/lib.linux-x86_64-3.9
  creating build/lib.linux-x86_64-3.9/PIL
 [...]
  no previously-included directories found matching '.ci'
  writing manifest file 'src/Pillow.egg-info/SOURCES.txt'
  running build_ext
  
  
  The headers or library files could not be found for jpeg,
  a required dependency when compiling Pillow from source.
  
  Please see the install instructions at:
     https://pillow.readthedocs.io/en/latest/installation.html
  
  Traceback (most recent call last):
    File "/tmp/pip-install-t6avqa7g/pillow/setup.py", line 993, in <module>
      setup(
    File "/home/admin/chainhammer/env/lib/python3.9/site-packages/setuptools/__init__.py", line 162, in setup
      return distutils.core.setup(**attrs)
    File "/usr/lib/python3.9/distutils/core.py", line 148, in setup
      dist.run_commands()
    File "/usr/lib/python3.9/distutils/dist.py", line 966, in run_commands
      self.run_command(cmd)
    File "/usr/lib/python3.9/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/home/admin/chainhammer/env/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 325, in run
      self.run_command("build")
    File "/usr/lib/python3.9/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/usr/lib/python3.9/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/usr/lib/python3.9/distutils/command/build.py", line 135, in run
      self.run_command(cmd_name)
    File "/usr/lib/python3.9/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/usr/lib/python3.9/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/home/admin/chainhammer/env/lib/python3.9/site-packages/setuptools/command/build_ext.py", line 84, in run
      _build_ext.run(self)
    File "/usr/lib/python3.9/distutils/command/build_ext.py", line 340, in run
      self.build_extensions()
    File "/tmp/pip-install-t6avqa7g/pillow/setup.py", line 808, in build_extensions
      raise RequiredDependencyException(f)
  __main__.RequiredDependencyException: jpeg
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/tmp/pip-install-t6avqa7g/pillow/setup.py", line 1010, in <module>
      raise RequiredDependencyException(msg)
  __main__.RequiredDependencyException:
  
  The headers or library files could not be found for jpeg,
  a required dependency when compiling Pillow from source.
  
  Please see the install instructions at:
     https://pillow.readthedocs.io/en/latest/installation.html
  
  
  
  ----------------------------------------
  Failed building wheel for pillow
  Running setup.py clean for pillow
Failed to build pandas pillow
eth-utils 1.10.0 has requirement eth-hash<0.4.0,>=0.3.1, but you'll have eth-hash 0.5.1 which is incompatible.
eth-rlp 0.3.0 has requirement eth-utils<3,>=2.0.0, but you'll have eth-utils 1.10.0 which is incompatible.
jupyter-console 6.6.3 has requirement ipykernel>=6.14, but you'll have ipykernel 5.1.0 which is incompatible.
Installing collected packages: semantic-version, py-solc, eth-typing, pycryptodome, eth-hash, toolz, cytoolz, eth-utils, six, parsimonious, eth-abi, lru-dict, eth-keys, eth-keyfile, hexbytes, attrdict, rlp, eth-rlp, eth-account, websockets, idna, urllib3, chardet, certifi, requests, web3, MarkupSafe, Werkzeug, click, PyYAML, repoze.lru, pbkdf2, scrypt, bitcoin, pyethash, pysha3, pycparser, cffi, secp256k1, ethereum, json-rpc, eth-testrpc, python-dateutil, pytz, numpy, pandas, kiwisolver, pillow, pyparsing, cycler, matplotlib, py, atomicwrites, attrs, more-itertools, pluggy, pytest, coverage, pytest-cov, pickleshare, backcall, ptyprocess, pexpect, asttokens, pure-eval, executing, stack-data, decorator, pygments, parso, jedi, traitlets, wcwidth, prompt-toolkit, matplotlib-inline, ipython, zipp, importlib-metadata, tornado, pyzmq, platformdirs, jupyter-core, jupyter-client, ipykernel, jupyterlab-widgets, widgetsnbextension, ipywidgets, terminado, argon2-cffi-bindings, argon2-cffi, pyrsistent, jsonschema, fastjsonschema, nbformat, Send2Trash, jinja2, defusedxml, nbclient, soupsieve, beautifulsoup4, mistune, pandocfilters, jupyterlab-pygments, webencodings, bleach, packaging, tinycss2, nbconvert, nest-asyncio, sniffio, anyio, websocket-client, jupyter-server-terminals, prometheus-client, rfc3986-validator, python-json-logger, rfc3339-validator, jupyter-events, jupyter-server, notebook-shim, ipython-genutils, nbclassic, notebook, jupyter-console, qtpy, qtconsole, jupyter
  Running setup.py install for pandas ... error
    Complete output from command /home/admin/chainhammer/env/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-t6avqa7g/pandas/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-aq3utvkw/install-record.txt --single-version-externally-managed --compile --install-headers /home/admin/chainhammer/env/include/site/python3.9/pandas:
    /tmp/pip-install-t6avqa7g/pandas/setup.py:45: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
      _CYTHON_INSTALLED = _CYTHON_VERSION >= LooseVersion(min_cython_ver)
    /tmp/pip-install-t6avqa7g/pandas/setup.py:491: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
      if np.__version__ < LooseVersion("1.16.0"):
    Compiling pandas/_libs/algos.pyx because it changed.
    Compiling pandas/_libs/groupby.pyx because it changed.
    Compiling pandas/_libs/hashing.pyx because it changed.
    Compiling pandas/_libs/hashtable.pyx because it changed.
    Compiling pandas/_libs/index.pyx because it changed.
    Compiling pandas/_libs/indexing.pyx because it changed.
    Compiling pandas/_libs/internals.pyx because it changed.
    Compiling pandas/_libs/interval.pyx because it changed.
    Compiling pandas/_libs/join.pyx because it changed.
    Compiling pandas/_libs/lib.pyx because it changed.
    Compiling pandas/_libs/missing.pyx because it changed.
    Compiling pandas/_libs/parsers.pyx because it changed.
    Compiling pandas/_libs/reduction.pyx because it changed.
    Compiling pandas/_libs/ops.pyx because it changed.
    Compiling pandas/_libs/ops_dispatch.pyx because it changed.
    Compiling pandas/_libs/properties.pyx because it changed.
    Compiling pandas/_libs/reshape.pyx because it changed.
    Compiling pandas/_libs/sparse.pyx because it changed.
    Compiling pandas/_libs/tslib.pyx because it changed.
    Compiling pandas/_libs/tslibs/base.pyx because it changed.
    Compiling pandas/_libs/tslibs/ccalendar.pyx because it changed.
    Compiling pandas/_libs/tslibs/dtypes.pyx because it changed.
    Compiling pandas/_libs/tslibs/conversion.pyx because it changed.
    Compiling pandas/_libs/tslibs/fields.pyx because it changed.
    Compiling pandas/_libs/tslibs/nattype.pyx because it changed.
    Compiling pandas/_libs/tslibs/np_datetime.pyx because it changed.
    Compiling pandas/_libs/tslibs/offsets.pyx because it changed.
    Compiling pandas/_libs/tslibs/parsing.pyx because it changed.
    Compiling pandas/_libs/tslibs/period.pyx because it changed.
    Compiling pandas/_libs/tslibs/strptime.pyx because it changed.
    Compiling pandas/_libs/tslibs/timedeltas.pyx because it changed.
    Compiling pandas/_libs/tslibs/timestamps.pyx because it changed.
    Compiling pandas/_libs/tslibs/timezones.pyx because it changed.
    Compiling pandas/_libs/tslibs/tzconversion.pyx because it changed.
    Compiling pandas/_libs/tslibs/vectorized.pyx because it changed.
    Compiling pandas/_libs/testing.pyx because it changed.
    Compiling pandas/_libs/window/aggregations.pyx because it changed.
    Compiling pandas/_libs/window/indexers.pyx because it changed.
    Compiling pandas/_libs/writers.pyx because it changed.
    Compiling pandas/io/sas/sas.pyx because it changed.
    [ 1/40] Cythonizing pandas/_libs/algos.pyx
    [ 2/40] Cythonizing pandas/_libs/groupby.pyx
    warning: pandas/_libs/groupby.pyx:1134:26: Unreachable code
    [ 3/40] Cythonizing pandas/_libs/hashing.pyx
    [ 4/40] Cythonizing pandas/_libs/hashtable.pyx
    [ 5/40] Cythonizing pandas/_libs/index.pyx
    [ 6/40] Cythonizing pandas/_libs/indexing.pyx
    [ 7/40] Cythonizing pandas/_libs/internals.pyx
    [ 8/40] Cythonizing pandas/_libs/interval.pyx
    [ 9/40] Cythonizing pandas/_libs/join.pyx
    [10/40] Cythonizing pandas/_libs/lib.pyx
    [11/40] Cythonizing pandas/_libs/missing.pyx
    [12/40] Cythonizing pandas/_libs/ops.pyx
    [13/40] Cythonizing pandas/_libs/ops_dispatch.pyx
    [14/40] Cythonizing pandas/_libs/parsers.pyx
    [15/40] Cythonizing pandas/_libs/properties.pyx
    [16/40] Cythonizing pandas/_libs/reduction.pyx
    [17/40] Cythonizing pandas/_libs/reshape.pyx
    [18/40] Cythonizing pandas/_libs/sparse.pyx
    [19/40] Cythonizing pandas/_libs/testing.pyx
    [20/40] Cythonizing pandas/_libs/tslib.pyx
    [21/40] Cythonizing pandas/_libs/tslibs/base.pyx
    [22/40] Cythonizing pandas/_libs/tslibs/ccalendar.pyx
    [23/40] Cythonizing pandas/_libs/tslibs/conversion.pyx
    [24/40] Cythonizing pandas/_libs/tslibs/dtypes.pyx
    [25/40] Cythonizing pandas/_libs/tslibs/fields.pyx
    [26/40] Cythonizing pandas/_libs/tslibs/nattype.pyx
    [27/40] Cythonizing pandas/_libs/tslibs/np_datetime.pyx
    [28/40] Cythonizing pandas/_libs/tslibs/offsets.pyx
    [29/40] Cythonizing pandas/_libs/tslibs/parsing.pyx
    [30/40] Cythonizing pandas/_libs/tslibs/period.pyx
    [31/40] Cythonizing pandas/_libs/tslibs/strptime.pyx
    [32/40] Cythonizing pandas/_libs/tslibs/timedeltas.pyx
    [33/40] Cythonizing pandas/_libs/tslibs/timestamps.pyx
    [34/40] Cythonizing pandas/_libs/tslibs/timezones.pyx
    [35/40] Cythonizing pandas/_libs/tslibs/tzconversion.pyx
    [36/40] Cythonizing pandas/_libs/tslibs/vectorized.pyx
    [37/40] Cythonizing pandas/_libs/window/aggregations.pyx
    [38/40] Cythonizing pandas/_libs/window/indexers.pyx
    [39/40] Cythonizing pandas/_libs/writers.pyx
    [40/40] Cythonizing pandas/io/sas/sas.pyx
    /tmp/pip-build-env-wb4l_khi/lib/python3.9/site-packages/setuptools/__init__.py:85: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`.
      dist.fetch_build_eggs(dist.setup_requires)
    running install
   [...]
    x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 build/temp.linux-x86_64-cpython-39/pandas/_libs/testing.o -L/usr/lib -o build/lib.linux-x86_64-cpython-39/pandas/_libs/testing.cpython-39-x86_64-linux-gnu.so
    building 'pandas._libs.window.aggregations' extension
    creating build/temp.linux-x86_64-cpython-39/pandas/_libs/window
    x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-RNBry6/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DNPY_NO_DEPRECATED_API=0 -Ipandas/_libs/window -I./pandas/_libs -I/tmp/pip-build-env-wb4l_khi/lib/python3.9/site-packages/numpy/core/include -I/home/admin/chainhammer/env/include -I/usr/include/python3.9 -c pandas/_libs/window/aggregations.cpp -o build/temp.linux-x86_64-cpython-39/pandas/_libs/window/aggregations.o -Werror
    x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 build/temp.linux-x86_64-cpython-39/pandas/_libs/window/aggregations.o -L/usr/lib -o build/lib.linux-x86_64-cpython-39/pandas/_libs/window/aggregations.cpython-39-x86_64-linux-gnu.so
    building 'pandas._libs.window.indexers' extension
    x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-RNBry6/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DNPY_NO_DEPRECATED_API=0 -I/tmp/pip-build-env-wb4l_khi/lib/python3.9/site-packages/numpy/core/include -I/home/admin/chainhammer/env/include -I/usr/include/python3.9 -c pandas/_libs/window/indexers.c -o build/temp.linux-x86_64-cpython-39/pandas/_libs/window/indexers.o -Werror
    x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 build/temp.linux-x86_64-cpython-39/pandas/_libs/window/indexers.o -L/usr/lib -o build/lib.linux-x86_64-cpython-39/pandas/_libs/window/indexers.cpython-39-x86_64-linux-gnu.so
    building 'pandas._libs.writers' extension
    x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-RNBry6/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DNPY_NO_DEPRECATED_API=0 -I/tmp/pip-build-env-wb4l_khi/lib/python3.9/site-packages/numpy/core/include -I/home/admin/chainhammer/env/include -I/usr/include/python3.9 -c pandas/_libs/writers.c -o build/temp.linux-x86_64-cpython-39/pandas/_libs/writers.o -Werror
    pandas/_libs/writers.c: In function ‘__pyx_f_6pandas_5_libs_7writers_word_len’:
    pandas/_libs/writers.c:5092:5: error: ‘_PyUnicode_get_wstr_length’ is deprecated [-Werror=deprecated-declarations]
     5092 |     __pyx_v_l = PyUnicode_GET_SIZE(__pyx_v_val);
          |     ^~~~~~~~~
    In file included from /usr/include/python3.9/unicodeobject.h:1026,
                     from /usr/include/python3.9/Python.h:97,
                     from pandas/_libs/writers.c:38:
    /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
      446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
          |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
    pandas/_libs/writers.c:5092:5: error: ‘PyUnicode_AsUnicode’ is deprecated [-Werror=deprecated-declarations]
     5092 |     __pyx_v_l = PyUnicode_GET_SIZE(__pyx_v_val);
          |     ^~~~~~~~~
    In file included from /usr/include/python3.9/unicodeobject.h:1026,
                     from /usr/include/python3.9/Python.h:97,
                     from pandas/_libs/writers.c:38:
    /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
      580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
          |                                             ^~~~~~~~~~~~~~~~~~~
    pandas/_libs/writers.c:5092:5: error: ‘_PyUnicode_get_wstr_length’ is deprecated [-Werror=deprecated-declarations]
     5092 |     __pyx_v_l = PyUnicode_GET_SIZE(__pyx_v_val);
          |     ^~~~~~~~~
    In file included from /usr/include/python3.9/unicodeobject.h:1026,
                     from /usr/include/python3.9/Python.h:97,
                     from pandas/_libs/writers.c:38:
    /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
      446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
          |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
    cc1: all warnings being treated as errors
    error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
    
    ----------------------------------------
Command "/home/admin/chainhammer/env/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-t6avqa7g/pandas/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-aq3utvkw/install-record.txt --single-version-externally-managed --compile --install-headers /home/admin/chainhammer/env/include/site/python3.9/pandas" failed with error code 1 in /tmp/pip-install-t6avqa7g/pandas/
You are using pip version 18.1, however version 23.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
++ echo

++ ipython kernel install --user --name=Python.3.py3eth
scripts/install-virtualenv.sh: line 36: ipython: command not found
++ echo

++ set +x


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant