English 中文(简体)
一切容易的错误——install python [duplicate]
原标题:Install error easy_install python [duplicate]

我使用Windows 7和Sharma IDLE。

我不想轻松地使用这一错误:

Traceback (most recent call last): File "", line 1, in easy_install NameError: name easy_install is not defined

In included in my Path the directory where it has been installed (C:Python27Scripts). Any thoughts on what could be wrong?

Maybe... In Python IDLE > File > Path browser, I cannot see C:Python27Scripts. How to add it ?

问题回答

确保你这样做。

  • Adding Python to Windows Path.
  • Downloading and installing setuptools for appropriate python version.
  • Adding Scripts directory (for instance C:Python27Scripts) to Windows Path. You can check installing by opening a command prompt and typing "easy_install"

easy_install is an executable program, not a pillscript. 从Windows的指挥线而不是从Adre开车。

在我试图轻易使用时,我曾经遇到过同样的问题。 最后,尽管我确实只需要其中一人去做工作,但我还是能够安装方便的_子和ip子。

如果你仍在奋力解决这一问题,我建议你遵循我最近为要求我的人发出的这些指示。 为了在你的机器上重新注入一切容易。 我也解释了如何补充你的道路的目录——你已经这样做了,但仍然看到了上述问题。 这里可以帮助你解决这一问题。

简单易用的窗户安装指南

I hope this helps you get back up and running again! Good luck!





相关问题
Can Django models use MySQL functions?

Is there a way to force Django models to pass a field to a MySQL function every time the model data is read or loaded? To clarify what I mean in SQL, I want the Django model to produce something like ...

An enterprise scheduler for python (like quartz)

I am looking for an enterprise tasks scheduler for python, like quartz is for Java. Requirements: Persistent: if the process restarts or the machine restarts, then all the jobs must stay there and ...

How to remove unique, then duplicate dictionaries in a list?

Given the following list that contains some duplicate and some unique dictionaries, what is the best method to remove unique dictionaries first, then reduce the duplicate dictionaries to single ...

What is suggested seed value to use with random.seed()?

Simple enough question: I m using python random module to generate random integers. I want to know what is the suggested value to use with the random.seed() function? Currently I am letting this ...

How can I make the PyDev editor selectively ignore errors?

I m using PyDev under Eclipse to write some Jython code. I ve got numerous instances where I need to do something like this: import com.work.project.component.client.Interface.ISubInterface as ...

How do I profile `paster serve` s startup time?

Python s paster serve app.ini is taking longer than I would like to be ready for the first request. I know how to profile requests with middleware, but how do I profile the initialization time? I ...

Pragmatically adding give-aways/freebies to an online store

Our business currently has an online store and recently we ve been offering free specials to our customers. Right now, we simply display the special and give the buyer a notice stating we will add the ...

Converting Dictionary to List? [duplicate]

I m trying to convert a Python dictionary into a Python list, in order to perform some calculations. #My dictionary dict = {} dict[ Capital ]="London" dict[ Food ]="Fish&Chips" dict[ 2012 ]="...

热门标签