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

python3.9 I failed to install tick #487

Open
cug-auto-zp opened this issue Apr 7, 2022 · 7 comments
Open

python3.9 I failed to install tick #487

cug-auto-zp opened this issue Apr 7, 2022 · 7 comments

Comments

@cug-auto-zp
Copy link

hello
Can you help me?
pip install tick failed

windows
python 3.9
PyCharm

Here is the CMD error message

  Building wheel for tick (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [4 lines of output]
      Error executing check_cblas.py - cblas not found
      running bdist_wheel
      running build
      error: [WinError 2] 系统找不到指定的文件。
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for tick
  Running setup.py clean for tick
Failed to build tick
Installing collected packages: tick
  Running setup.py install for tick ... error
  error: subprocess-exited-with-error

  × Running setup.py install for tick did not run successfully.
  │ exit code: 1
  ╰─> [10 lines of output]
      Error executing check_cblas.py - cblas not found
      running install
      d:\programs\python39\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
        warnings.warn(
      running build_ext
      INFO: No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
      building 'tick\array\build._array' extension
      swigging lib/swig/tick/array/array_module.i to lib/swig/tick/array/array_module_wrap.cpp
      swig.exe -python -py3 -c++ -Ilib/swig -Ilib/include -outdir tick\array\build -DDEBUG_COSTLY_THROW -o lib/swig/tick/array/array_module_wrap.cpp lib/swig/tick/array/array_module.i
      error: command 'swig.exe' failed: None
      [end of output]

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

× Encountered error while trying to install package.
╰─> tick

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure. ```

@BEbillionaireUSD
Copy link

I met the same issue as yours. After I switch to python3.7 on a Linux system, it succeeds.

@cug-auto-zp
Copy link
Author

cug-auto-zp commented Apr 11, 2022 via email

@PhilipDeegan
Copy link
Member

sorry but there is no release for python3.9 on pypi just yet

@cug-auto-zp
Copy link
Author

cug-auto-zp commented Oct 11, 2022 via email

@omkarbajaj073
Copy link

omkarbajaj073 commented Oct 15, 2022

Is there any way I can run tick on Python 3.9 @PhilipDeegan ? It's sorta necessary, and kinda urgent, for me. Is there any way around this? I tried to install it on Python 3.8 and then copying it from the site-packages of Python 3.8 into a target directory (on my desktop) with all the dependencies of tick (I verified that the dependencies were properly installed into this directory, so the problem is not there). Then I tried to import tick from a python shell in the target directory in a Python 3.9 venv, and got the error in #68 .

I'm running Windows 11, and am facing the same issues on Ubuntu 20.04 WSL. I'm open to any solution (even one that may compromize on the performance of the library a little), not necessarily involving the full tick library. I only need SimuHawkesExpKernels and HawkesExpKern from tick.hawkes

@jeandut
Copy link

jeandut commented Jan 12, 2023

Hello, thanks for the great package !
You should really consider supporting newer versions of Python as it is breaking lots of workflows.
Your survival utils are really good and it is a shame to have to reimplement them by hand.

@cug-auto-zp
Copy link
Author

cug-auto-zp commented Jan 12, 2023 via email

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

5 participants