Skip to main content

Home/ SmartGuys/ Group items tagged anaconda

Rss Feed Group items tagged

Ken Wakita

29.13. site - Site-specific configuration hook - Python 3.6.0 documentation - 0 views

    • Ken Wakita
       
      Anacondaの仮想環境に非標準パスを追加するには、[sys.prefix]/pythonX.Y/site-packages/[仮想環境名].pth を用意し、そこに非標準パスのリストを列挙すればよいと思う。ここは仮想環境に特化した site-packages なので、ほかの仮想環境のパスを汚さないのでよい。 ここでの設定は(たぶん )IntelliJ にも伝わると思う。 PYTHONPATH環境変数は仮想環境に特化した設定にならないし、設定が IntelliJ に伝わらないのでよろしくない。
  • Support for the “site-python” directory has been removed.
  • For example, suppose sys.prefix and sys.exec_prefix are set to /usr/local. The Python X.Y library is then installed in /usr/local/lib/pythonX.Y. Suppose this has a subdirectory /usr/local/lib/pythonX.Y/site-packages with three subsubdirectories, foo, bar and spam, and two path configuration files, foo.pth and bar.pth. Assume foo.pth contains the following:
  •  
    Pythonにおいて、非標準パッケージを参照させる方法のひとつ
Ken Wakita

ipython-contrib/jupyter_contrib_nbextensions: A collection of various notebook extensio... - 0 views

  • pip install jupyter_contrib_nbextensions
  • conda install -c conda-forge jupyter_contrib_nbextensions
  • jupyter contrib nbextension install --user
  • ...1 more annotation...
  • Alternatively, and more conveniently, you can use the jupyter_nbextensions_configurator server extension, which is installed as a dependency of this repo
  •  
    Jupyter Notebook の拡張機能
1 - 2 of 2
Showing 20 items per page