#37893 closed defect (invalid)
No port py24-matplotlib found in the index; can't rebuild
Reported by: | lzkelley (Luke) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | ||
Port: |
Description
I'm trying to get a component of matplotlib working (animation), which led me to installing PIL, via 'pip' instead of macports. Since then, I keep getting this error when I try to install anything relating to python "No port py24-matplotlib found in the index; can't rebuild" I'm on OSX mountain lion, running python2.7, and actually macports 2.1.3
Change History (8)
comment:1 follow-up: 2 Changed 12 years ago by mf2k (Frank Schima)
Keywords: | matplotlib python removed |
---|---|
Port: | matplotlib removed |
Resolution: | → invalid |
Status: | new → closed |
comment:2 follow-up: 3 Changed 12 years ago by lzkelley (Luke)
Replying to macsforever2000@…:
There is no py24-matplotlib. But since you are using python 2.7, you should be using py27-matplotlib anyway.
That IS what I'm using... but, for example:
sudo port install py27-matplotlib dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid ---> Computing dependencies for py27-matplotlib ---> Cleaning py27-matplotlib ---> Scanning binaries for linking errors: 100.0% ---> Found 2 broken file(s), matching files to ports Warning: No port py24-matplotlib found in the index; can't rebuild ---> Broken files found, but all associated ports are not in the index and so cannot be rebuilt.
comment:3 follow-up: 4 Changed 12 years ago by seanfarley (Sean Farley)
Replying to lkelley@…:
Replying to macsforever2000@…:
There is no py24-matplotlib. But since you are using python 2.7, you should be using py27-matplotlib anyway.
That IS what I'm using... but, for example:
sudo port install py27-matplotlib dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid ---> Computing dependencies for py27-matplotlib ---> Cleaning py27-matplotlib ---> Scanning binaries for linking errors: 100.0% ---> Found 2 broken file(s), matching files to ports Warning: No port py24-matplotlib found in the index; can't rebuild ---> Broken files found, but all associated ports are not in the index and so cannot be rebuilt.
Yeah, I remember running into some weird problems like this with rev-update. Try to uninstall py24-matplotlib,
sudo port uninstall py24-matplotlib
You might need to use --follow-dependents (and keep track of what that uninstalled, in case you need it). If you're using python27, then you might want to uninstall all python24 ports (I'm assuming they were installed by accident? Most likely a typo with some port without specify '27', e.g. py-someport?)
port installed py24-* sudo port uninstall py24-*
comment:4 follow-up: 5 Changed 12 years ago by lzkelley (Luke)
Replying to sean@…:
Replying to lkelley@…:
Replying to macsforever2000@…:
There is no py24-matplotlib. But since you are using python 2.7, you should be using py27-matplotlib anyway.
That IS what I'm using... but, for example:
sudo port install py27-matplotlib dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid ---> Computing dependencies for py27-matplotlib ---> Cleaning py27-matplotlib ---> Scanning binaries for linking errors: 100.0% ---> Found 2 broken file(s), matching files to ports Warning: No port py24-matplotlib found in the index; can't rebuild ---> Broken files found, but all associated ports are not in the index and so cannot be rebuilt.Yeah, I remember running into some weird problems like this with rev-update. Try to uninstall py24-matplotlib,
sudo port uninstall py24-matplotlibYou might need to use --follow-dependents (and keep track of what that uninstalled, in case you need it). If you're using python27, then you might want to uninstall all python24 ports (I'm assuming they were installed by accident? Most likely a typo with some port without specify '27', e.g. py-someport?)
I think I've definitely used python2.4 specifically in the past -- so I think I installed certain things on purpose (at least at the time). Probably don't need them anymore. So, I tried just to uninstall py24-matplotlib, and it didn't work. If I'm going to uninstall py24-* (which is probably a good idea), is there a good way to store what things I used to have, just incase?
sudo port uninstall py24-matplotlib dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid Password: ---> Unable to uninstall py24-matplotlib @1.1.1_2+tkinter, the following ports depend on it: ---> py-matplotlib @1.1.1_2 Error: org.macports.uninstall for port py24-matplotlib returned: Please uninstall the ports that depend on py24-matplotlib first. Please see the log file for port py24-matplotlib for details: /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_py24-matplotlib_1.1.1_2+tkinter/py24-matplotlib/main.log Warning: Failed to execute portfile from registry for py24-matplotlib @1.1.1_2+tkinter ---> Unable to uninstall py24-matplotlib @1.1.1_2+tkinter, the following ports depend on it: ---> py-matplotlib @1.1.1_2 Error: port uninstall failed: Please uninstall the ports that depend on py24-matplotlib first.
port installed py24-* sudo port uninstall py24-*
comment:5 follow-up: 6 Changed 12 years ago by seanfarley (Sean Farley)
Replying to lkelley@…:
Replying to sean@…:
Replying to lkelley@…:
Replying to macsforever2000@…:
There is no py24-matplotlib. But since you are using python 2.7, you should be using py27-matplotlib anyway.
That IS what I'm using... but, for example:
sudo port install py27-matplotlib dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid ---> Computing dependencies for py27-matplotlib ---> Cleaning py27-matplotlib ---> Scanning binaries for linking errors: 100.0% ---> Found 2 broken file(s), matching files to ports Warning: No port py24-matplotlib found in the index; can't rebuild ---> Broken files found, but all associated ports are not in the index and so cannot be rebuilt.Yeah, I remember running into some weird problems like this with rev-update. Try to uninstall py24-matplotlib,
sudo port uninstall py24-matplotlibYou might need to use --follow-dependents (and keep track of what that uninstalled, in case you need it). If you're using python27, then you might want to uninstall all python24 ports (I'm assuming they were installed by accident? Most likely a typo with some port without specify '27', e.g. py-someport?)
I think I've definitely used python2.4 specifically in the past -- so I think I installed certain things on purpose (at least at the time). Probably don't need them anymore. So, I tried just to uninstall py24-matplotlib, and it didn't work. If I'm going to uninstall py24-* (which is probably a good idea), is there a good way to store what things I used to have, just incase?
sudo port uninstall py24-matplotlib dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid Password: ---> Unable to uninstall py24-matplotlib @1.1.1_2+tkinter, the following ports depend on it: ---> py-matplotlib @1.1.1_2 Error: org.macports.uninstall for port py24-matplotlib returned: Please uninstall the ports that depend on py24-matplotlib first. Please see the log file for port py24-matplotlib for details: /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_py24-matplotlib_1.1.1_2+tkinter/py24-matplotlib/main.log Warning: Failed to execute portfile from registry for py24-matplotlib @1.1.1_2+tkinter ---> Unable to uninstall py24-matplotlib @1.1.1_2+tkinter, the following ports depend on it: ---> py-matplotlib @1.1.1_2 Error: port uninstall failed: Please uninstall the ports that depend on py24-matplotlib first.port installed py24-* sudo port uninstall py24-*
Run this command to see all your py24-* ports,
port installed py24-*
and save that list somewhere. Then, to uninstall them all,
sudo port uninstall --follow-dependents py24-*
or, if you just want to uninstall py24-matplotlib for now,
sudo port uninstall --follow-dependents py24-matplotlib
comment:6 Changed 12 years ago by lzkelley (Luke)
Replying to sean@…:
Replying to lkelley@…:
Replying to sean@…:
Replying to lkelley@…:
Replying to macsforever2000@…:
There is no py24-matplotlib. But since you are using python 2.7, you should be using py27-matplotlib anyway.
That IS what I'm using... but, for example:
sudo port install py27-matplotlib dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid ---> Computing dependencies for py27-matplotlib ---> Cleaning py27-matplotlib ---> Scanning binaries for linking errors: 100.0% ---> Found 2 broken file(s), matching files to ports Warning: No port py24-matplotlib found in the index; can't rebuild ---> Broken files found, but all associated ports are not in the index and so cannot be rebuilt.Yeah, I remember running into some weird problems like this with rev-update. Try to uninstall py24-matplotlib,
sudo port uninstall py24-matplotlibYou might need to use --follow-dependents (and keep track of what that uninstalled, in case you need it). If you're using python27, then you might want to uninstall all python24 ports (I'm assuming they were installed by accident? Most likely a typo with some port without specify '27', e.g. py-someport?)
I think I've definitely used python2.4 specifically in the past -- so I think I installed certain things on purpose (at least at the time). Probably don't need them anymore. So, I tried just to uninstall py24-matplotlib, and it didn't work. If I'm going to uninstall py24-* (which is probably a good idea), is there a good way to store what things I used to have, just incase?
sudo port uninstall py24-matplotlib dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid Password: ---> Unable to uninstall py24-matplotlib @1.1.1_2+tkinter, the following ports depend on it: ---> py-matplotlib @1.1.1_2 Error: org.macports.uninstall for port py24-matplotlib returned: Please uninstall the ports that depend on py24-matplotlib first. Please see the log file for port py24-matplotlib for details: /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_py24-matplotlib_1.1.1_2+tkinter/py24-matplotlib/main.log Warning: Failed to execute portfile from registry for py24-matplotlib @1.1.1_2+tkinter ---> Unable to uninstall py24-matplotlib @1.1.1_2+tkinter, the following ports depend on it: ---> py-matplotlib @1.1.1_2 Error: port uninstall failed: Please uninstall the ports that depend on py24-matplotlib first.port installed py24-* sudo port uninstall py24-*Run this command to see all your py24-* ports,
port installed py24-*and save that list somewhere. Then, to uninstall them all,
sudo port uninstall --follow-dependents py24-*or, if you just want to uninstall py24-matplotlib for now,
sudo port uninstall --follow-dependents py24-matplotlib
Sorry to be asking for you to hold my hand through this whole thing, but I keep getting errors like:
The following versions of py24-nose are currently installed: ---> py24-nose @1.2.1_0 ---> py24-nose @1.2.1_1 (active) Error: port uninstall failed: Registry error: Please specify the full version as recorded in the port registry.
Is there anyway to just make it uninstall all of them?
comment:7 Changed 12 years ago by lzkelley (Luke)
Uninstalling py24-matplotlib (which doesn't actually exist) seems to have solved the problem! Thanks for everyone's help!
comment:8 Changed 12 years ago by jmroot (Joshua Root)
py24-matplotlib did exist, but was removed from the tree (r99788) because matplotlib 1.2.0 and later require at least python 2.6. That doesn't cause it to become uninstalled if you already installed it, though. Later, one of its dependencies changed in a way that broke compatibility, so now rev-upgrade correctly detected that it was broken, and also correctly reported that it couldn't rebuild it because it's no longer available in the ports tree.
So yeah, uninstalling it is all you can do. (Or you could just do nothing and ignore the warnings if you really wanted to; the brokenness isn't actually a problem if you're not using the broken port.)
There is no py24-matplotlib. But since you are using python 2.7, you should be using py27-matplotlib anyway.