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

Changed alias to python 3.6 | used pip install | result attached #29

Closed
veonindustries opened this issue Aug 7, 2017 · 5 comments
Closed

Comments

@veonindustries
Copy link

veonindustries commented Aug 7, 2017

vitticus@ubuntu:~$ alias python=python3.6
vitticus@ubuntu:~$ python --version
Python 3.6.1
vitticus@ubuntu:~$ cd Documents/
vitticus@ubuntu:~/Documents$ cd cryptop-master/
vitticus@ubuntu:~/Documents/cryptop-master$ sudo pip install cryptop
[sudo] password for vitticus: 
The directory '/home/vitticus/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/vitticus/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Requirement already satisfied: cryptop in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied: requests in /usr/local/lib/python2.7/dist-packages (from cryptop)
Requirement already satisfied: requests_cache in /usr/local/lib/python2.7/dist-packages (from cryptop)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/local/lib/python2.7/dist-packages (from requests->cryptop)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python2.7/dist-packages (from requests->cryptop)
Requirement already satisfied: idna<2.6,>=2.5 in /usr/local/lib/python2.7/dist-packages (from requests->cryptop)
Requirement already satisfied: urllib3<1.23,>=1.21.1 in /usr/local/lib/python2.7/dist-packages (from requests->cryptop)
vitticus@ubuntu:~/Documents/cryptop-master$ cryptop
Traceback (most recent call last):
  File "/usr/local/bin/cryptop", line 11, in <module>
    load_entry_point('cryptop==0.1.5', 'console_scripts', 'cryptop')()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 561, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2631, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2291, in load
    return self.resolve()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2297, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/local/lib/python2.7/dist-packages/cryptop/cryptop.py", line 6, in <module>
    import configparser
ImportError: No module named configparser

@huwwp
Copy link
Owner

huwwp commented Aug 7, 2017 via email

@veonindustries
Copy link
Author

veonindustries commented Aug 12, 2017

Hi there, tried this on a new ubuntu installation: Please see..

vitticus@ubuntu:~/Documents/Python-3.6.2$ cd
vitticus@ubuntu:~$ python --version
Python 3.6.2
vitticus@ubuntu:~$ cd Downloads/cryptop-master/
vitticus@ubuntu:~/Downloads/cryptop-master$ clear
�[3;J
vitticus@ubuntu:~/Downloads/cryptop-master$ ls
cryptop  LICENSE.txt  README.rst        setup.py
img      MANIFEST.in  requirements.txt  todo.txt
vitticus@ubuntu:~/Downloads/cryptop-master$ sudo pip3 install cryptop
The directory '/home/vitticus/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/vitticus/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting cryptop
  Downloading cryptop-0.1.8.tar.gz
Collecting requests (from cryptop)
  Downloading requests-2.18.3-py2.py3-none-any.whl (88kB)
    100% |████████████████████████████████| 92kB 2.3MB/s 
Collecting requests_cache (from cryptop)
  Downloading requests_cache-0.4.13-py2.py3-none-any.whl
Collecting urllib3<1.23,>=1.21.1 (from requests->cryptop)
  Downloading urllib3-1.22-py2.py3-none-any.whl (132kB)
    100% |████████████████████████████████| 133kB 2.5MB/s 
Collecting idna<2.6,>=2.5 (from requests->cryptop)
  Downloading idna-2.5-py2.py3-none-any.whl (55kB)
    100% |████████████████████████████████| 61kB 14.7MB/s 
Collecting chardet<3.1.0,>=3.0.2 (from requests->cryptop)
  Downloading chardet-3.0.4-py2.py3-none-any.whl (133kB)
    100% |████████████████████████████████| 143kB 3.2MB/s 
Collecting certifi>=2017.4.17 (from requests->cryptop)
  Downloading certifi-2017.7.27.1-py2.py3-none-any.whl (349kB)
    100% |████████████████████████████████| 358kB 1.6MB/s 
Installing collected packages: urllib3, idna, chardet, certifi, requests, requests-cache, cryptop
  Running setup.py install for cryptop ... done
Successfully installed certifi-2017.7.27.1 chardet-3.0.4 cryptop-0.1.8 idna-2.5 requests-2.18.3 requests-cache-0.4.13 urllib3-1.22
vitticus@ubuntu:~/Downloads/cryptop-master$ cryptop
Traceback (most recent call last):
  File "/usr/local/bin/cryptop", line 11, in <module>
    load_entry_point('cryptop==0.1.8', 'console_scripts', 'cryptop')()
  File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 565, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2631, in load_entry_point
    return ep.load()
  File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2291, in load
    return self.resolve()
  File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2297, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/local/lib/python3.6/site-packages/cryptop/cryptop.py", line 1, in <module>
    import curses
  File "/usr/local/lib/python3.6/curses/__init__.py", line 13, in <module>
    from _curses import *
ModuleNotFoundError: No module named '_curses'
vitticus@ubuntu:~/Downloads/cryptop-master$ 

Any ideas?

@huwwp
Copy link
Owner

huwwp commented Aug 12, 2017

Looks like your python doesn't have curses? I've never seen that before, I don't know. Make sure everything is up to date.

sudo apt-get update
sudo apt-get dist-upgrade
sudo pip install --upgrade pip

@jgoggan
Copy link

jgoggan commented Aug 12, 2017

Just to note it, when I did my install under Windows, I also did not have curses. I installed a curses dist and all was fine after that.

@veonindustries
Copy link
Author

@huwwp Did the trick. Thank you! Love it

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

No branches or pull requests

3 participants