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

The command "python setup.py install" for error? #19

Open
Deep-imagelab opened this issue Aug 30, 2021 · 7 comments
Open

The command "python setup.py install" for error? #19

Deep-imagelab opened this issue Aug 30, 2021 · 7 comments

Comments

@Deep-imagelab
Copy link

File "setup.py", line 23
print(f'Compiling {name} without CUDA')
^
SyntaxError: invalid syntax

@theFoxofSky
Copy link
Owner

Please use python 3

@Deep-imagelab
Copy link
Author

File "setup.py", line 2, in
from setuptools import setup
ModuleNotFoundError: No module named 'setuptools'

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.

@theFoxofSky
Copy link
Owner

check your python3 enviroment by using following code:

python3
from setuptools import setup

@Deep-imagelab
Copy link
Author

check your python3 enviroment by using following code:

python3
from setuptools import setup

Yes, these commands can be running correctly

@theFoxofSky
Copy link
Owner

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.

@foxquan
Copy link

foxquan commented Dec 25, 2022

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.

@theFoxofSky
Copy link
Owner

DDF may not work on windows, use Linux please.

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

3 participants