Open Deep-imagelab opened 3 years ago
Please use python 3
File "setup.py", line 2, in
Use python3,leading the error in the line2 of the setup.py file. However, in my enviroment, the following commands can be running correctly:
python from setuptools import setup That means there has been the package "setuptools " in my enviroment.
check your python3 enviroment by using following code:
python3
from setuptools import setup
check your python3 enviroment by using following code:
python3 from setuptools import setup
Yes, these commands can be running correctly
One factor that may also cause this problem: there are multiple python versions (including the anconda one). You may need to check the path to these python packages.
ninja: error: './ddf/ddfnet-main/ddf/src/cuda/ddf_mul_cuda.cpp', needed by './ddf/ddfnet-main/ddf/build/temp.win-amd64-cpython-37/Release/src/cuda/ddf_mul_cuda.obj', missing and no known rule to make it when I run'python setup.py install',error occurs.Can you tell me how to deal with it.
DDF may not work on windows, use Linux please.
File "setup.py", line 23 print(f'Compiling {name} without CUDA') ^ SyntaxError: invalid syntax