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

Ubuntu Install & Documentation #6

Closed
wtgee opened this issue Jan 22, 2014 · 5 comments
Closed

Ubuntu Install & Documentation #6

wtgee opened this issue Jan 22, 2014 · 5 comments
Assignees
Labels

Comments

@wtgee
Copy link
Member

wtgee commented Jan 22, 2014

No description provided.

@ghost ghost assigned joshwalawender Jan 22, 2014
@joshwalawender
Copy link
Contributor

Hi all,

As I mentioned yesterday, I’ve reinstalled ubuntu to start afresh and am installing things again (using aptitude now after Tyler’s advice). I’m updating the github wiki page as I go.

I’ve run in to a problem which I’ve never seen. I’m installing pip using the instructions on the web site (I’ve found lots of package installers don’t do pip well and install really old versions).

Here’s the web site:
http://www.pip-installer.org/en/latest/installing.html

Here’s the error I’m getting:

panoptes@ppb00:~$ sudo python3 get-pip.py
Traceback (most recent call last):
 File "get-pip.py", line 21375, in <module>
   temp_dir = unpack(sources)
 File "get-pip.py", line 21357, in unpack
   mod.write(base64.b64decode(content))
 File "/usr/lib/python3.2/base64.py", line 83, in b64decode
   raise TypeError("expected bytes, not %s" % s.__class__.__name__)
TypeError: expected bytes, not str

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
 File "get-pip.py", line 21384, in <module>
   shutil.rmtree(temp_dir)
NameError: name 'temp_dir' is not defined

Any idea what might be going on? Based on the TypeError I’m wondering if this is a problem with python3, but I’ve installed pip this way on python3 before.

-Josh

@wtgee
Copy link
Member Author

wtgee commented Jan 25, 2014

Are we running a 32- or 64-bit machine? I realized I don't remember and don't see it in the notes. I assume the ITX are 32-bit but wanted to confirm.

I am going to create a virtual machine that can be built and torn back down to test this install process so want to match the environment as close as possible.

@oguyon
Copy link

oguyon commented Jan 26, 2014

Pretty sure it's 64-bit

Olivier

On 01/25/2014 07:51 AM, W. Tyler Gee wrote:

Are we running a 32- or 64-bit machine? I realized I don't remember and
don't see it in the notes. I assume the ITX are 32-bit but wanted to
confirm.

I am going to create a virtual machine that can be built and torn back
down to test this install process so want to match the environment as
close as possible.


Reply to this email directly or view it on GitHub
#6 (comment).

Olivier Guyon
Astronomer
Subaru Telescope & University of Arizona
[email protected]
(818) 293 8826
www.naoj.org/staff/guyon

@joshwalawender
Copy link
Contributor

Looks like the pip installer got updated. The problem has disappeared, so I'm proceeding with the install.

@joshwalawender
Copy link
Contributor

Is there anything to document about ubuntu installation that is specific to Panoptes and is not covered on the ubunutu web page? I does not seem to to me, so I am going to mark this issue as closed.

The software install (python, sextractor, etc.) is covered in another issue.

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

No branches or pull requests

3 participants