-
-
Notifications
You must be signed in to change notification settings - Fork 271
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
I can't get this to work on python 3.4 windows. #22
Comments
Is there any way you can just use Python 2? Unfortunately, I'm no longer very familiar with Python so I'll defer to @TkTech if he has the free cycles to help debug. |
I want to import this into a script of mine that is in python 3.4. I will see if I can downgrade. I hope @TkTech can help. I don't prefer using old versions. |
I install python 2.7.6. It installed without any errors. I still get the same error when I run spoof-mac list raceback (most recent call last): The port to windows in not complete. |
Made it work. I can use the command line because of a unported call to os.geteuid(). Directly importing and calling relevant functions work. I also got it to work on 3.3.4. I might fork it and update it for python 3 and windows. Thanks for the awesome tool! |
Fixed in #30 |
I 2to3ed the whole folder because I saw some incompatible functions.
I had to rename the script spoof-mac to spoof-mac.py to get a prompt. This was in C:\python34\Scripts
spoof-mac list gives this:
Traceback (most recent call last):
File "C:\Python34\Scripts\spoof-mac.py", line 5, in
pkg_resources.run_script('SpoofMAC==1.2.1', 'spoof-mac')
File "C:\Python34\lib\site-packages\setuptools-3.3-py3.4.egg\pkg_resources.py"
, line 528, in run_script
self.by_key[dist.key] = dist
File "C:\Python34\lib\site-packages\setuptools-3.3-py3.4.egg\pkg_resources.py"
, line 1401, in run_script
def _has(self, path):
File "C:\Python34\lib\site-packages\spoofmac-1.2.1-py3.4.egg\EGG-INFO\scripts
spoof-mac", line 123, in
AttributeError: 'module' object has no attribute 'geteuid'
This is of course a *nix call.
What now?
The text was updated successfully, but these errors were encountered: