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

install python3-rospkg along with python-rospkg #69

Closed
k-okada opened this issue Nov 8, 2014 · 3 comments
Closed

install python3-rospkg along with python-rospkg #69

k-okada opened this issue Nov 8, 2014 · 3 comments
Labels

Comments

@k-okada
Copy link
Contributor

k-okada commented Nov 8, 2014

Is it possible to install both python-rospkg and python3-rospkg? or do I have to remove python-rospkg to use python3-rospkg ?

k-okada@kokada-t440s:~/catkin_ws/ws_dynamic_reconfigure/src/dynamic_reconfigure/test$ sudo apt-get install python-rospkgReading package lists... Done
Building dependency tree       
Reading state information... Done
python-rospkg is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 51 not upgraded.
k-okada@kokada-t440s:~/catkin_ws/ws_dynamic_reconfigure/src/dynamic_reconfigure/test$ sudo apt-get install python3-rospkg
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  python3-rospkg
0 upgraded, 1 newly installed, 0 to remove and 51 not upgraded.
Need to get 0 B/22.3 kB of archives.
After this operation, 155 kB of additional disk space will be used.
(Reading database ... 350813 files and directories currently installed.)
Preparing to unpack .../python3-rospkg_1.0.31-1_all.deb ...
Unpacking python3-rospkg (1.0.31-1) ...
dpkg: error processing archive /var/cache/apt/archives/python3-rospkg_1.0.31-1_all.deb (--unpack):
 trying to overwrite '/usr/bin/rosversion', which is also in package python-rospkg 1.0.30-1
Errors were encountered while processing:
 /var/cache/apt/archives/python3-rospkg_1.0.31-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

@wjwwood
Copy link
Contributor

wjwwood commented Nov 8, 2014

You cannot install them at the same time because they both install the /usr/bin/rosversion file, so you will have to uninstall one in order to install the other.

You can use virtualenv if you need both on your system at the same time.

@wjwwood wjwwood closed this as completed Nov 8, 2014
@k-okada
Copy link
Contributor Author

k-okada commented Nov 8, 2014

Thanks, using virtualenv means I have install python-rospkg from source. Is it correct?

@tfoote
Copy link
Member

tfoote commented Nov 8, 2014

You can use pip inside the virtualenv, but it is still from source. ​

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants