fja05680 / pinkfish

A backtester and spreadsheet library for security analysis.
https://fja05680.github.io/pinkfish
MIT License
266 stars 58 forks source link

cant import pinkfish #58

Closed aiot-tech closed 2 years ago

aiot-tech commented 2 years ago

Hello, when running the code below,some error occurs. Do you know what cause it?

(base) root@highperformancePC:/home/pinkfish# ipython 
Python 3.7.3 (default, Mar 27 2019, 22:11:17) 
Type 'copyright', 'credits' or 'license' for more information
IPython 7.31.1 -- An enhanced Interactive Python. Type '?' for help.

In [1]: import pinkfish
Segmentation fault (core dumped)

And I install the package as follow:

git clone https://github.com/fja05680/pinkfish.git
cd pinkfish
sudo python setup.py install
fja05680 commented 2 years ago

Hello,

Which OS are you using?

aiot-tech commented 2 years ago

Ubuntu 16.04 && python3.7.3

fja05680 commented 2 years ago

That version of Ubuntu bis too old and I believe uses python 2.7 which pinkish no longer supports. Please upgrade your os to version 20.04 or later and try again.

On Fri, Jun 24, 2022, 2:01 AM hell @.***> wrote:

Ubuntu 16.04

— Reply to this email directly, view it on GitHub https://github.com/fja05680/pinkfish/issues/58#issuecomment-1165228265, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACD3KHW2BKOIQWFGSKD7PFDVQVFMJANCNFSM5ZTSUUXQ . You are receiving this because you commented.Message ID: @.***>

aiot-tech commented 2 years ago

I will try it again. Thx a lot.