Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8866089
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T16:41:40+00:00 2026-06-14T16:41:40+00:00

I’m new to web development and I’m trying to get my mac set up

  • 0

I’m new to web development and I’m trying to get my mac set up for doing Django tutorials and helping some developers with a project that uses postgres. I will try to specify my questions as much as possible. However, it seems that there are lots of floating parts to this question and I’m not quite understanding some parts of the connection between an SQL Shell, virtual environments, paths, databases, terminals (which seem to be necessary to get running on this web development project). I will detail what I did and the error messages that appear. If you could help me with the error messages or simply post links to tutorials that help me better understand how these floating parts work together, I would very much appreciate it.

I installed postgres and pgAdmin III and set it up on the default port. I created a test database. Now when I try to open it on the local server, I get an error message: ‘ERROR: column “datconfig” does not exist LINE1:…b.dattablespace AS spcoid, spcname, datallowconn, dataconfig,…

Here is what I did before I closed pgAdmin and then reopened it:
Installation: The Setup told me that an existing data directory was found at /Library/PostgreSQL/9.2/data set to use port 5433.
I loaded an .sql file that I wanted to test (I saved it on my desktop and loaded it into the database from there).

I’m not sure whether this is related to the problem or not, but I also have virtual environments in a folder ~/Sites/django_test (i.e. when I tell the bash Terminal to “activate” this folder, it puts me in a an (env)).

I read in a forum that I need to do the Django tutorials by running “python manage.py runserver” at the bash Terminal command line. When I do this, I get an error message saying “can’t open file ‘manage.py’: [Errno 2] No such file or directory”.
Even when I run the command in the (env), I get the error message: /Library/Frameworks/Python.framework/Versions/3.2/Resources/Python.app/Contents/MacOS/Python: can’t open file ‘manage.py’: [Errno 2] No such file or directory (Which I presume is telling me that the path is still set on an incorrect version of Python (3.2), even though I want to use version 2.7 and trashed the 3.2 version from my system. )

I think that there are a few gaps in my understanding here:

  • I don’t understand the difference between typing in commands into my bash Terminal versus my SQL shell
  • Is running “python manage.py runserver” the same as running Python
    programs with an IDE like IDLE?
  • How and where do I adjust your $PATH environment variable so that the
    correct python occurs first on the path?
  • I think that I installed the correct Python version into the virtual
    environment using pip install. Why am I still receiving a “No such
    file or directory” error?
  • Why does Python version 3.2 still appear in the path indicated by my
    error message is I trashed it?

If you could help me with these questions, or simply list links with any tutorials that explain this, that would be much appreciated. And again, sorry for not being more specific. But I thought that it would be more helpful to list the problems that I have with these different pieces rather than just one, since its their interrelatedness that seems to be causing the error messages. Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T16:41:42+00:00Added an answer on June 14, 2026 at 4:41 pm
    1. Er, not sure how we can help you with that. One is for bash, one is for SQL.

    2. No, that’s for running the development webserver, as the tutorial explains.

    3. There’s no need to do that, that’s what the virtualenv is for.

    4. This has nothing to do with Python versions, you simply don’t seem to be in the right directory. Note that, again as the tutorial explains, manage.py isn’t created until you’ve run django-admin.py startproject myprojectname. Have you done that?

    5. You presumably created the virtualenv using 3.2. Delete it and recreate it with 2.7.

    You shouldn’t be “reading in a forum” about how to do the Django tutorial. You should just be following the tutorial.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to convert HTML to plain text. I get many &\#8217; &\#8220; etc.
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
For some reason, after submitting a string like this Jack’s Spindle from a text
I want use html5's new tag to play a wav file (currently only supported
I am doing a simple coin flipping experiment for class that involves flipping a
I am trying to render a haml file in a javascript response like so:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.