ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Python package Issue in Docker

    Ask your questions right here!
    2
    3
    191
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ?
      A Former User
      last edited by

      Hi ModalAI Team,

      I am creating Python scripts for ROS and within docker-kinetic on VOXL m500

      I have a few questions.

      I am installing some python packages such as pandas, opcua etc. I am installing them in roskinetic directory with following command:

      python2.7 -m pip install pandas

      Some packages were installed and worked just fine but I cannot install pandas. It gives the following error:

      5d819959-6707-40f9-a0b0-ca134b36f5c0-image.png

      I searched on the internet and it seems like its a problem with Python version.

      1) At this point, what would you recommend to fix it?

      2) I would like confirm if i am installing to the right place (roskinetic directory in docker)

      3) After I power off and on, the Python packages, I installed, goes away and I need to install again. So, Should I run "docker commit" to save? or what am I doing wrong?

      I am quite new to the Docker system, I would be so happy to get any help in this topic.

      thank you in advance!
      Ayberk

      1 Reply Last reply Reply Quote 0
      • Eric KatzfeyE
        Eric Katzfey ModalAI Team
        last edited by

        You should build up your Docker images with a Dockerfile and 'docker build'. However, if you make changes in the container that you want to keep then, yes, you can use 'docker commit'. There is a lot of good documentation on the Docker site about all of this.

        ? 1 Reply Last reply Reply Quote 0
        • ?
          A Former User @Eric Katzfey
          last edited by

          @Eric-Katzfey Thank you so much for your answer!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB | Contributors