Comments (6)
Im Using python 2.7
from ptcaccount.
I'm not sure what you are clicking on so I'm not exactly sure where to start.
Open your terminal (Linux or Mac) or cmd (Windows) and navigate to where you want to install the program. (If you wish to use a virtualenv so as to globally install the dependencies, do that now, but its not required to install.) Follow the installation instructions in the README, specifically run:
pip install git+https://github.com/jepayne1138/[email protected]
This installation will create the "ptc" command. Run the program by just typing:
ptc
I didn't create any entry point by running a specific file, so there currently isn't a way of just running it by double clicking on any file.
After running ptc, if you still have errors (not unlikely, as this isn't tested as thoroughly as it should be), could you please copy the Traceback message from the terminal and paste it here, and include what version of Python you're using (2.7 in this case) and what operating system you're using? This will help me figure out any issues.
from ptcaccount.
⋊> ptc 18:04:00 Traceback (most recent call last): File "/usr/local/bin/ptc", line 9, in <module> load_entry_point('PTCAccount==1.2.0', 'console_scripts', 'ptc')() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 542, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2575, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2235, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2241, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/usr/local/lib/python2.7/site-packages/ptcaccount/__init__.py", line 1, in <module> from ptcaccount.accountcreator import * File "/usr/local/lib/python2.7/site-packages/ptcaccount/accountcreator.py", line 14, in <module> from ptcaccount.exceptions import * ImportError: No module named exceptions
from ptcaccount.
@jepayne1138
code in accountcreator.py imports ptcaccount.exceptions, while the file is named ptcexceptions.py
I changed the import in accountcreator.py to reflect the different name. This should be a 30sec fix :)
from ptcaccount.
Hmm, that's my bad screwing up the version control. It looks like it's actually correct in an old version. I'm not the most experienced and have been working on like four branches on two machines. I'll take a look and see if I can't straighten it out.
from ptcaccount.
Alright, I think I sorted it out and fixed the import with release v1.2.1. Hopefully I didn't break anything else this time.
from ptcaccount.
Related Issues (14)
- ImportError: No module named ptcaccount.exceptions HOT 2
- Random unveryfied accounts don't work HOT 9
- verrified HOT 3
- [Request] random_account return dictionary HOT 1
- [SUGGESTION] Retry account creation after receiving wrong status code
- ValueError: too many values to unpack (expected 3) HOT 1
- CodeException:500 HOT 2
- error HOT 2
- requests.exceptions.ChunkedEncodingError: ('Connection broken: IncompleteRead(54 bytes read)', IncompleteRead HOT 4
- the --email-tag HOT 1
- There is no "PTC" command available HOT 1
- Username already exists/Does nothing HOT 7
- PTC no longer working ? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ptcaccount.