Giter Site home page Giter Site logo

Comments (6)

lijxug avatar lijxug commented on August 9, 2024

I've encountered the same issue. Does anyone have a solution?

from cellphonedb.

brianpenghe avatar brianpenghe commented on August 9, 2024

I also met this problem

Traceback (most recent call last):
  File "/home/ubuntu/miniconda3/envs/cpdb/lib/python3.7/site-packages/cellphonedb/src/api_endpoints/terminal_api/metho
d_terminal_api_endpoints/method_terminal_commands.py", line 144, in statistical_analysis
    subsampler,
  File "/home/ubuntu/miniconda3/envs/cpdb/lib/python3.7/site-packages/cellphonedb/src/local_launchers/local_method_lau
ncher.py", line 64, in cpdb_statistical_analysis_local_method_launcher
    subsampler
  File "/home/ubuntu/miniconda3/envs/cpdb/lib/python3.7/site-packages/cellphonedb/src/core/methods/method_launcher.py"
, line 76, in cpdb_statistical_analysis_launcher
    self.separator)
  File "/home/ubuntu/miniconda3/envs/cpdb/lib/python3.7/site-packages/cellphonedb/src/core/methods/cpdb_statistical_an
alysis_method.py", line 36, in call
    result_precision,
  File "/home/ubuntu/miniconda3/envs/cpdb/lib/python3.7/site-packages/cellphonedb/src/core/methods/cpdb_statistical_analysis_complex_method.py", line 97, in call
    separator)
  File "/home/ubuntu/miniconda3/envs/cpdb/lib/python3.7/site-packages/cellphonedb/src/core/methods/cpdb_statistical_analysis_helper.py", line 303, in shuffled_analysis
    results = pool.map(statistical_analysis_thread, range(iterations))
  File "/home/ubuntu/miniconda3/envs/cpdb/lib/python3.7/multiprocessing/pool.py", line 268, in map
    return self._map_async(func, iterable, mapstar, chunksize).get()
  File "/home/ubuntu/miniconda3/envs/cpdb/lib/python3.7/multiprocessing/pool.py", line 657, in get
    raise self._value
multiprocessing.pool.MaybeEncodingError: Error sending result: '[       

[1296 rows x 20736 columns]]'. Reason: 'error("'i' format requires -2147483648 <= number <= 2147483647")'

from cellphonedb.

brianpenghe avatar brianpenghe commented on August 9, 2024

Just got help from my labmate @nh3 👍

https://stackoverflow.com/questions/47776486/python-struct-error-i-format-requires-2147483648-number-2147483647

Alternatively, you could use cellphonedb v2.1.8b3 which is available on pip. See #288 (review)

That version contains a fix that get around that issue.

from cellphonedb.

Zifeng-L avatar Zifeng-L commented on August 9, 2024

Just got help from my labmate @nh3 👍

https://stackoverflow.com/questions/47776486/python-struct-error-i-format-requires-2147483648-number-2147483647

Alternatively, you could use cellphonedb v2.1.8b3 which is available on pip. See #288 (review)

That version contains a fix that get around that issue.

Hi here, I just want to know if I should modify the source code of cellphoneDB manually?

from cellphonedb.

nh3 avatar nh3 commented on August 9, 2024

Just got help from my labmate @nh3 👍

https://stackoverflow.com/questions/47776486/python-struct-error-i-format-requires-2147483648-number-2147483647

Alternatively, you could use cellphonedb v2.1.8b3 which is available on pip. See #288 (review)

That version contains a fix that get around that issue.

Hi here, I just want to know if I should modify the source code of cellphoneDB manually?

Which version of CellphoneDB was used? This issue should be fixed in v2.1.8 or above.
Also, active development (v3 and above) has moved to https://github.com/ventolab/CellphoneDB.

from cellphonedb.

Zifeng-L avatar Zifeng-L commented on August 9, 2024

Just got help from my labmate @nh3 👍

https://stackoverflow.com/questions/47776486/python-struct-error-i-format-requires-2147483648-number-2147483647

Alternatively, you could use cellphonedb v2.1.8b3 which is available on pip. See #288 (review)

That version contains a fix that get around that issue.

Hi here, I just want to know if I should modify the source code of cellphoneDB manually?

Which version of CellphoneDB was used? This issue should be fixed in v2.1.8 or above. Also, active development (v3 and above) has moved to https://github.com/ventolab/CellphoneDB.

Doing conda install python=3.8 works for me! Thank you very much!

from cellphonedb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.