-
Notifications
You must be signed in to change notification settings - Fork 175
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
toad/c_utils.pyx:40:9: 'number' is not a type identifier #103
Comments
I got the same error when install toad with pip in conda env on an apple MacBook Pro M1 |
@tzhang @momomobinx Could you try to upgrade the
|
Hello, I had the same error. |
@encyc do you use Linux OS? I just found toad missed the Linux version in |
Hi, I solved it. |
update NumPy |
我试过了安装visual studio 2022,重启后还是会报错 |
我的MacBook pro m1在更新过cython和numpy之后还是存在同样的问题 |
@lilhe0712 @JavaKenny 你们如果是 python3.9 及以上的话,可以尝试下载master的代码再本地安装试试 |
maos m1 |
Ran into this issue on OSX, does anyone have any suggestions? |
@momomobinx and all, I think I can end this issue There are two steps to solve this problem. Step1: If you're not sure what platform your MacOS is, arm64 is the key point. There are a lot of things not doing well on osx-arm64, like python 3.7 solution: highly-voted answer conda create -n py37 your osx-arm64 changes to osx-64 Step2: Do not use pip install toad still return error Use conda install toad will@localhost ~ % conda install toad --channel conda-forge
Package Planenvironment location: /Users/will/anaconda3/envs/python38 added / updated specs: The following packages will be downloaded:
The following NEW packages will be INSTALLED: brotli conda-forge/osx-64::brotli-1.1.0-h0dc2134_1 The following packages will be SUPERSEDED by a higher-priority channel: ca-certificates conda-forge/osx-arm64::ca-certificate~ --> conda-forge/osx-64::ca-certificates-2024.6.2-h8857fd0_0 Proceed ([y]/n)? y Downloading and Extracting Packages: Preparing transaction: done Source code I didn't try . This issue takes me a lot of time to solve it , wish you have a good day , dudes |
I also encountered this problem when building the arm version of the docker image. Later, as I posted before closing it, I upgraded NumPy and installed it normally. Thank you for your reply here. |
python 3.9
Cython 0.29.32
want toad==0.0.64
The text was updated successfully, but these errors were encountered: