-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
ImportError: No module named adversarial #4
Comments
Hi Soloman1588, I am having the issue. Did you figure out what the problem was? |
You should set your PYTHONPATH environment variable to be equal to the directory that contains your cloned version of this repo. For instance, if you cloned this repo into a folder called "git", then in your The PYTHONPATH variable tells python where to look for modules (aside from the default locations). By setting it to the parent directory of this repo, it will find the "adversarial" folder and look within it for the module files. |
@Solomon1588 did you solve the problem?I'm having the issue too. |
This question is better for Stack Overflow, as it isn't specific to this code, it is a general Python question. To make sure your changes took effect, you can |
@zjost thank you very much,I imported the adversarial in python ,but there's output "warnings.warn(warn)" |
Hello,I attempt to reproduce your adversarial net , but there is something wrong as the tittle mentioned.
I noticed that I should set the "adversarial" directory in my PYTHONPATH environment variable.
I am puzzled,however ,what does the "adversarial" directory meani? I tried to set directory of the
project into the PYTHONPATH but failed with the "ImportError: No module named adversarial".
I wish you could Solve my doubts.Thanks a lot.
The text was updated successfully, but these errors were encountered: