<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: ImportError: ruamel.yaml.comments while trying to run pyspark virtual env example with conda in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ImportError-ruamel-yaml-comments-while-trying-to-run-pyspark/m-p/167225#M53866</link>
    <description>&lt;P&gt;It looks like conda is not installed properly on the machine. You can use Anaconda 4.3.0 package to install conda properly on the machine. &lt;/P&gt;&lt;P&gt;Follow below steps to install conda.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Follow the steps mentioned on &lt;A href="https://www.continuum.io/downloads#linux"&gt;https://www.continuum.io/downloads#linux&lt;/A&gt; to download and install anaconda . ( Use anaconda2 with python2 and anaconda3 with python3)&lt;/LI&gt;&lt;LI&gt;Make sure the conda installed by above package is a default one on all the hosts. You can update symlink for /usr/bin/conda to /root/anaconda2/bin/conda  (ln -s /root/anaconda2/bin/conda /usr/bin/conda)&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Thu, 09 Feb 2017 09:23:49 GMT</pubDate>
    <dc:creator>yvora</dc:creator>
    <dc:date>2017-02-09T09:23:49Z</dc:date>
    <item>
      <title>ImportError: ruamel.yaml.comments while trying to run pyspark virtual env example with conda</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ImportError-ruamel-yaml-comments-while-trying-to-run-pyspark/m-p/167224#M53865</link>
      <description>&lt;P&gt;I’m trying to run a pyspark virtual env example with conda. &lt;/P&gt;&lt;P&gt;However, the application is failing with below error. Any pointers on this issue?&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;/P&gt;&lt;P&gt;  File "/usr/bin/conda", line 11, in &amp;lt;module&amp;gt;&lt;/P&gt;&lt;P&gt;    load_entry_point('conda==4.2.7', 'console_scripts', 'conda')()&lt;/P&gt;&lt;P&gt;  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 561, in load_entry_point&lt;/P&gt;&lt;P&gt;    return get_distribution(dist).load_entry_point(group, name)&lt;/P&gt;&lt;P&gt;  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2631, in load_entry_point&lt;/P&gt;&lt;P&gt;    return ep.load()&lt;/P&gt;&lt;P&gt;  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2291, in load&lt;/P&gt;&lt;P&gt;    return self.resolve()&lt;/P&gt;&lt;P&gt;  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2297, in resolve&lt;/P&gt;&lt;P&gt;    module = __import__(self.module_name, fromlist=['__name__'], level=0)&lt;/P&gt;&lt;P&gt;  File "/usr/lib/python2.7/site-packages/conda/cli/__init__.py", line 8, in &amp;lt;module&amp;gt;&lt;/P&gt;&lt;P&gt;    from .main import main  # NOQA&lt;/P&gt;&lt;P&gt;  File "/usr/lib/python2.7/site-packages/conda/cli/main.py", line 46, in &amp;lt;module&amp;gt;&lt;/P&gt;&lt;P&gt;    from ..base.context import context&lt;/P&gt;&lt;P&gt;  File "/usr/lib/python2.7/site-packages/conda/base/context.py", line 18, in &amp;lt;module&amp;gt;&lt;/P&gt;&lt;P&gt;    from ..common.configuration import (Configuration, MapParameter, PrimitiveParameter,&lt;/P&gt;&lt;P&gt;  File "/usr/lib/python2.7/site-packages/conda/common/configuration.py", line 40, in &amp;lt;module&amp;gt;&lt;/P&gt;&lt;P&gt;    from ruamel.yaml.comments import CommentedSeq, CommentedMap  # pragma: no cover&lt;/P&gt;&lt;P&gt;ImportError: No module named ruamel.yaml.comments&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2017 09:20:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ImportError-ruamel-yaml-comments-while-trying-to-run-pyspark/m-p/167224#M53865</guid>
      <dc:creator>kbadani</dc:creator>
      <dc:date>2017-02-09T09:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: ImportError: ruamel.yaml.comments while trying to run pyspark virtual env example with conda</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ImportError-ruamel-yaml-comments-while-trying-to-run-pyspark/m-p/167225#M53866</link>
      <description>&lt;P&gt;It looks like conda is not installed properly on the machine. You can use Anaconda 4.3.0 package to install conda properly on the machine. &lt;/P&gt;&lt;P&gt;Follow below steps to install conda.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Follow the steps mentioned on &lt;A href="https://www.continuum.io/downloads#linux"&gt;https://www.continuum.io/downloads#linux&lt;/A&gt; to download and install anaconda . ( Use anaconda2 with python2 and anaconda3 with python3)&lt;/LI&gt;&lt;LI&gt;Make sure the conda installed by above package is a default one on all the hosts. You can update symlink for /usr/bin/conda to /root/anaconda2/bin/conda  (ln -s /root/anaconda2/bin/conda /usr/bin/conda)&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 09 Feb 2017 09:23:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ImportError-ruamel-yaml-comments-while-trying-to-run-pyspark/m-p/167225#M53866</guid>
      <dc:creator>yvora</dc:creator>
      <dc:date>2017-02-09T09:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: ImportError: ruamel.yaml.comments while trying to run pyspark virtual env example with conda</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ImportError-ruamel-yaml-comments-while-trying-to-run-pyspark/m-p/167226#M53867</link>
      <description>&lt;P&gt;Assuming you're using HDP 2.5 sandbox, another option would be to deploy Zeppelin service in Amabari. The modules above are also included in Zeppelin. &lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2017 09:59:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ImportError-ruamel-yaml-comments-while-trying-to-run-pyspark/m-p/167226#M53867</guid>
      <dc:creator>agauthier</dc:creator>
      <dc:date>2017-02-09T09:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: ImportError: ruamel.yaml.comments while trying to run pyspark virtual env example with conda</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ImportError-ruamel-yaml-comments-while-trying-to-run-pyspark/m-p/167227#M53868</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/551/yvora.html" nodeid="551"&gt;@yvora&lt;/A&gt; Thanks. Looks like that was an issue&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2017 10:04:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ImportError-ruamel-yaml-comments-while-trying-to-run-pyspark/m-p/167227#M53868</guid>
      <dc:creator>kbadani</dc:creator>
      <dc:date>2017-02-09T10:04:18Z</dc:date>
    </item>
  </channel>
</rss>

