I'm using python 3.6 as anaconda, and im trying to install python-twitter
package, but there is no package compatible from conda manager. How can i download the package outside conda manager in order to use it later with jupyter notebook?
Conda installs packages into the anaconda/pkgs directory. If conda cannot find the file, try using an absolute path name instead of a relative path name. Installing packages directly from the file does not resolve dependencies.
When you build and install python packages from source (using distutils, probably by executing python setup.py install ), you will find the installed modules in site-packages by default. In this case you have two places: /anaconda3/lib/python3. 7/site-packages/ and /anaconda3/envs/[name env]/lib/python3.
To activate your Conda environment, type source activate <yourenvironmentname> . Note that conda activate will not work on Discovery with this version. To install a specific package, type conda install -n <yourenvironmentname> [package] . To deactivate the current, active Conda environment, type conda deactivate .
You can install pip
in your conda env and then run pip install python-twitter
.
It should work.
Ubuntu:/$ which pip /home/superadmin/anaconda2/bin/pip Ubuntu:/$ /home/superadmin/anaconda2/bin/pip install apache-beam
It worked...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With